feat: enhance relation permissions and accessibility checks #1560
playwright.yml
on: pull_request
Matrix: playwright
playwright-summary
7s
Annotations
7 errors and 3 notices
|
[chromium] › playwright/e2e/rows-counter.spec.ts:11:2 › Row counter freshness › Navigation counters update for table and sibling view after adding a row:
playwright/support/commands.ts#L467
1) [chromium] › playwright/e2e/rows-counter.spec.ts:11:2 › Row counter freshness › Navigation counters update for table and sibling view after adding a row
Error: expect(locator).toBeVisible() failed
Locator: locator('h1').filter({ hasText: 'Counter sync table' }).first()
Expected: visible
Timeout: 45000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 45000ms
- waiting for locator('h1').filter({ hasText: 'Counter sync table' }).first()
at support/commands.ts:467
465 | await navigateViaNavLink(page, tableLink)
466 | await waitForAppToFinishLoading(page)
> 467 | await expect(page.locator('h1').filter({ hasText: name }).first()).toBeVisible({
| ^
468 | timeout: APP_LOAD_TIMEOUT,
469 | })
470 | }
at loadTable (/home/runner/actions-runner/_work/tables/tables/playwright/support/commands.ts:467:69)
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/rows-counter.spec.ts:18:3
|
|
[chromium] › playwright/e2e/tables-share.spec.ts:14:2 › Share a table › Share table:
playwright/e2e/tables-share.spec.ts#L30
2) [chromium] › playwright/e2e/tables-share.spec.ts:14:2 › Share a table › Share table ───────────
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-cy="customTableAction"] button')
28 | await loadTable(page, tableTitle)
29 |
> 30 | await page.locator('[data-cy="customTableAction"] button').click()
| ^
31 | await page.locator('[data-cy="dataTableShareBtn"]').click()
32 |
33 | const userSearchReqPromise = page.waitForResponse(r => r.url().includes(`/autocomplete/get?search=${localUser2.userId}`) && r.request().method() === 'GET')
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/tables-share.spec.ts:30:62
|
|
[chromium] › playwright/e2e/tables-share.spec.ts:14:2 › Share a table › Share table:
playwright/e2e/tables-share.spec.ts#L0
2) [chromium] › playwright/e2e/tables-share.spec.ts:14:2 › Share a table › Share table ───────────
Test timeout of 120000ms exceeded.
|
|
[chromium] › playwright/e2e/tables-export-csv.spec.ts:78:2 › CSV export › Export selected rows appears in selection bar when rows are checked:
playwright/e2e/tables-export-csv.spec.ts#L33
1) [chromium] › playwright/e2e/tables-export-csv.spec.ts:78:2 › CSV export › Export selected rows appears in selection bar when rows are checked
Error: expect(locator).toBeChecked() failed
Locator: locator('[data-cy="customTableRow"]:first-of-type input[type="checkbox"]').first()
Expected: checked
Received: unchecked
Timeout: 30000ms
Call log:
- Expect "toBeChecked" with timeout 30000ms
- waiting for locator('[data-cy="customTableRow"]:first-of-type input[type="checkbox"]').first()
62 × locator resolved to <input type="checkbox" data-v-c34c63a4="" aria-labelledby="nc-vue-25" id="checkbox-radio-switch-nc-vue-24" class="checkbox-radio-switch__input"/>
- unexpected value "unchecked"
31 | await expect(checkbox).toBeVisible({ timeout: 10000 })
32 | await checkbox.click({ force: true })
> 33 | await expect(checkbox).toBeChecked()
| ^
34 | }
35 |
36 | test.describe('CSV export', () => {
at selectFirstRow (/home/runner/actions-runner/_work/tables/tables/playwright/e2e/tables-export-csv.spec.ts:33:25)
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/tables-export-csv.spec.ts:82:3
|
|
[chromium] › playwright/e2e/view.spec.ts:175:2 › Interact with views › Create view and delete rows in the view:
playwright/e2e/view.spec.ts#L203
2) [chromium] › playwright/e2e/view.spec.ts:175:2 › Interact with views › Create view and delete rows in the view
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('[data-cy="customTableRow"]')
Expected: -1
Received: 3
Timeout: 10000ms
Call log:
- Expect "toHaveCount" with timeout 10000ms
- waiting for locator('[data-cy="customTableRow"]')
- locator resolved to 4 elements
- unexpected value "4"
23 × locator resolved to 3 elements
- unexpected value "3"
201 |
202 | // Verify one row was deleted — toHaveCount retries until the DOM settles
> 203 | await expect(page.locator('[data-cy="customTableRow"]')).toHaveCount(rowCountBefore - 1, { timeout: 10000 })
| ^
204 | })
205 | })
206 |
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/view.spec.ts:203:60
|
|
[chromium] › playwright/e2e/tables-sharing-link.spec.ts:243:2 › Public link sharing › Create only public share shows form mode and allows submitting:
playwright/e2e/tables-sharing-link.spec.ts#L28
1) [chromium] › playwright/e2e/tables-sharing-link.spec.ts:243:2 › Public link sharing › Create only public share shows form mode and allows submitting
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-cy="customTableAction"] button').first() to be visible
26 | async function createPublicLinkShare(page: Page, options: { password?: string, permissions?: { read?: boolean, create?: boolean, update?: boolean, delete?: boolean } } = {}) {
27 | const menuButton = page.locator('[data-cy="customTableAction"] button').first()
> 28 | await menuButton.waitFor({ state: 'visible' })
| ^
29 | await menuButton.hover()
30 | await menuButton.click({ force: true })
31 | await page.locator('[data-cy="dataTableShareBtn"]').click()
at createPublicLinkShare (/home/runner/actions-runner/_work/tables/tables/playwright/e2e/tables-sharing-link.spec.ts:28:19)
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/tables-sharing-link.spec.ts:247:28
|
|
[chromium] › playwright/e2e/tables-sharing-link.spec.ts:243:2 › Public link sharing › Create only public share shows form mode and allows submitting:
playwright/e2e/tables-sharing-link.spec.ts#L0
1) [chromium] › playwright/e2e/tables-sharing-link.spec.ts:243:2 › Public link sharing › Create only public share shows form mode and allows submitting
Test timeout of 120000ms exceeded.
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › playwright/e2e/rows-counter.spec.ts:11:2 › Row counter freshness › Navigation counters update for table and sibling view after adding a row
85 passed (14.4m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/e2e/tables-export-csv.spec.ts:78:2 › CSV export › Export selected rows appears in selection bar when rows are checked
[chromium] › playwright/e2e/tables-share.spec.ts:14:2 › Share a table › Share table ────────────
84 passed (15.4m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/e2e/tables-sharing-link.spec.ts:243:2 › Public link sharing › Create only public share shows form mode and allows submitting
[chromium] › playwright/e2e/view.spec.ts:175:2 › Interact with views › Create view and delete rows in the view
84 passed (17.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results-master
|
5.16 MB |
sha256:dab2be14a7b4419da8f76ee3f1296bd131c8f48a768859217e7544995678f604
|
|
|
playwright-results-stable33
|
29 MB |
sha256:73afd93d5a656978dd6a01d9fed00dfef6008d28af19942a3c33113aedeb5076
|
|
|
playwright-results-stable34
|
10.4 MB |
sha256:272ed57b84191d28ea5baccb95f51ee393961e2e8b5772e989fee5434c44c1e4
|
|