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,66 @@
|
||||
npm notice run e2e
|
||||
npm notice run playwright test --workers=1 --retries=0
|
||||
|
||||
Running 57 tests using 1 worker
|
||||
|
||||
(node:263735) 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/agents.spec.js:4:1 › agents page shows demo cards and edit drawer opens (3.0s)
|
||||
✓ 2 [chromium] › tests/e2e/agents.spec.js:28:1 › agent drawer configures on-demand tool discovery and catalog sections (3.5s)
|
||||
✓ 3 [chromium] › tests/e2e/agents.spec.js:51:1 › agent lifecycle stale conflict shows localized recovery message (2.2s)
|
||||
✓ 4 [chromium] › tests/e2e/api-keys.spec.js:4:1 › api keys page opens create key flow (3.7s)
|
||||
✓ 5 [chromium] › tests/e2e/api-keys.spec.js:65:1 › failed clipboard write preserves one-time key material (2.6s) # community-scope: allow=one-time-token
|
||||
✓ 6 [chromium] › tests/e2e/api-keys.spec.js:101:1 › ambiguous create failure reconciles metadata before deliberate retry (2.9s)
|
||||
✓ 7 [chromium] › tests/e2e/api-keys.spec.js:136:1 › stale create response reconciles metadata without changing a newer modal generation (2.8s)
|
||||
✓ 8 [chromium] › tests/e2e/api-keys.spec.js:217:1 › duplicate key revoke and delete clicks send one request while the first request is pending (2.8s)
|
||||
✓ 9 [chromium] › tests/e2e/approvals.spec.js:4:1 › logs approval panel renders safe pending approval metadata (2.4s)
|
||||
✓ 10 [chromium] › tests/e2e/login-readiness.spec.js:4:1 › login helper leaves a ready CSRF session under a delayed csrf refresh (2.1s)
|
||||
✓ 11 [chromium] › tests/e2e/login.spec.js:41:1 › login page rejects invalid credentials (912ms)
|
||||
✓ 12 [chromium] › tests/e2e/login.spec.js:49:1 › login page signs in and redirects to operations (1.1s)
|
||||
✓ 13 [chromium] › tests/e2e/login.spec.js:81:1 › login page switches to bootstrap mode and submits one-time token (979ms) # community-scope: allow=one-time-token
|
||||
✓ 14 [chromium] › tests/e2e/login.spec.js:107:1 › CrankApi attaches csrf token to unsafe auth requests (478ms)
|
||||
✓ 15 [chromium] › tests/e2e/logs-usage.spec.js:4:1 › logs and usage pages show seeded data (2.4s)
|
||||
✓ 16 [chromium] › tests/e2e/observability.spec.js:4:1 › shell and wizard expose stable diagnostics hooks (2.5s)
|
||||
✓ 17 [chromium] › tests/e2e/observability.spec.js:19:1 › secrets page exposes stable secret management hooks (2.0s)
|
||||
✓ 18 [chromium] › tests/e2e/observability.spec.js:32:1 › API errors retain only bounded canonical support identities (1.5s)
|
||||
✓ 19 [chromium] › tests/e2e/onboarding.spec.js:70:1 › optional Getting Started checklist is server-derived, resumable, bilingual and accessible (3.8s)
|
||||
✓ 20 [chromium] › tests/e2e/onboarding.spec.js:136:1 › onboarding error exposes safe support correlation and retries without a client completion bypass (2.2s)
|
||||
✓ 21 [chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step (2.5s)
|
||||
✓ 22 [chromium] › tests/e2e/onboarding.spec.js:222:1 › authentication recovery returns to an incomplete authoritative onboarding projection (3.1s)
|
||||
✓ 23 [chromium] › tests/e2e/onboarding.spec.js:250:1 › a BroadcastChannel refresh updates a second open tab from server progress (2.8s)
|
||||
✓ 24 [chromium] › tests/e2e/onboarding.spec.js:276:1 › bursty browser refresh signals coalesce into one request plus one trailing refresh (1.9s)
|
||||
✓ 25 [chromium] › tests/e2e/onboarding.spec.js:336:1 › stale onboarding deep link requires server reset before explicit reselection (2.7s)
|
||||
✓ 26 [chromium] › tests/e2e/onboarding.spec.js:371:1 › one-time key connection config is never recoverable after the reveal is lost (3.0s) # community-scope: allow=one-time-token
|
||||
✓ 27 [chromium] › tests/e2e/onboarding.spec.js:410:1 › first value is proven only by a real tools/call through the public MCP endpoint (11.6s)
|
||||
✓ 28 [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation (2.8s)
|
||||
✓ 29 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in ru (3.6s)
|
||||
✓ 30 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in en (3.3s)
|
||||
✓ 31 [chromium] › tests/e2e/operations.spec.js:14:1 › operations page shows demo catalog and filter works (1.8s)
|
||||
✓ 32 [chromium] › tests/e2e/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts (3.3s)
|
||||
✓ 33 [chromium] › tests/e2e/operations.spec.js:144:1 › OpenAPI upload rejects invalid files locally and restores focus after Escape (3.1s)
|
||||
✓ 34 [chromium] › tests/e2e/operations.spec.js:210:1 › OpenAPI upload recovers from pagehide and a preview server error (2.1s)
|
||||
✓ 35 [chromium] › tests/e2e/operations.spec.js:245:1 › OpenAPI apply cancellation preserves the import job for an idempotent retry (4.2s)
|
||||
✓ 36 [chromium] › tests/e2e/operations.spec.js:344:1 › OpenAPI apply preserves job authority after language or workspace changes (4.1s)
|
||||
✓ 37 [chromium] › tests/e2e/operations.spec.js:435:1 › OpenAPI upload only renders the latest selected file and clears reset or close races (3.7s)
|
||||
✓ 38 [chromium] › tests/e2e/operations.spec.js:515:1 › OpenAPI upload ignores a stale failure and renders only correlation identifiers (3.0s)
|
||||
✓ 39 [chromium] › tests/e2e/secrets.spec.js:4:1 › created workspace secret renders styled table actions (2.0s)
|
||||
✓ 40 [chromium] › tests/e2e/secrets.spec.js:30:1 › secret modal shows fields for selected secret kind only (2.1s)
|
||||
✓ 41 [chromium] › tests/e2e/secrets.spec.js:69:1 › generic json secret modal stays inside compact viewport (1.9s)
|
||||
✓ 42 [chromium] › tests/e2e/secrets.spec.js:88:1 › secret modal clears sensitive values and locks duplicate submit while saving (2.0s)
|
||||
✓ 43 [chromium] › tests/e2e/secrets.spec.js:141:1 › stale secret rotation cannot close or report success for a newer modal context (2.8s)
|
||||
✓ 44 [chromium] › tests/e2e/staging-authenticated.spec.js:16:1 › authenticated staging smoke logs in and exposes session json (1.8s)
|
||||
✓ 45 [chromium] › tests/e2e/staging-authenticated.spec.js:25:1 › authenticated staging smoke opens core pages without console errors (4.5s)
|
||||
✓ 46 [chromium] › tests/e2e/wizard.spec.js:23:1 › mobile wizard progress connector crosses the indicator centers (1.8s)
|
||||
✓ 47 [chromium] › tests/e2e/wizard.spec.js:46:1 › onboarding helper does not cover wizard navigation (2.0s)
|
||||
✓ 48 [chromium] › tests/e2e/wizard.spec.js:52:1 › onboarding helper does not cover wizard navigation on mobile (1.8s)
|
||||
✓ 49 [chromium] › tests/e2e/wizard.spec.js:59:1 › wizard loads and protocol selection updates flow (2.4s)
|
||||
✓ 50 [chromium] › tests/e2e/wizard.spec.js:80:1 › community wizard exposes REST-only protocol flow (3.2s)
|
||||
✓ 51 [chromium] › tests/e2e/wizard.spec.js:95:1 › REST method callout clears when switching to methods without request body (3.6s)
|
||||
✓ 52 [chromium] › tests/e2e/wizard.spec.js:152:1 › wizard loads reusable upstreams from backend (2.7s)
|
||||
✓ 53 [chromium] › tests/e2e/wizard.spec.js:191:1 › wizard builds visual request mappings from JSON sample and path params (3.8s)
|
||||
✓ 54 [chromium] › tests/e2e/wizard.spec.js:253:1 › wizard edit mode hydrates fields from operation version snapshot (2.9s)
|
||||
✓ 55 [chromium] › tests/e2e/wizard.spec.js:475:1 › wizard shows agent-facing MCP preview from current draft fields (3.2s)
|
||||
✓ 56 [chromium] › tests/e2e/wizard.spec.js:674:1 › wizard edit mode preserves explicit request mapping targets on save (2.6s)
|
||||
✓ 57 [chromium] › tests/e2e/workspace-settings.spec.js:4:1 › workspace and settings pages show live session data (2.1s)
|
||||
|
||||
57 passed (2.7m)
|
||||
@@ -0,0 +1,91 @@
|
||||
npm notice run e2e
|
||||
npm notice run playwright test --workers=1 --retries=0
|
||||
|
||||
Running 56 tests using 1 worker
|
||||
|
||||
(node:249960) 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/agents.spec.js:4:1 › agents page shows demo cards and edit drawer opens (2.4s)
|
||||
✓ 2 [chromium] › tests/e2e/agents.spec.js:28:1 › agent drawer configures on-demand tool discovery and catalog sections (2.6s)
|
||||
✓ 3 [chromium] › tests/e2e/agents.spec.js:51:1 › agent lifecycle stale conflict shows localized recovery message (1.7s)
|
||||
✓ 4 [chromium] › tests/e2e/api-keys.spec.js:4:1 › api keys page opens create key flow (3.1s)
|
||||
✓ 5 [chromium] › tests/e2e/api-keys.spec.js:65:1 › failed clipboard write preserves one-time key material (2.2s) # community-scope: allow=one-time-token
|
||||
✓ 6 [chromium] › tests/e2e/api-keys.spec.js:101:1 › ambiguous create failure reconciles metadata before deliberate retry (2.6s)
|
||||
✓ 7 [chromium] › tests/e2e/api-keys.spec.js:136:1 › stale create response reconciles metadata without changing a newer modal generation (2.8s)
|
||||
✓ 8 [chromium] › tests/e2e/api-keys.spec.js:217:1 › duplicate key revoke and delete clicks send one request while the first request is pending (2.6s)
|
||||
✓ 9 [chromium] › tests/e2e/approvals.spec.js:4:1 › logs approval panel renders safe pending approval metadata (2.2s)
|
||||
✓ 10 [chromium] › tests/e2e/login.spec.js:41:1 › login page rejects invalid credentials (971ms)
|
||||
✓ 11 [chromium] › tests/e2e/login.spec.js:49:1 › login page signs in and redirects to operations (1.1s)
|
||||
✓ 12 [chromium] › tests/e2e/login.spec.js:81:1 › login page switches to bootstrap mode and submits one-time token (1.1s) # community-scope: allow=one-time-token
|
||||
✓ 13 [chromium] › tests/e2e/login.spec.js:107:1 › CrankApi attaches csrf token to unsafe auth requests (519ms)
|
||||
✓ 14 [chromium] › tests/e2e/logs-usage.spec.js:4:1 › logs and usage pages show seeded data (2.4s)
|
||||
✓ 15 [chromium] › tests/e2e/observability.spec.js:4:1 › shell and wizard expose stable diagnostics hooks (2.4s)
|
||||
✓ 16 [chromium] › tests/e2e/observability.spec.js:19:1 › secrets page exposes stable secret management hooks (1.8s)
|
||||
✓ 17 [chromium] › tests/e2e/observability.spec.js:32:1 › API errors retain only bounded canonical support identities (1.4s)
|
||||
✓ 18 [chromium] › tests/e2e/onboarding.spec.js:70:1 › optional Getting Started checklist is server-derived, resumable, bilingual and accessible (3.8s)
|
||||
✓ 19 [chromium] › tests/e2e/onboarding.spec.js:136:1 › onboarding error exposes safe support correlation and retries without a client completion bypass (2.1s)
|
||||
✓ 20 [chromium] › tests/e2e/onboarding.spec.js:176:1 › validation, upstream and compatibility errors recover from the last authoritative onboarding step (2.6s)
|
||||
✓ 21 [chromium] › tests/e2e/onboarding.spec.js:222:1 › authentication recovery returns to an incomplete authoritative onboarding projection (3.0s)
|
||||
✓ 22 [chromium] › tests/e2e/onboarding.spec.js:250:1 › a BroadcastChannel refresh updates a second open tab from server progress (2.7s)
|
||||
✓ 23 [chromium] › tests/e2e/onboarding.spec.js:276:1 › bursty browser refresh signals coalesce into one request plus one trailing refresh (1.8s)
|
||||
✓ 24 [chromium] › tests/e2e/onboarding.spec.js:336:1 › stale onboarding deep link requires server reset before explicit reselection (2.5s)
|
||||
✓ 25 [chromium] › tests/e2e/onboarding.spec.js:371:1 › one-time key connection config is never recoverable after the reveal is lost (2.9s) # community-scope: allow=one-time-token
|
||||
✓ 26 [chromium] › tests/e2e/onboarding.spec.js:410:1 › first value is proven only by a real tools/call through the public MCP endpoint (11.0s)
|
||||
✘ 27 [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation (1.5s)
|
||||
(node:250896) 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)
|
||||
✓ 28 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in ru (3.7s)
|
||||
✓ 29 [chromium] › tests/e2e/operation-lifecycle.spec.js:132:3 › catalog lifecycle actions are state-aware in en (3.3s)
|
||||
✓ 30 [chromium] › tests/e2e/operations.spec.js:14:1 › operations page shows demo catalog and filter works (1.7s)
|
||||
✓ 31 [chromium] › tests/e2e/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts (3.2s)
|
||||
✓ 32 [chromium] › tests/e2e/operations.spec.js:144:1 › OpenAPI upload rejects invalid files locally and restores focus after Escape (2.9s)
|
||||
✓ 33 [chromium] › tests/e2e/operations.spec.js:210:1 › OpenAPI upload recovers from pagehide and a preview server error (2.3s)
|
||||
✓ 34 [chromium] › tests/e2e/operations.spec.js:245:1 › OpenAPI apply cancellation preserves the import job for an idempotent retry (5.1s)
|
||||
✓ 35 [chromium] › tests/e2e/operations.spec.js:344:1 › OpenAPI apply preserves job authority after language or workspace changes (3.9s)
|
||||
✓ 36 [chromium] › tests/e2e/operations.spec.js:435:1 › OpenAPI upload only renders the latest selected file and clears reset or close races (3.5s)
|
||||
✓ 37 [chromium] › tests/e2e/operations.spec.js:515:1 › OpenAPI upload ignores a stale failure and renders only correlation identifiers (3.2s)
|
||||
✓ 38 [chromium] › tests/e2e/secrets.spec.js:4:1 › created workspace secret renders styled table actions (1.8s)
|
||||
✓ 39 [chromium] › tests/e2e/secrets.spec.js:30:1 › secret modal shows fields for selected secret kind only (1.9s)
|
||||
✓ 40 [chromium] › tests/e2e/secrets.spec.js:69:1 › generic json secret modal stays inside compact viewport (1.7s)
|
||||
✓ 41 [chromium] › tests/e2e/secrets.spec.js:88:1 › secret modal clears sensitive values and locks duplicate submit while saving (2.0s)
|
||||
✓ 42 [chromium] › tests/e2e/secrets.spec.js:141:1 › stale secret rotation cannot close or report success for a newer modal context (2.4s)
|
||||
✓ 43 [chromium] › tests/e2e/staging-authenticated.spec.js:16:1 › authenticated staging smoke logs in and exposes session json (1.5s)
|
||||
✓ 44 [chromium] › tests/e2e/staging-authenticated.spec.js:25:1 › authenticated staging smoke opens core pages without console errors (4.4s)
|
||||
✓ 45 [chromium] › tests/e2e/wizard.spec.js:23:1 › mobile wizard progress connector crosses the indicator centers (1.7s)
|
||||
✓ 46 [chromium] › tests/e2e/wizard.spec.js:46:1 › onboarding helper does not cover wizard navigation (1.8s)
|
||||
✓ 47 [chromium] › tests/e2e/wizard.spec.js:52:1 › onboarding helper does not cover wizard navigation on mobile (1.4s)
|
||||
✓ 48 [chromium] › tests/e2e/wizard.spec.js:59:1 › wizard loads and protocol selection updates flow (2.1s)
|
||||
✓ 49 [chromium] › tests/e2e/wizard.spec.js:80:1 › community wizard exposes REST-only protocol flow (2.7s)
|
||||
✓ 50 [chromium] › tests/e2e/wizard.spec.js:95:1 › REST method callout clears when switching to methods without request body (3.5s)
|
||||
✓ 51 [chromium] › tests/e2e/wizard.spec.js:152:1 › wizard loads reusable upstreams from backend (2.4s)
|
||||
✓ 52 [chromium] › tests/e2e/wizard.spec.js:191:1 › wizard builds visual request mappings from JSON sample and path params (4.3s)
|
||||
✓ 53 [chromium] › tests/e2e/wizard.spec.js:253:1 › wizard edit mode hydrates fields from operation version snapshot (3.0s)
|
||||
✓ 54 [chromium] › tests/e2e/wizard.spec.js:475:1 › wizard shows agent-facing MCP preview from current draft fields (3.3s)
|
||||
✓ 55 [chromium] › tests/e2e/wizard.spec.js:674:1 › wizard edit mode preserves explicit request mapping targets on save (2.7s)
|
||||
✓ 56 [chromium] › tests/e2e/workspace-settings.spec.js:4:1 › workspace and settings pages show live session data (2.0s)
|
||||
|
||||
|
||||
1) [chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation
|
||||
|
||||
Error: page.evaluate: Error: csrf validation failed
|
||||
at f (http://127.0.0.1:3300/js/bundles/protected-core.70fc1c2160cb.js:3:70752)
|
||||
at async eval (eval at evaluate (:303:30), <anonymous>:60:21)
|
||||
at async <anonymous>:329:30
|
||||
at f (http://127.0.0.1:3300/js/bundles/protected-core.70fc1c2160cb.js:3:70752)
|
||||
at async eval (eval at evaluate (:303:30), <anonymous>:60:21)
|
||||
at async <anonymous>:329:30
|
||||
at <checkout>/apps/ui/tests/e2e/operation-lifecycle.spec.js:9:31
|
||||
|
||||
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/test-failed-1.png
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/video.webm
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Error Context: test-results/operation-lifecycle-Operat-51fc7-nd-exposes-safe-correlation-chromium/error-context.md
|
||||
|
||||
1 failed
|
||||
[chromium] › tests/e2e/operation-lifecycle.spec.js:4:1 › Operation lifecycle keeps published versions immutable and exposes safe correlation
|
||||
55 passed (2.5m)
|
||||
@@ -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
|
||||
@@ -0,0 +1,47 @@
|
||||
npm notice run e2e
|
||||
npm notice run playwright test tests/e2e/operations.spec.js --grep imports OpenAPI methods as drafts --workers=1 --retries=0
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
(node:246848) 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/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts (14.2s)
|
||||
|
||||
|
||||
1) [chromium] › tests/e2e/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts
|
||||
|
||||
Error: expect(locator).toContainText(expected) failed
|
||||
|
||||
Locator: locator('.openapi-import-operation').filter({ hasText: 'Получить курсы валют' }).locator('.openapi-import-mapping-preview')
|
||||
Expected substring: "symbols"
|
||||
Received string: "PathdateQuerybaseHeaderX-API-VersionBodybodyResponsebase ← base"
|
||||
Timeout: 10000ms
|
||||
|
||||
Call log:
|
||||
- Expect "toContainText" with timeout 10000ms
|
||||
- waiting for locator('.openapi-import-operation').filter({ hasText: 'Получить курсы валют' }).locator('.openapi-import-mapping-preview')
|
||||
23 × locator resolved to <div class="openapi-import-mapping-preview">…</div>
|
||||
- unexpected value "PathdateQuerybaseHeaderX-API-VersionBodybodyResponsebase ← base"
|
||||
|
||||
|
||||
113 | await expect(importedOperation.locator('.openapi-import-mapping-preview')).toContainText('X-API-Version');
|
||||
114 | await expect(importedOperation.locator('.openapi-import-mapping-preview')).toContainText('Body');
|
||||
> 115 | await expect(importedOperation.locator('.openapi-import-mapping-preview')).toContainText('symbols');
|
||||
| ^
|
||||
116 | await expect(importedOperation.locator('.openapi-import-mapping-preview')).toContainText(localized('Response', 'Ответ'));
|
||||
117 | await expect(page.locator('#openapi-import-selection')).toContainText(localized('Selected: 2', 'Выбрано: 2'));
|
||||
118 | await page.locator('#openapi-import-search').fill('status');
|
||||
at <checkout>/apps/ui/tests/e2e/operations.spec.js:115:78
|
||||
|
||||
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
test-results/operations-operations-page-imports-OpenAPI-methods-as-drafts-chromium/test-failed-1.png
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
attachment #2: video (video/webm) ──────────────────────────────────────────────────────────────
|
||||
test-results/operations-operations-page-imports-OpenAPI-methods-as-drafts-chromium/video.webm
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Error Context: test-results/operations-operations-page-imports-OpenAPI-methods-as-drafts-chromium/error-context.md
|
||||
|
||||
1 failed
|
||||
[chromium] › tests/e2e/operations.spec.js:26:1 › operations page imports OpenAPI methods as drafts
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
(node:259440) 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 ../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh (2.0s)
|
||||
|
||||
1 passed (3.2s)
|
||||
@@ -0,0 +1,32 @@
|
||||
|
||||
Running 1 test using 1 worker
|
||||
|
||||
(node:257457) 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 ../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh (1.5s)
|
||||
|
||||
|
||||
1) ../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh
|
||||
|
||||
Error: expect(received).toBe(expected) // Object.is equality
|
||||
|
||||
Expected: true
|
||||
Received: false
|
||||
|
||||
18 | () => Boolean(window.CrankAuth && typeof window.CrankAuth.getCsrfToken === 'function' && window.CrankAuth.getCsrfToken())
|
||||
19 | );
|
||||
> 20 | expect(tokenReady).toBe(true);
|
||||
| ^
|
||||
21 | expect(csrfRequests).toBeGreaterThan(0);
|
||||
22 | });
|
||||
23 |
|
||||
at <evidence-state>/login-ready-harness/login-ready.spec.js:20:22
|
||||
|
||||
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
|
||||
test-results/login-ready-login-helper-l-56b6f-nder-a-delayed-csrf-refresh/test-failed-1.png
|
||||
────────────────────────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
Error Context: test-results/login-ready-login-helper-l-56b6f-nder-a-delayed-csrf-refresh/error-context.md
|
||||
|
||||
1 failed
|
||||
../../../crank-epic1-pr-20261004-state/login-ready-harness/login-ready.spec.js:7:1 › login helper leaves a ready CSRF session under a delayed csrf refresh
|
||||
Reference in new issue
Block a user