| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
playwright-e2e ├── common │ ├── base.ts │ ├── basePage.ts │ ├── selectors.ts │ └── testFixtures.ts ├── fixtures │ ├── constants.ts │ ├── commonTestData.ts │ └── nextjsSsr.json ├── helpers │ ├── base-helper.ts │ └── file-actions-helper.ts ├── types │ ├── cssAttr.ts │ ├── dates.ts │ ├── requestsTypes.ts │ └── stubTypes.ts └── results (optional)
All commands should be executed from the repo root.
pnpm exec playwright test --uipnpm exec playwright test --reporter=listMost samples include a Playwright config in the sample directory:
pnpm exec playwright test --config <sample>/playwright.config.tsOr via the sample script:
pnpm --filter <sample-name> e2e:ciUse Playwright's test runner and shared helpers from playwright-e2e.
import { test } from '@playwright/test';
import { BaseMethods } from '../../playwright-e2e/common/base';
// Example
// test('does something', async ({ page }) => {
// const base = new BaseMethods(page);
// await base.openLocalhost({ number: 3000 });
// });When adding reusable helpers, place them in playwright-e2e/common/base.ts.
| Back | FazBrowse Home | New Git URL |