Skip to content

feat: add remove button to pub page #2184

feat: add remove button to pub page

feat: add remove button to pub page #2184

Triggered via pull request February 25, 2025 09:38
Status Failure
Total duration 14m 6s
Artifacts 1

on_pr.yml

on: pull_request
ci  /  ci
2m 48s
ci / ci
build-all  /  Emit container tag sha
2s
build-all / Emit container tag sha
build-all  /  ...  /  Build
2m 50s
build-all / build-base / Build
build-all  /  ...  /  Build
5m 55s
build-all / build-core / Build
build-all  /  ...  /  Build
1m 36s
build-all / build-jobs / Build
e2e  /  Integration tests
7m 50s
e2e / Integration tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 3 warnings, and 1 notice
[chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages: core/playwright/pub.spec.ts#L65
1) [chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages ──────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Move' }) resolved to 2 elements: 1) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hfnnannbb:" class="justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hover:text-gray-900 dark:bord…>…</button> aka getByRole('button', { name: 'Remove' }) 2) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hifnnannbb:" class="inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hov…>Move</button> aka getByRole('button', { name: 'Move', exact: true }) Call log: - waiting for getByRole('button', { name: 'Move' }) 63 | await expect(page.getByTestId("current-stage")).toHaveText("Submitted"); 64 | // For this initial stage, there are only destinations ,no sources > 65 | await page.getByRole("button", { name: "Move" }).click(); | ^ 66 | const sources = page.getByTestId("sources"); 67 | const destinations = page.getByTestId("destinations"); 68 | await expect(sources).toHaveCount(0); at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:65:52
[chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages: core/playwright/pub.spec.ts#L65
1) [chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Move' }) resolved to 2 elements: 1) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hfnnannbb:" class="justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hover:text-gray-900 dark:bord…>…</button> aka getByRole('button', { name: 'Remove' }) 2) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hifnnannbb:" class="inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hov…>Move</button> aka getByRole('button', { name: 'Move', exact: true }) Call log: - waiting for getByRole('button', { name: 'Move' }) 63 | await expect(page.getByTestId("current-stage")).toHaveText("Submitted"); 64 | // For this initial stage, there are only destinations ,no sources > 65 | await page.getByRole("button", { name: "Move" }).click(); | ^ 66 | const sources = page.getByTestId("sources"); 67 | const destinations = page.getByTestId("destinations"); 68 | await expect(sources).toHaveCount(0); at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:65:52
[chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages: core/playwright/pub.spec.ts#L65
1) [chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Move' }) resolved to 2 elements: 1) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hfnnannbb:" class="justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hover:text-gray-900 dark:bord…>…</button> aka getByRole('button', { name: 'Remove' }) 2) <button type="button" data-state="closed" aria-expanded="false" aria-haspopup="dialog" aria-controls="radix-:R2hifnnannbb:" class="inline-flex items-center justify-center gap-2 whitespace-nowrap font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:focus-visible:ring-gray-300 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 border border-gray-200 bg-white shadow-sm hover:bg-gray-100 hov…>Move</button> aka getByRole('button', { name: 'Move', exact: true }) Call log: - waiting for getByRole('button', { name: 'Move' }) 63 | await expect(page.getByTestId("current-stage")).toHaveText("Submitted"); 64 | // For this initial stage, there are only destinations ,no sources > 65 | await page.getByRole("button", { name: "Move" }).click(); | ^ 66 | const sources = page.getByTestId("sources"); 67 | const destinations = page.getByTestId("destinations"); 68 | await expect(sources).toHaveCount(0); at /home/runner/work/platform/platform/core/playwright/pub.spec.ts:65:52
e2e / Integration tests
Process completed with exit code 1.
e2e / Integration tests
Process completed with exit code 15.
Slow Test: core/[chromium] › externalFormCreatePub.spec.ts#L1
core/[chromium] › externalFormCreatePub.spec.ts took 30.8s
Slow Test: core/[chromium] › fields.spec.ts#L1
core/[chromium] › fields.spec.ts took 22.0s
Slow Test: core/[chromium] › formBuilder.spec.ts#L1
core/[chromium] › formBuilder.spec.ts took 15.5s
🎭 Playwright Run Summary
1 failed [chromium] › pub.spec.ts:60:2 › Moving a pub › Can move a pub across linked stages ───────────── 3 skipped 9 did not run 42 passed (4.7m)

Artifacts

Produced during runtime
Name Size
playwright-snapshots Expired
5.48 MB