feat(Api): add v2 OCS Api to get table/view rows #1570
playwright.yml
on: pull_request
Matrix: playwright
playwright-summary
5s
Annotations
2 errors, 2 warnings, and 3 notices
|
[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/view-mandatory-state.spec.ts:113:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation:
playwright/e2e/view-mandatory-state.spec.ts#L126
1) [chromium] › playwright/e2e/view-mandatory-state.spec.ts:113:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation
Error: locator.click: Element is not visible
Call log:
- waiting for locator('.column-entry').filter({ hasText: 'title' }).locator('[data-cy="customColumnAction"] button')
- locator resolved to <button type="button" data-v-00a99684="" data-v-23e5cae7="" aria-label="Actions" aria-haspopup="menu" aria-expanded="false" id="nc-vue-32-trigger" class="button-vue button-vue--size-normal button-vue--tertiary button-vue--legacy34 action-item__menutoggle">…</button>
- attempting click action
- scrolling into view if needed
124 | // Set title column as mandatory in the view
125 | await page.locator('.column-entry', { hasText: 'title' }).hover()
> 126 | await page.locator('.column-entry', { hasText: 'title' }).locator('[data-cy="customColumnAction"] button').click({ force: true })
| ^
127 | await page.getByRole('menuitemcheckbox', { name: 'Mandatory' }).click()
128 |
129 | // Save the view
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/view-mandatory-state.spec.ts:126:110
|
|
Playwright (master)
No files were found with the provided path: playwright/test-results/
test-results/. No artifacts will be uploaded.
|
|
Playwright (stable34)
No files were found with the provided path: playwright/test-results/
test-results/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
86 passed (7.4m)
|
|
🎭 Playwright Run Summary
86 passed (8.0m)
|
|
🎭 Playwright Run Summary
2 flaky
[chromium] › playwright/e2e/view-mandatory-state.spec.ts:113:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation
[chromium] › playwright/e2e/view.spec.ts:175:2 › Interact with views › Create view and delete rows in the view
84 passed (9.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results-stable33
|
35.8 MB |
sha256:b726ada57bd383c0e53dfcf6f59163a72b106aaf4ccb32a08b16967aaa08734f
|
|