$ cd apps/admin && pnpm build >/dev/null 2>&1 && ZOEN_EVIDENCE_TASK=WEB-210 pnpm exec playwright test tests/e2e/production.spec.ts --workers=1 --reporter=line
# cwd /Users/king/Desktop/Workspace/SRO/zoen
# exit 1
Running 18 tests using 1 worker
[1/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as owner
[2/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as developer
[3/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as qa
[4/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as gm
[5/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as moderator
[6/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as support
[7/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as marketing
[8/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as analyst
[9/18] [setup] › tests/e2e/auth.setup.ts:14:3 › sign in as read_only
[10/18] [desktop] › tests/e2e/production.spec.ts:8:3 › production › @production overview, tabs and wiki links read the repository
1) [desktop] › tests/e2e/production.spec.ts:8:3 › production › @production overview, tabs and wiki links read the repository
Error: expect(locator).toBeVisible() failed
Locator: getByRole('cell', { name: 'WEB-209', exact: true })
Expected: visible
Error: strict mode violation: getByRole('cell', { name: 'WEB-209', exact: true }) resolved to 7 elements:
1)
… | aka getByRole('region', { name: 'Search tasks' }).getByRole('cell', { name: 'WEB-209' })
2) WEB-209 | aka getByRole('cell', { name: 'WEB-' }).nth(2)
3) WEB-209 | aka getByRole('cell', { name: 'WEB-' }).nth(3)
4) WEB-209 | aka getByRole('cell', { name: 'WEB-' }).nth(4)
5) WEB-209 | aka getByRole('cell', { name: 'WEB-' }).nth(5)
6) WEB-209 | aka getByRole('cell', { name: 'WEB-209' }).nth(5)
7) WEB-209 | aka locator('tr:nth-child(6) > .whitespace-nowrap.px-3.font-mono')
Call log:
- Expect "toBeVisible" getByRole('cell', { name: 'WEB-209', exact: true }) with timeout 10000ms
- waiting for getByRole('cell', { name: 'WEB-209', exact: true })
27 | await page.getByRole('link', { name: 'Tasks & tests' }).click();
28 | await page.getByRole('textbox', { name: 'Search tasks' }).fill('WEB-209');
> 29 | await expect(page.getByRole('cell', { name: 'WEB-209', exact: true })).toBeVisible();
| ^
30 | await expect(page.getByRole('region', { name: 'Test runs' }).getByRole('row').nth(1)).toBeVisible();
31 |
32 | await page.getByRole('link', { name: 'Tokens' }).click();
at /Users/king/Desktop/Workspace/SRO/zoen/apps/admin/tests/e2e/production.spec.ts:29:76
Error Context: ../../logs/evidence/pw-artifacts/admin/production-production-prod-d7f0c-i-links-read-the-repository-desktop/error-context.md
attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
../../logs/evidence/pw-artifacts/admin/production-production-prod-d7f0c-i-links-read-the-repository-desktop/trace.zip
Usage:
pnpm exec playwright show-trace ../../logs/evidence/pw-artifacts/admin/production-production-prod-d7f0c-i-links-read-the-repository-desktop/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
[11/18] [desktop] › tests/e2e/production.spec.ts:42:3 › production › @production roles without production.read cannot open it
[12/18] [desktop] › tests/e2e/production.spec.ts:51:3 › production › @production every tab is clean on every screen size
[13/18] [tablet] › tests/e2e/production.spec.ts:8:3 › production › @production overview, tabs and wiki links read the repository
[14/18] [tablet] › tests/e2e/production.spec.ts:42:3 › production › @production roles without production.read cannot open it
[15/18] [tablet] › tests/e2e/production.spec.ts:51:3 › production › @production every tab is clean on every screen size
[16/18] [mobile] › tests/e2e/production.spec.ts:8:3 › production › @production overview, tabs and wiki links read the repository
[17/18] [mobile] › tests/e2e/production.spec.ts:42:3 › production › @production roles without production.read cannot open it
[18/18] [mobile] › tests/e2e/production.spec.ts:51:3 › production › @production every tab is clean on every screen size
1 failed
[desktop] › tests/e2e/production.spec.ts:8:3 › production › @production overview, tabs and wiki links read the repository
4 skipped
13 passed (22.5s)