feat(tests): Migrate some tests from Cypress to Playwright #21
playwright.yml
on: pull_request
Matrix: playwright
playwright-summary
5s
Annotations
1 error, 1 warning, and 2 notices
|
[chromium] › playwright/e2e/view-mandatory-state.spec.ts:84:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation:
playwright/e2e/view-mandatory-state.spec.ts#L115
1) [chromium] › playwright/e2e/view-mandatory-state.spec.ts:84:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-cy="editRowModal"]').locator('.notecard--error, .note-card--error, [type="error"], .notecard[type="error"], .error').first()
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 5000ms
- waiting for locator('[data-cy="editRowModal"]').locator('.notecard--error, .note-card--error, [type="error"], .notecard[type="error"], .error').first()
113 | await input.blur()
114 |
> 115 | await expect(page.locator('[data-cy="editRowModal"]').locator('.notecard--error, .note-card--error, [type="error"], .notecard[type="error"], .error').first()).toBeVisible({ timeout: 5000 })
| ^
116 |
117 | // Check that save button is disabled
118 | const saveBtn = page.locator('[data-cy="editRowSaveButton"]')
at /home/runner/actions-runner/_work/tables/tables/playwright/e2e/view-mandatory-state.spec.ts:115:162
|
|
Playwright (master)
No files were found with the provided path: playwright/test-results/
test-results/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
73 passed (16.3m)
|
|
🎭 Playwright Run Summary
1 flaky
[chromium] › playwright/e2e/view-mandatory-state.spec.ts:84:2 › Mandatory Column Functionality › EditRow - Mandatory Field Validation
72 passed (16.7m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results-stable33
Expired
|
7.8 MB |
sha256:aa6ff56e47f258e3a088704fb4b53814dd4f4f8c4b21c1be9db8fdb476aca815
|
|