Feature: TestIng Home Page conent
As an user, I want to be able to test
the home page text
Scenario: Home Page Title # features\home.feature:5
Given I am on "/" # Drupal\DrupalExtension\Context\MinkContext::visit()
Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
Scenario: Footer Validation # features\home.feature:10
Given I am on "/" # Drupal\DrupalExtension\Context\MinkContext::visit()
Then I should see "Copyright" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
And I should see "2018" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
Feature: Testing Home Page Search
As an user, I want to be able to perform
search on the home page
Scenario: Search fill # features\search.feature:5
Given I am on "/" # Drupal\DrupalExtension\Context\MinkContext::visit()
Then I fill in "edit-keys" with "UnityConstruct" # Drupal\DrupalExtension\Context\MinkContext::fillField()
Then I press "edit-submit" # Drupal\DrupalExtension\Context\MinkContext::pressButton()
Then I should see "UnityConstruct" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
6 scenarios (6 passed)
23 steps (23 passed)
0m2.78s (11.32Mb)
home.feature
Feature: TestIng Home Page conent
As an user, I want to be able to test
the home page text
Scenario: Home Page Title
Given I am on "/"
Then I should see "Drupal Testing"
Scenario: Footer Validation
Given I am on "/"
Then I should see "Copyright"
And I should see "2018"
search.feature
Feature: Testing Home Page Search
As an user, I want to be able to perform
search on the home page
Scenario: Search fill
Given I am on "/"
Then I fill in "edit-keys" with "UnityConstruct"
Then I press "edit-submit"
Then I should see "UnityConstruct"