fix: improve number input validation and update handling #1543
playwright.yml
on: pull_request
Matrix: playwright
playwright-summary
6s
Annotations
18 errors and 3 notices
|
Playwright (stable33)
Process completed with exit code 1.
|
|
Playwright (stable33)
Process completed with exit code 1.
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
Playwright (stable34)
Process completed with exit code 1.
|
|
Playwright (stable34)
Process completed with exit code 1.
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
Playwright (master)
Process completed with exit code 1.
|
|
Playwright (master)
Process completed with exit code 1.
|
|
[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
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
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"]')
24 Γ 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/work/tables/tables/playwright/e2e/view.spec.ts:203:60
|
|
[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/work/tables/tables/playwright/e2e/view.spec.ts:203:60
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings:
playwright/e2e/column-number.spec.ts#L67
1) [chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
Error: expect(locator).toBeVisible() failed
Locator: locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()
65 | await page.locator('.modal__content input').first().fill('100')
66 | await page.locator('button').filter({ hasText: 'Save' }).click()
> 67 | await expect(page.locator('.custom-table table tr td div').filter({ hasText: 'PRE20.0SUF' }).first()).toBeVisible()
| ^
68 |
69 | // insert row with too low number
70 | await page.locator('button').filter({ hasText: 'Create row' }).click()
at /home/runner/work/tables/tables/playwright/e2e/column-number.spec.ts:67:105
|
|
playwright-summary
Process completed with exit code 1.
|
|
π Playwright Run Summary
1 failed
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
84 passed (8.7m)
|
|
π Playwright Run Summary
1 failed
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
84 passed (8.8m)
|
|
π Playwright Run Summary
1 failed
[chromium] βΊ playwright/e2e/column-number.spec.ts:50:2 βΊ Test column number βΊ Insert and test rows - individual column settings
1 flaky
[chromium] βΊ playwright/e2e/view.spec.ts:175:2 βΊ Interact with views βΊ Create view and delete rows in the view
83 passed (10.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-results-master
Expired
|
28.5 MB |
sha256:9717ed1e56cdca4be0ce744d3de51f16df8edd3097115bbfab51c1e54ab31ea0
|
|
|
playwright-results-stable33
Expired
|
6.42 MB |
sha256:962acb9b2839c9f5a60830885256b8f92311ea46278a29e6d03c8c8290602c17
|
|
|
playwright-results-stable34
Expired
|
6.04 MB |
sha256:eb1b3a3e80e0946c848ae3ac86c320f25e4e13b79da6480894c02380c4c20f80
|
|