Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daviteixeira-dev/saucedemo-automation-with-puppeteer
Using the Puppeteer library to perform automated testing on Swag Labs' soucedemo.com website.
https://github.com/daviteixeira-dev/saucedemo-automation-with-puppeteer
jest jest-puppeteer nodejs puppeteer
Last synced: 29 days ago
JSON representation
Using the Puppeteer library to perform automated testing on Swag Labs' soucedemo.com website.
- Host: GitHub
- URL: https://github.com/daviteixeira-dev/saucedemo-automation-with-puppeteer
- Owner: daviteixeira-dev
- Created: 2024-07-18T01:17:26.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T02:40:00.000Z (3 months ago)
- Last Synced: 2024-09-30T15:15:20.269Z (about 1 month ago)
- Topics: jest, jest-puppeteer, nodejs, puppeteer
- Language: JavaScript
- Homepage:
- Size: 333 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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]