Skip to content

Using the Puppeteer library to perform automated testing on Swag Labs' soucedemo.com website.

Notifications You must be signed in to change notification settings

daviteixeira-dev/saucedemo-automation-with-puppeteer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saucedemo-automation-with-puppeteer

Puppeteer is a Node library which provides a high-level API to control headless Chrome or Chromium over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome or Chromium.

Using the Puppeteer library to perform automated testing on Swag Labs' soucedemo.com website. Puppeteer is a Node library that provides a high-level API for controlling Chrome or Chromium via the DevTools protocol. Puppeteer runs headless by default, but can be configured to run full (headless) Chrome or Chromium.

Links

https://github.com/puppeteer/puppeteer/tree/main/examples

https://github.com/argos-ci/jest-puppeteer

https://pptr.dev/guides/getting-started

https://pptr.dev/api/puppeteer.filechooser

https://www.saucedemo.com/

https://developer.chrome.com/docs/puppeteer?hl=pt-br

Comandos

Rodar um teste

jest --detectOpenHandles tests/[nome-da-pasta]/[nome-do-teste].test.js

Criar um teste

npm run generate-test

Rodar um teste com interface

npm run test-seq [caminho-do-teste]

Rodar um teste sem interface

npm run test [caminho-do-teste]

About

Using the Puppeteer library to perform automated testing on Swag Labs' soucedemo.com website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published