Skip to content

A test automation challenge for aspiring IE candidates

Notifications You must be signed in to change notification settings

ie/Test-Automation-Challenge-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Test-Automation-Challenge-1

Code problem details:


Description:

  • This practical challenge is to build browser based tests
  • The production version of the website we are trying to test is https://start.duckduckgo.com/
  • The traffic page url is https://start.duckduckgo.com/traffic
  • In this fictitious example you are the automation tester in the team
  • The business analyst has written the below acceptance criteria to be implemented
  • The developers have completed their work, you need to write automated tests to validate the application is working as intended

AC1

Given I am on the homepage When I look at the page Then I expect to see the duckduckgo logo on the page

AC2

Given I am on the homepage When I type "super" into the search box Then I expect to see exactly 10 suggestions in the typeahead dropdown

AC3

Given I am on the homepage When I type "supercalafragalistic" into the search box Then I expect the first result to be "supercalafragalisticexpialadoshus"

AC4

Given I am on the homepage When I click on the hamburger menu in the top right Then I expect to see a themes link

AC5

Given I am on the homepage When When I click on the themes link then click on the dark mode theme button Then My page background should change colour

AC6

Given I am on the homepage When I go to the homepage and type <see-below-test-data-table> then click the maginifying glass Then I should get 10 results on the results page

Data:
Back to the future
BMX Bandits
Rocky IV
Short Circuit
The Terminator
Ferris Bueller's day off

AC7

Given I am on the traffic page When I click on the 2018 Traffic section Then I should see all the months listed in the order from Dec to Jan And The Total Direct Queries should be equal to the sum of all the total directs from each month

Deliverables:

  • Spend as little or as much time as you like on the challenge.
  • Use whatever language and framework you want
  • Include this readme in your solution and document setup instructions and pre-requisites to run your solution
  • The output of the efforts must be committed back into a Public Repo in Github and the URL shared back for review.
  • Using a BDD natural language solution implementation would be preferred

About

A test automation challenge for aspiring IE candidates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published