- Clone this project
- Open the project in IntelliJ.
- Follow the task instructions below.
- Allow up to 90 minutes for all three tasks.
- Zip up your project and attach it to this page.
- The test with the tag
@FixMeused to work but has broken. Fix this test so it runs. - Remove the
@FixMetag once the test is fixed. - Change the test so the search term is a parameter in the Gherkin scenario.
Create a new test that takes the following steps:
- Go to Google UK.
- Type in the search term "BBC".
- Click on "I’m Feeling Lucky".
- Verify that the browser has been redirected to a URL containing the search term.
Ensure this is written with behavioral steps, rather than procedural steps as listed above.
- Improve both tests by creating a Page Object for the Google Homepage.
- Wrap up the wait and Selenium logic into reusable methods.
- Tag both tests to assign the test a “Smoke” test.