Files
jobtrackingapp/docs/redesign/phase-9/rd21-remediation/reviews/final-fix-browser-red.log
T

100 lines
14 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[WebServer] Using launch settings from ..\JobTrackerApi\Properties\launchSettings.json...
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[30200]
[WebServer] An operation of type 'SqlOperation' will be attempted while a rebuild of table 'JobApplications' is pending. The database may not be in an expected state. Review the SQL generated by this migration to help diagnose any failures. Consider moving these operations to a subsequent migration.
[WebServer] warn: Microsoft.EntityFrameworkCore.Migrations[20410]
[WebServer] The migration operation 'PRAGMA foreign_keys = 0;
[WebServer] ' from migration 'AddJobEntityAndProspectStages' cannot be executed in a transaction. If the app is terminated or an unrecoverable error occurs while this operation is being executed then the migration will be left in a partially applied state and would need to be reverted manually before it can be applied again. Create a separate migration that contains just this operation.
[WebServer] warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
[WebServer] No XML encryptor configured. Key {ae73882b-5d2d-4ad2-903d-d3ecae589811} may be persisted to storage in unencrypted form.
node.exe : [WebServer] (node:31924) Warning: The 'NO_COLOR' env is ignored due to the 'FORCE_COLOR' env being set.
At line:1 char:1
+ & "C:\Program Files\nodejs/node.exe" "C:\Program Files\nodejs/node_mo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: ([WebServer] (no... env being set.:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[WebServer] (Use `node --trace-warnings ...` to show where the warning was created)
Running 2 tests using 1 worker
(node:36380) 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)
x 1 [chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:92:1 › RD21 cross-origin browser exposes committed revisions and native Answers saves advance consecutively (2.2s)
(node:12848) 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)
x 2 [chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:121:1 › RD21 cover-letter save then Answers entry waits for fresh coherent source before a native save (7.1s)
1) [chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:92:1 › RD21 cross-origin browser exposes committed revisions and native Answers saves advance consecutively
Error: expect(received).toBe(expected) // Object.is equality
Expected: "2"
Received: null
102 | expect(browserCommit.status).toBe(204);
103 | expect(db(info, owner, job.id).job).toMatchObject({ Version: job.version + 1, Notes: expect.stringContaining('<<<APPLICATION_ANSWER_DRAFT>>>\nBrowser-visible commit\n<<<END_APPLICATION_ANSWER_DRAFT>>>') });
> 104 | expect(browserCommit.revision).toBe(String(job.version + 1));
| ^
105 | await page.reload();
106 | await expect(answer).toHaveValue('Browser-visible commit');
107 | for (const [index, text] of ['First native answer', 'Second native answer'].entries()) {
at E:\Storage\Projects\Active\Job tracker\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:104:34
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results\persistence-RD21-cross-ori-45b42-saves-advance-consecutively-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results\persistence-RD21-cross-ori-45b42-saves-advance-consecutively-chromium\error-context.md
attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
test-results\persistence-RD21-cross-ori-45b42-saves-advance-consecutively-chromium\trace.zip
Usage:
npx playwright show-trace test-results\persistence-RD21-cross-ori-45b42-saves-advance-consecutively-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
2) [chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:121:1 › RD21 cover-letter save then Answers entry waits for fresh coherent source before a native save
Error: expect(locator).toHaveCount(expected) failed
Locator: getByRole('textbox', { name: 'Application answer', exact: true })
Expected: 0
Received: 1
Timeout: 5000ms
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for getByRole('textbox', { name: 'Application answer', exact: true })
14 × locator resolved to 1 element
- unexpected value "1"
141 | const answer = page.getByRole('textbox', { name: t.assetsApplicationAnswer, exact: true });
142 | try {
> 143 | await expect(answer).toHaveCount(0);
| ^
144 | await requested;
145 | } finally { release(); }
146 | await expect(answer).toBeEditable();
at E:\Storage\Projects\Active\Job tracker\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:143:26
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
test-results\persistence-RD21-cover-let-91c77-source-before-a-native-save-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: test-results\persistence-RD21-cover-let-91c77-source-before-a-native-save-chromium\error-context.md
attachment #3: trace (application/zip) ─────────────────────────────────────────────────────────
test-results\persistence-RD21-cover-let-91c77-source-before-a-native-save-chromium\trace.zip
Usage:
npx playwright show-trace test-results\persistence-RD21-cover-let-91c77-source-before-a-native-save-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
2 failed
[chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:92:1 › RD21 cross-origin browser exposes committed revisions and native Answers saves advance consecutively
[chromium] › ..\docs\redesign\phase-9\rd21-remediation\diagnostics\persistence.spec.ts:121:1 › RD21 cover-letter save then Answers entry waits for fresh coherent source before a native save