Skip to content

Commit

Permalink
Updates search feature tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentrickard committed Feb 6, 2020
1 parent b72e6b3 commit 68b76e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
9 changes: 5 additions & 4 deletions features/drupal-7-search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Feature: Drupal 7 search
I want to search the Drupal 7 sites
So that I can content from other sites

Scenario: Search for "ex"
Given I visit "/search-app?search=ex"
Scenario: Search for "terrier"
Given I visit "/search-app?search=terrier"
When I wait for "1" second
Then I should see the text "Federated Search Demo (D7, domain one)"
And I should see the text "Federated Search Demo (D7, single)"
Then I should see the text "English Terrier"
And I should see the text "Drupal 7 - Federated Search"
And I should see the text "Federated Search Domain 3"
8 changes: 4 additions & 4 deletions features/drupal-8-search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Feature: Drupal 8 search
I want to search the Drupal 8 sites
So that I can read recipes

Scenario: Search for "pasta"
Given I visit "/search-app?search=pasta"
Scenario: Search for "terrier"
Given I visit "/search-app?search=terrier"
And I wait for "1" second
Then I should see the text "Super easy vegetarian pasta bake"
And I should see the text "Federated Search Demo (D8, single)"
Then I should see the text "Jack Russell Terrier"
And I should see the text "Federated Search Drupal 8"

0 comments on commit 68b76e2

Please sign in to comment.