Contribution Date
Contribution Project
Contribution Details
test: Add global setup for cookie consent
Introduces a `global-setup.ts` file that launches a browser, navigates to the site, accepts the cookie banner, and saves the storage state. This ensures that cookie consent is persisted across all Playwright tests, preventing repeated prompts and flakiness.
The `playwright.config.ts` is updated to use this global setup and load the saved storage state.
Additionally, type hints for `Page` have been corrected in `pagination-filter-check.spec.ts` for better clarity.
Contribution Issue Link
Files count
0
Patches count
1