datatracker/playwright
Robert Sparks cb25831a2a
feat: total ids, pre-pubreq counts and pages left to ballot on on the AD dashboard (#7813)
* feat: Total ids on IESG dashboard

* IESG I-D code comments

* Using Robert's query forIESG dashboard total_ids

* Hiding columns in later IESG Dashboard tables

* Changing IESG dashboard var name to match column table

* Updating IESG pre_pubreqquery

* IESG dashboard prepub req safeParser and graphs

* IESG dashboard fixing Playwright API usage

* IESG dashboard fixing Playwright API usage (2)

* Updating .gitignore for /geckodriver.log

* IESG ad test title

* feat: pages left to ballot on [WIP]

* Adding geckodriver.log to gitignore

* [WIP] pages left to ballot on

* integrating pages left to ballot on WIP

* Tests for ad pages remaining

* Setting states to test ballot items

* refactor ad_pages_left_to_ballot_on count logic

* WIP tests for pages left to ballot on

* chore: remove whitespace change

* fix: look into the BallotPositionDocEventObject

* chore: remove prints

* fix: restructure test

* style: fix js code styling

* fix: only show graph for ADs/Secretariat

---------

Co-authored-by: Matthew Holloway <Matthew Holloway>
Co-authored-by: holloway <matthew@holloway.co.nz>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
Co-authored-by: Matthew Holloway <matthew@staff.ietf.org>
2024-09-05 10:43:43 -05:00
..
data test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
helpers fix: Show recordings for interims (#7197) 2024-08-07 11:23:18 -05:00
tests feat: Agenda URL #hash scrolls to 'now' or specific day (#7772) 2024-08-26 08:03:15 -05:00
tests-legacy feat: total ids, pre-pubreq counts and pages left to ballot on on the AD dashboard (#7813) 2024-09-05 10:43:43 -05:00
.editorconfig test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
.eslintrc.js test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
.gitignore test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
.npmrc test: remove cypress + migrate existing tests to playwright (#4781) 2022-11-22 16:26:19 -06:00
package-lock.json chore(deps-dev): bump the npm group in /playwright with 1 update (#7279) 2024-04-02 13:31:51 -04:00
package.json fix: Ballot return to url via url params rather than session (#7788) 2024-08-09 09:24:04 -05:00
playwright-legacy.config.js test: remove cypress + migrate existing tests to playwright (#4781) 2022-11-22 16:26:19 -06:00
playwright.config.js test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00
README.md test: Use Playwright + agenda start/end dates fix (#4471) 2022-09-20 13:33:22 -05:00

Playwright

Frontend testing automation tool

Install

Make sure you run all commands from the /playwright directory, not the project root.

npm install
npx playwright install --with-deps

Usage

Running all tests headless:

npm test

Running all tests serially in visual mode (headed):

npm run test:visual

Running all tests in debug mode:

npm run test:debug

Advanced Usage

Refer to the CLI Reference for all possible options.

Running a single test file:

npx playwright test foo.spec.ts

Running test files that have foo or bar in the filename:

npx playwright test foo bar

Running tests in a specific browser (e.g. chromium):

npx playwright test --project=chromium

Running tests in headed mode:

npx playwright test --headed