Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/egaraujo/sauce-labs-ui-automation
UI Automation with Playwright
https://github.com/egaraujo/sauce-labs-ui-automation
playwright test-automation typescript
Last synced: 3 months ago
JSON representation
UI Automation with Playwright
- Host: GitHub
- URL: https://github.com/egaraujo/sauce-labs-ui-automation
- Owner: egaraujo
- Created: 2024-07-28T20:18:01.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-18T20:24:52.000Z (5 months ago)
- Last Synced: 2024-09-26T19:03:58.725Z (3 months ago)
- Topics: playwright, test-automation, typescript
- Language: TypeScript
- Homepage:
- Size: 205 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UI Automation with Playwright
This is a test suite in Playwright, for Sauce Demo web app
## Run tests
1. Clone the repo
2. Create .env file following "env README.txt" directions
3. Install dependencies: `npm install`
4. Run tests from **sauce-labs** folder:
`npx playwright test --ui` for test runner## Test cases
![screenshot](https://github.com/egaraujo/sauce-labs-ui-automation/blob/main/screenshot.jpg)
• Should not login username with no password
• Should not login no username with password
• Should not login inexistent user
• Should not login locked out user
• Should login standard user
• Should display all available products
• Should link to the about website
• Should log user out
• Should reset the app state
• Should verify footer content
• Should sort products by ascending name
• Should sort products by descending name
• Should sort products by ascending price
• Should sort products by descending price
• Should check out selected products## Links
Sauce Demo web app: https://www.saucedemo.com/
Sauce Demo repo: https://github.com/saucelabs/sample-app-web