Corrected Behat test after a change to Wikipedia's website

This commit is contained in:
Bastien GARCIA
2023-08-18 09:35:12 +02:00
parent 6477bb6a2f
commit b30b2ba332

View File

@@ -6,11 +6,11 @@ Feature: Search
Scenario: Searching for a page that does exist Scenario: Searching for a page that does exist
Given I am on "/wiki/Main_Page" Given I am on "/wiki/Main_Page"
When I fill in "search" with "Behavior Driven Development" When I fill in "search" with "Behavior Driven Development"
And I press "searchButton" And I press "Search"
Then I should see "agile software development" Then I should see "agile software development"
Scenario: Searching for a page that does NOT exist Scenario: Searching for a page that does NOT exist
Given I am on "/wiki/Main_Page" Given I am on "/wiki/Main_Page"
When I fill in "search" with "Glory Driven Development" When I fill in "search" with "Glory Driven Development"
And I press "searchButton" And I press "Search"
Then I should see "Search results" Then I should see "Search results"