test: stabilize browser session setup and OpenAPI assertions
This commit is contained in:
1 parent
ca32d3767f
commit
eacfab0dd8
12 files changed
+459
-2
No files matched your search
@@ -0,0 +1,45 @@
|
||||
npm notice run e2e
|
||||
npm notice run playwright test tests/e2e/onboarding.spec.js --grep validation, upstream and compatibility --workers=1 --retries=0
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
(node:247608) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
|
||||
(Use `node --trace-warnings ...` to show where the warning was created)
|
||||
✘ 1 [chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step (13.8s)
|
||||
|
||||
|
||||
1) [chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step
|
||||
|
||||
Error: expect(locator).toContainText(expected) failed
|
||||
|
||||
Locator: getByRole('alert')
|
||||
Expected substring: "onboarding_validation_failed"
|
||||
Timeout: 10000ms
|
||||
Error: element(s) not found
|
||||
|
||||
Call log:
|
||||
- Expect "toContainText" with timeout 10000ms
|
||||
- waiting for getByRole('alert')
|
||||
|
||||
|
||||
207 | await page.getByTestId('onboarding-refresh').click();
|
||||
208 | const alert = page.getByRole('alert');
|
||||
> 209 | await expect(alert).toContainText(failures[index].code);
|
||||
| ^
|
||||
210 | await expect(alert).toContainText(`req_onboarding_${failures[index].status}`);
|
||||
211 | await expect(alert).toContainText('0123456789abcdef0123456789abcdef');
|
||||
212 | await page.getByTestId('onboarding-retry').click();
|
||||
at <checkout>/apps/ui/tests/e2e/onboarding.spec.js:209:25
|
||||
|
||||
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
test-results/onboarding-validation-upst-1c5f1-thoritative-onboarding-step-chromium/test-failed-1.png
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
test-results/onboarding-validation-upst-1c5f1-thoritative-onboarding-step-chromium/video.webm
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Error Context: test-results/onboarding-validation-upst-1c5f1-thoritative-onboarding-step-chromium/error-context.md
|
||||
|
||||
1 failed
|
||||
[chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step
|
||||
Reference in new issue
Block a user