Skip to content

Sample project for TAU course Continuous Testing with Azure DevOps. Multi-stage YAML pipeline.

License

Notifications You must be signed in to change notification settings

MaksimZinovev/automation-bookstore-yaml

Repository files navigation

About

This is a repo with a sample project that I used to practice using Azure DevOps and Azure Pipelines for test automation. Repo is forked from bushralam/automation-bookstore at chapter-2

Site is deployed at https://automationbookstore.dev (https://mzinbookstore-linux.azurewebsites.net) or can be downloaded and used locally.

Installation

git clone https://github.com/MaksimZinovev/automation-bookstore-yaml.git

Usage

To run tests locally Install live-server - npm

npm install live-server -g  
  1. Check in your browser http://127.0.0.1:8080/. Website should be accessible
  2. Install Cypress
cd e2e-tests
npm init -y
npm install cypress
npx cypress open

Follow prompts and complete setup for Chrome. Run search.cy.js in Cypress app to check if it is working.

  1. Run the website
cd automation-bookstore-yaml
live-server
  1. Run cypress tests from CLI
npm test
  1. Run cypress specs in UI mode
npx cypress open

Automation Bookstore

Test run results

Test run results

About

Sample project for TAU course Continuous Testing with Azure DevOps. Multi-stage YAML pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published