Code Monkey home page Code Monkey logo

ta-bootcamp-e2e's Introduction

TA-Bootcamp-E2E

Develop E2E automated JS tests for https://www.newegg.com

Create bootcamp.feature file with the following 2 scenarios. Prepare tests only for Desktop run

Feature: Bootcamp E2E

Scenario: Search bar

  1. Open the home page
  2. Close the promo banner if it appears
  3. Entry the word "Windows" in the search bar (top middle)
  4. Click the search
  5. Check that at least one item appears

Scenario: Internet shop logo button

  1. Open the home page
  2. Close the promo banner if it appears
  3. Open "Today's Best Deals" tab
  4. Click on the Internet shop logo (top right corner)
  5. Check that the main page opened

Extra requirements:

  • For task set up WebdriverIO + Cucumber (As it was done in Cucumber lectures)
  • As you may already notice, the 2 first steps are the same for both scenarios. Please use Background: to reduce the number of steps.
  • Before sending me a task prepare README.md so I can run your tests.
  • Good practice, avoid magic numbers (You can google if you don't know what it means)
  • Use consts for variables
  • For assertions use WebdriverIO

Hint

  • For "Close the promo banner if it appears" 2 possible ideas. You can use try-catch. Or the banner disappears if you refresh the page when the banner appears.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.