docs(i18n): qualify application trash dialog continuity
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Pending application trash confirmation language
|
||||
|
||||
17 November 2026. Source `9d08f034` on `codex/a3-ui-10`, based on local `ae320088`. Publication remains pending afterHTTP502; last independently verified remote A3 is `13769a19`.
|
||||
|
||||
Single/multiple move-to-trash confirmations use the existing live dialog metadata. Job title/company and selected count remain literal interpolation data. Four original EN/NB caller regressions FAILED; after migration those four passed. They verify pending decisions, selected membership, cancellation without DELETE and no extra application read on language switch. Existing bulk/individual write paths, trash/restore endpoints and destructive semantics are unchanged. Missing-company fallback text is still captured at action start; this scope exercises named companies.
|
||||
|
||||
An existing overlay test failed because it assumed checkboxes were always visible. Reproduced that failure on unchanged `ae320088`, then updated the test to await the row and enter the approved Select jobs mode. First correction queried the mode control before loading finished and failed; final correction awaits row before clicking. Both intermediate58-pass/one-failure runs and the unchanged-baseline failure remain retained. No application selection behaviour was altered to satisfy this stale test.
|
||||
|
||||
Final59 cases/three suites PASSED; project TypeScript, three-file scoped lint, diff check and final AST update PASSED (no topology changes after the19,298-node/47,423-edge refresh). Evidence and native gzip/source bindings in `evidence/jobs-dialog/`. Undo-feedback follow-up tests are outside this source commit and count.
|
||||
|
||||
Mocked API/real UI providers only. Actual deletion/restore, final browser/device/visual/Phase10/I18N/security/release qualification remain open; prior Next build remains FAILED. Other explicit dialog callers and deferred outcome-copy/lifetime paths remain separate. Rollback: revert this bounded source commit; no schema/data migration.
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"sourceCommit": "9d08f0340c04509e09337f6bb412fdac760ad181",
|
||||
"sourcesLfSha256": {
|
||||
"job-tracker-ui/src/application-workspace-overlay.test.tsx": "88a8df929ff847b5bd5b76a6e2f7d9cf5eed6e2734c6fdf10ac1748bc5dfea0e",
|
||||
"job-tracker-ui/src/components/JobTable.tsx": "b13cbbb3d6e06cc4c71f0067c85542029f174a6542e4b7c19f30a7426cd693b3",
|
||||
"job-tracker-ui/src/jobs-view-integration.test.tsx": "23177d9908afd4827fa1e16dac931af84745b0f3e3a2f69e3b249a10713d85b4"
|
||||
},
|
||||
"evidenceLfSha256": {
|
||||
"red.json": "4047308387672794a57cb8eb65f3b47ba837163e3afe61e59c814811eecd5bc0",
|
||||
"red.txt": "2b2c76d0ed997076f9dbe0bbaa484c6913d1eaa32ac0fd27edfc10f7d4b8c956",
|
||||
"green.json": "afc7f90c8bb5cb73e408787c456997e98fe297fdbde3549a3ef1587ad5cab310",
|
||||
"green.txt": "5cd9386f309fe2f41eb06c5ea82a8a50af07510f5be5565f46f2a82315b13f0a",
|
||||
"final.json": "b672e0713f19fbbc18cdf2ca12166fd1168f52be424ce3059d1dfb8732aecec1",
|
||||
"final.txt": "18e4eb469e661e4c5e2b813f59b2318671a9253edd078b51e611cbe71a5096e7",
|
||||
"selection-baseline.json": "40e26b35f214055991bfe15efa2e47c2b3f2f6553d1e4a94be5b39556a7b076f",
|
||||
"selection-baseline.txt": "aaabb551b6e5a6523dbb49e0ad4d0fa073e2927062ea996cf290b24043f4696d",
|
||||
"verified.json": "19162fab80f3c775e4aecd61364d050b80f14b39a6c7f475be072aa8ae270ddf",
|
||||
"verified.txt": "151e5b3758bcba04dd25fb2b5f8050d3995eeed44fcd4072ffc04be08d207be3",
|
||||
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"verified-graph.txt": "f12f27afb7f307adf66dee39a0dc4cf2743309f39635adf0fbe727217b8d7514"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "red.json",
|
||||
"gzipPath": "red.json.gz",
|
||||
"rawSha256": "4047308387672794a57cb8eb65f3b47ba837163e3afe61e59c814811eecd5bc0",
|
||||
"gzipSha256": "8d6fa5496f5eec1f8aee15ddf96b108b4e1e427dec9cb76a21b41db29fd1f5c1"
|
||||
},
|
||||
{
|
||||
"path": "red.txt",
|
||||
"gzipPath": "red.txt.gz",
|
||||
"rawSha256": "96856b84e90db7650dd00256b95a6cf984887051a3bef16197f27f96027fcceb",
|
||||
"gzipSha256": "258b91b01cb49d8606d74d056880a112327960eac96d6cd1f9b83df34ee48170"
|
||||
},
|
||||
{
|
||||
"path": "green.json",
|
||||
"gzipPath": "green.json.gz",
|
||||
"rawSha256": "afc7f90c8bb5cb73e408787c456997e98fe297fdbde3549a3ef1587ad5cab310",
|
||||
"gzipSha256": "9c74dad2085afaca1036192e70ce458de74eff5c4705409908e2bcec46c3f6d0"
|
||||
},
|
||||
{
|
||||
"path": "green.txt",
|
||||
"gzipPath": "green.txt.gz",
|
||||
"rawSha256": "10adc872e7f332ec7fb9a41aab8d430b93add91030f200cceeb2dbfd56a59e09",
|
||||
"gzipSha256": "2873b9c05d256f3f5a8dca8cce6125fd60e1016c699a3822ecd64b7aae6423bb"
|
||||
},
|
||||
{
|
||||
"path": "final.json",
|
||||
"gzipPath": "final.json.gz",
|
||||
"rawSha256": "b672e0713f19fbbc18cdf2ca12166fd1168f52be424ce3059d1dfb8732aecec1",
|
||||
"gzipSha256": "a1e7ae645d4a97e27684a08f78e3ef66c9b1d7075c0745251b83099a865f7376"
|
||||
},
|
||||
{
|
||||
"path": "final.txt",
|
||||
"gzipPath": "final.txt.gz",
|
||||
"rawSha256": "9fe404a582b75d98bab12815b7484a3522ebb4030063015b0ad0bc6bb18c2b41",
|
||||
"gzipSha256": "4cc90dfb3ac8b719929b97f00b5edc5d09517aaf8cdbf6697c3b83d313a979c4"
|
||||
},
|
||||
{
|
||||
"path": "selection-baseline.json",
|
||||
"gzipPath": "selection-baseline.json.gz",
|
||||
"rawSha256": "40e26b35f214055991bfe15efa2e47c2b3f2f6553d1e4a94be5b39556a7b076f",
|
||||
"gzipSha256": "97d9b1d9e77b4e7f4779f2d1aff2daa449c2f7936666ae07ef6517189abd6deb"
|
||||
},
|
||||
{
|
||||
"path": "selection-baseline.txt",
|
||||
"gzipPath": "selection-baseline.txt.gz",
|
||||
"rawSha256": "aaabb551b6e5a6523dbb49e0ad4d0fa073e2927062ea996cf290b24043f4696d",
|
||||
"gzipSha256": "f80d352e280a1dd2a7a7c228894458bd863ec80448602575c9f3c6df55aabffe"
|
||||
},
|
||||
{
|
||||
"path": "verified.json",
|
||||
"gzipPath": "verified.json.gz",
|
||||
"rawSha256": "19162fab80f3c775e4aecd61364d050b80f14b39a6c7f475be072aa8ae270ddf",
|
||||
"gzipSha256": "954dc52288a5d06732c8a2faea9cf234f65f72cced0e1dc459aa5870915456d8"
|
||||
},
|
||||
{
|
||||
"path": "verified.txt",
|
||||
"gzipPath": "verified.txt.gz",
|
||||
"rawSha256": "3a676393cf0616d86050900d6897321c4f12e347efd1f07c835953ef8c5d4f9b",
|
||||
"gzipSha256": "5c3847c15202a055b96cba7e3a38e318b4b362f01fc015c49d744d59fc4c79b5"
|
||||
},
|
||||
{
|
||||
"path": "typecheck.txt",
|
||||
"gzipPath": "typecheck.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "lint.txt",
|
||||
"gzipPath": "lint.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "verified-graph.txt",
|
||||
"gzipPath": "verified-graph.txt.gz",
|
||||
"rawSha256": "66f9381a32abfb202937db3544d060e1ba55d583a009fd3435900b354f96f69c",
|
||||
"gzipSha256": "c91c79487032d34f32ae4ce787efd74eaaefbd26a5d1dfe0fa6be9f3c72a98de"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,870 @@
|
||||
FAIL src/application-workspace-overlay.test.tsx (11.106 s)
|
||||
● Console
|
||||
|
||||
console.error
|
||||
An update to EditJobDialog inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
89 | setData(next);
|
||||
90 | setError(null);
|
||||
> 91 | setHasLoaded(true);
|
||||
| ^
|
||||
92 | } catch (err: any) {
|
||||
93 | if (requestId !== requestSequence.current) return;
|
||||
94 | setError(normalizeError(err, errorMessage));
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setHasLoaded (src/hooks/useViewResource.ts:91:7)
|
||||
|
||||
console.error
|
||||
An update to EditJobDialog inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
96 | } finally {
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
> 98 | setLoading(false);
|
||||
| ^
|
||||
99 | setRefreshing(false);
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setLoading (src/hooks/useViewResource.ts:98:7)
|
||||
|
||||
console.error
|
||||
An update to EditJobDialog inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
98 | setLoading(false);
|
||||
> 99 | setRefreshing(false);
|
||||
| ^
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
102 |
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setRefreshing (src/hooks/useViewResource.ts:99:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
87 | const next = await loadRef.current();
|
||||
88 | if (requestId !== requestSequence.current) return;
|
||||
> 89 | setData(next);
|
||||
| ^
|
||||
90 | setError(null);
|
||||
91 | setHasLoaded(true);
|
||||
92 | } catch (err: any) {
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setData (src/hooks/useViewResource.ts:89:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
88 | if (requestId !== requestSequence.current) return;
|
||||
89 | setData(next);
|
||||
> 90 | setError(null);
|
||||
| ^
|
||||
91 | setHasLoaded(true);
|
||||
92 | } catch (err: any) {
|
||||
93 | if (requestId !== requestSequence.current) return;
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setError (src/hooks/useViewResource.ts:90:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
89 | setData(next);
|
||||
90 | setError(null);
|
||||
> 91 | setHasLoaded(true);
|
||||
| ^
|
||||
92 | } catch (err: any) {
|
||||
93 | if (requestId !== requestSequence.current) return;
|
||||
94 | setError(normalizeError(err, errorMessage));
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setHasLoaded (src/hooks/useViewResource.ts:91:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
96 | } finally {
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
> 98 | setLoading(false);
|
||||
| ^
|
||||
99 | setRefreshing(false);
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setLoading (src/hooks/useViewResource.ts:98:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
98 | setLoading(false);
|
||||
> 99 | setRefreshing(false);
|
||||
| ^
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
102 |
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setRefreshing (src/hooks/useViewResource.ts:99:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
87 | const next = await loadRef.current();
|
||||
88 | if (requestId !== requestSequence.current) return;
|
||||
> 89 | setData(next);
|
||||
| ^
|
||||
90 | setError(null);
|
||||
91 | setHasLoaded(true);
|
||||
92 | } catch (err: any) {
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setData (src/hooks/useViewResource.ts:89:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
88 | if (requestId !== requestSequence.current) return;
|
||||
89 | setData(next);
|
||||
> 90 | setError(null);
|
||||
| ^
|
||||
91 | setHasLoaded(true);
|
||||
92 | } catch (err: any) {
|
||||
93 | if (requestId !== requestSequence.current) return;
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setError (src/hooks/useViewResource.ts:90:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
89 | setData(next);
|
||||
90 | setError(null);
|
||||
> 91 | setHasLoaded(true);
|
||||
| ^
|
||||
92 | } catch (err: any) {
|
||||
93 | if (requestId !== requestSequence.current) return;
|
||||
94 | setError(normalizeError(err, errorMessage));
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setHasLoaded (src/hooks/useViewResource.ts:91:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
96 | } finally {
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
> 98 | setLoading(false);
|
||||
| ^
|
||||
99 | setRefreshing(false);
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setLoading (src/hooks/useViewResource.ts:98:7)
|
||||
|
||||
console.error
|
||||
An update to JobTable inside a test was not wrapped in act(...).
|
||||
|
||||
When testing, code that causes React state updates should be wrapped into act(...):
|
||||
|
||||
act(() => {
|
||||
/* fire events that update state */
|
||||
});
|
||||
/* assert on the output */
|
||||
|
||||
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
|
||||
|
||||
97 | if (requestId !== requestSequence.current) return;
|
||||
98 | setLoading(false);
|
||||
> 99 | setRefreshing(false);
|
||||
| ^
|
||||
100 | }
|
||||
101 | }, [enabled, errorMessage]);
|
||||
102 |
|
||||
|
||||
at node_modules/react-dom/cjs/react-dom-client.development.js:18758:19
|
||||
at runWithFiberInDEV (node_modules/react-dom/cjs/react-dom-client.development.js:874:13)
|
||||
at warnIfUpdatesNotWrappedWithActDEV (node_modules/react-dom/cjs/react-dom-client.development.js:18757:9)
|
||||
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom-client.development.js:16409:11)
|
||||
at dispatchSetStateInternal (node_modules/react-dom/cjs/react-dom-client.development.js:9170:13)
|
||||
at dispatchSetState (node_modules/react-dom/cjs/react-dom-client.development.js:9127:7)
|
||||
at setRefreshing (src/hooks/useViewResource.ts:99:7)
|
||||
|
||||
● row controls do not trigger navigation
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name "Select applications"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
status:
|
||||
|
||||
Name "":
|
||||
<output
|
||||
data-testid="location"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<span
|
||||
aria-atomic="true"
|
||||
aria-live="polite"
|
||||
class="MuiBox-root css-ty8jgw"
|
||||
role="status"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
group:
|
||||
|
||||
Name "Jobs view":
|
||||
<div
|
||||
aria-label="Jobs view"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
link:
|
||||
|
||||
Name "Table":
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Board":
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
textbox:
|
||||
|
||||
Name "Search":
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_5n_"
|
||||
placeholder="Title, company, notes, messages"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
||||
Name "Location":
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input css-hafeiy-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_5q_"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
combobox:
|
||||
|
||||
Name "Status":
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="job-table-status-label"
|
||||
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-19marfc-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
role="combobox"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Company":
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="job-table-company-label"
|
||||
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-19marfc-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
role="combobox"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Readiness":
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="job-table-readiness-label"
|
||||
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-19marfc-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
role="combobox"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "List density":
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="job-table-density-label"
|
||||
class="MuiSelect-select MuiSelect-outlined MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall css-19marfc-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
role="combobox"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Rows per page":
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="_r_62_ _r_61_"
|
||||
class="MuiSelect-select MuiTablePagination-select MuiSelect-standard MuiInputBase-input css-as4jxp-MuiNativeSelect-root-MuiSelect-select-MuiInputBase-input"
|
||||
id="_r_61_"
|
||||
role="combobox"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
checkbox:
|
||||
|
||||
Name "Needs follow-up":
|
||||
<input
|
||||
class="PrivateSwitchBase-input css-gjsmck-MuiSwitchBase-root"
|
||||
data-indeterminate="false"
|
||||
type="checkbox"
|
||||
/>
|
||||
|
||||
Name "Show deleted":
|
||||
<input
|
||||
class="PrivateSwitchBase-input css-gjsmck-MuiSwitchBase-root"
|
||||
data-indeterminate="false"
|
||||
type="checkbox"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Saved views":
|
||||
<button
|
||||
aria-label="Saved views"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeSmall css-155wbr6-MuiButtonBase-root-MuiIconButton-root"
|
||||
data-mui-internal-clone-element="true"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Columns":
|
||||
<button
|
||||
aria-label="Columns"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-53g0n7-MuiButtonBase-root-MuiIconButton-root"
|
||||
data-mui-internal-clone-element="true"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Role":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root MuiTableSortLabel-directionAsc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Company":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root MuiTableSortLabel-directionAsc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Location":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root MuiTableSortLabel-directionAsc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Status":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root MuiTableSortLabel-directionAsc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Date Applied":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root Mui-active MuiTableSortLabel-directionDesc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Days":
|
||||
<span
|
||||
class="MuiButtonBase-root MuiTableSortLabel-root MuiTableSortLabel-directionAsc css-1yszmdp-MuiButtonBase-root-MuiTableSortLabel-root"
|
||||
role="button"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
Name "Go to previous page":
|
||||
<button
|
||||
aria-label="Go to previous page"
|
||||
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-colorInherit MuiIconButton-sizeMedium css-h7cjts-MuiButtonBase-root-MuiIconButton-root"
|
||||
disabled=""
|
||||
tabindex="-1"
|
||||
title="Go to previous page"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Go to next page":
|
||||
<button
|
||||
aria-label="Go to next page"
|
||||
class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-colorInherit MuiIconButton-sizeMedium css-h7cjts-MuiButtonBase-root-MuiIconButton-root"
|
||||
disabled=""
|
||||
tabindex="-1"
|
||||
title="Go to next page"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Job table — scroll for more columns":
|
||||
<div
|
||||
aria-label="Job table — scroll for more columns"
|
||||
class="MuiBox-root css-12hgbcx"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
table:
|
||||
|
||||
Name "Job Applications":
|
||||
<table
|
||||
aria-label="Job Applications"
|
||||
class="MuiTable-root css-1hfaywx-MuiTable-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
rowgroup:
|
||||
|
||||
Name "":
|
||||
<thead
|
||||
class="MuiTableHead-root css-1a7iywq-MuiTableHead-root"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<tbody
|
||||
class="MuiTableBody-root css-gmh7jj-MuiTableBody-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
row:
|
||||
|
||||
Name "Role Company Location Status Date Applied Days Deadline Actions":
|
||||
<tr
|
||||
class="MuiTableRow-root MuiTableRow-head css-1xtozoh-MuiTableRow-root"
|
||||
/>
|
||||
|
||||
Name "Loading...":
|
||||
<tr
|
||||
class="MuiTableRow-root css-1xtozoh-MuiTableRow-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
columnheader:
|
||||
|
||||
Name "Role":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Company":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Location":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Status":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Date Applied":
|
||||
<th
|
||||
aria-sort="descending"
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Days":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Deadline":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-sizeSmall css-10umtgd-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
Name "Actions":
|
||||
<th
|
||||
class="MuiTableCell-root MuiTableCell-head MuiTableCell-alignRight MuiTableCell-sizeSmall css-1xxz8ky-MuiTableCell-root"
|
||||
scope="col"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
cell:
|
||||
|
||||
Name "Loading...":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
colspan="8"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-1ohsihi-MuiTypography-root"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTablePagination-selectLabel css-1nf4szb-MuiTablePagination-selectLabel"
|
||||
id="_r_62_"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTablePagination-displayedRows css-wi4n5q-MuiTablePagination-displayedRows"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body>
|
||||
<div>
|
||||
<output
|
||||
data-testid="location"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobs view"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Table
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Board
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_5n_"
|
||||
id="_r_5n_-label"
|
||||
>
|
||||
Search
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_5n_"
|
||||
placeholder="Title, company, notes, messages"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Search
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiSelect-root css-1n9wzir-MuiInputBase-root-MuiOutlinedInput-root-MuiSelect-root"
|
||||
>
|
||||
<div
|
||||
aria-expanded="false"
|
||||
aria-haspopup="listbox"
|
||||
aria-labelledby="job-table-status-label"
|
||||
class="MuiSelect-select MuiSelect-outl...
|
||||
|
||||
236 | renderTable();
|
||||
237 |
|
||||
> 238 | fireEvent.click(screen.getByRole("button", { name: translations.en.jobTableSelectionMode }));
|
||||
| ^
|
||||
239 | const row = await screen.findByRole("row", { name: /open backend developer/i });
|
||||
240 | const checkbox = within(row).getByRole("checkbox");
|
||||
241 | fireEvent.click(checkbox);
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at Object.getByRole (src/application-workspace-overlay.test.tsx:238:26)
|
||||
|
||||
|
||||
Test Suites: 1 failed, 2 passed, 3 total
|
||||
Tests: 1 failed, 58 passed, 59 total
|
||||
Snapshots: 0 total
|
||||
Time: 32.986 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx|src/dialog-text.test.tsx|src/application-workspace-overlay.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-dialog-final.json
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,185 @@
|
||||
FAIL src/application-workspace-overlay.test.tsx (10.94 s)
|
||||
● row controls do not trigger navigation
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
cell:
|
||||
|
||||
Name "Backend Developer":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1jip27w-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Acme":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-3i322-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Oslo":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-w84ws3-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Waiting":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "8/1/2026":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "9":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "—":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "":
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignRight MuiTableCell-sizeSmall css-1yqc7as-MuiTableCell-root"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Actions: Backend Developer":
|
||||
<button
|
||||
aria-expanded="false"
|
||||
aria-haspopup="menu"
|
||||
aria-label="Actions: Backend Developer"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1eb3a3i-MuiButtonBase-root-MuiIconButton-root"
|
||||
tabindex="0"
|
||||
title="Actions"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<tr
|
||||
aria-label="Open Backend Developer at Acme"
|
||||
class="MuiTableRow-root MuiTableRow-hover css-1j5icz3-MuiTableRow-root"
|
||||
data-job-row-id="42"
|
||||
tabindex="0"
|
||||
>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1jip27w-MuiTableCell-root"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1qocved"
|
||||
>
|
||||
<span
|
||||
class="MuiTypography-root MuiTypography-body1 css-qs4z2u-MuiTypography-root"
|
||||
>
|
||||
Backend Developer
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-3i322-MuiTableCell-root"
|
||||
>
|
||||
Acme
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-w84ws3-MuiTableCell-root"
|
||||
>
|
||||
Oslo
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
>
|
||||
<div
|
||||
class="MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorWarning MuiChip-outlinedWarning css-c6rydt-MuiChip-root"
|
||||
>
|
||||
<span
|
||||
class="MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"
|
||||
>
|
||||
Waiting
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
>
|
||||
8/1/2026
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
>
|
||||
9
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"
|
||||
>
|
||||
—
|
||||
</td>
|
||||
<td
|
||||
class="MuiTableCell-root MuiTableCell-body MuiTableCell-alignRight MuiTableCell-sizeSmall css-1yqc7as-MuiTableCell-root"
|
||||
>
|
||||
<button
|
||||
aria-expanded="false"
|
||||
aria-haspopup="menu"
|
||||
aria-label="Actions: Backend Developer"
|
||||
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1eb3a3i-MuiButtonBase-root-MuiIconButton-root"
|
||||
tabindex="0"
|
||||
title="Actions"
|
||||
type="button"
|
||||
>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="MoreHorizIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
||||
/>
|
||||
</svg>
|
||||
</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
236 |
|
||||
237 | const row = await screen.findByRole("row", { name: /open backend developer/i });
|
||||
> 238 | const checkbox = within(row).getByRole("checkbox");
|
||||
| ^
|
||||
239 | fireEvent.click(checkbox);
|
||||
240 |
|
||||
241 | expect(screen.getByTestId("location")).toHaveTextContent(/^\/jobs$/);
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at Object.getByRole (src/application-workspace-overlay.test.tsx:238:32)
|
||||
|
||||
|
||||
Test Suites: 1 failed, 2 passed, 3 total
|
||||
Tests: 1 failed, 58 passed, 59 total
|
||||
Snapshots: 0 total
|
||||
Time: 31.323 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx|src/dialog-text.test.tsx|src/application-workspace-overlay.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-dialog-green.json
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,955 @@
|
||||
FAIL src/jobs-view-integration.test.tsx (8.5 s)
|
||||
● pending trash confirmation for 1 jobs follows en to nb without changing selection
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Flytt jobb til papirkurv"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
presentation:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-root MuiModal-root css-1oaxuzu-MuiModal-root-MuiDialog-root"
|
||||
role="presentation"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-container MuiDialog-scrollPaper css-19do60a-MuiDialog-container"
|
||||
role="presentation"
|
||||
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
||||
tabindex="-1"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
dialog:
|
||||
|
||||
Name "Move job to trash":
|
||||
<div
|
||||
aria-describedby="_r_0_"
|
||||
aria-labelledby="_r_1_"
|
||||
aria-modal="true"
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-n24a7g-MuiPaper-root-MuiDialog-paper"
|
||||
role="dialog"
|
||||
style="--Paper-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Move job to trash":
|
||||
<h2
|
||||
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-rcehg8-MuiTypography-root-MuiDialogTitle-root"
|
||||
id="_r_1_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Move job to trash":
|
||||
<div
|
||||
aria-labelledby="_r_1_"
|
||||
class="MuiDialogContent-root css-kw13he-MuiDialogContent-root"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
alert:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-outlinedWarning MuiAlert-outlined css-15us3fl-MuiPaper-root-MuiAlert-root"
|
||||
role="alert"
|
||||
style="--Paper-shadow: none;"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-3yi46c-MuiTypography-root"
|
||||
id="_r_0_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Avbryt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-focusVisible MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Move":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError css-1c26q6j-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body
|
||||
style="padding-right: 1024px; overflow: hidden;"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
>
|
||||
<output
|
||||
aria-label="Route"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<button>
|
||||
History back
|
||||
</button>
|
||||
<button>
|
||||
History forward
|
||||
</button>
|
||||
<button>
|
||||
Job created
|
||||
</button>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobbvisning"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Tabell
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Tavle
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
>
|
||||
27 jobber samsvarer
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_6_"
|
||||
id="_r_6_-label"
|
||||
>
|
||||
Søk
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_6_"
|
||||
placeholder="Tittel, selskap, notater, meldinger"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Søk
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl ...
|
||||
|
||||
54 | const readsBefore = reads('/jobapplications').length;
|
||||
55 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
|
||||
> 56 | expect(screen.getByRole('dialog', { name: translations[to][titleKey] })).toBe(opened);
|
||||
| ^
|
||||
57 | expect(opened).toHaveAccessibleDescription(count === 1 ? translations[to].jobTableMoveOneConfirm.replace('{title}', jobs[0].jobTitle).replace('{company}', jobs[0].company.name) : translations[to].jobTableMoveManyConfirm.replace('{count}', String(count)));
|
||||
58 | expect(within(opened).getByRole('button', { name: translations[to].jobTableMove })).toBeVisible();
|
||||
59 | expect(mockedApi.delete).not.toHaveBeenCalled();
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at getByRole (src/jobs-view-integration.test.tsx:56:17)
|
||||
|
||||
● pending trash confirmation for 1 jobs follows nb to en without changing selection
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Move job to trash"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
presentation:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-root MuiModal-root css-1oaxuzu-MuiModal-root-MuiDialog-root"
|
||||
role="presentation"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-container MuiDialog-scrollPaper css-19do60a-MuiDialog-container"
|
||||
role="presentation"
|
||||
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
||||
tabindex="-1"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
dialog:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<div
|
||||
aria-describedby="_r_1g_"
|
||||
aria-labelledby="_r_1h_"
|
||||
aria-modal="true"
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-n24a7g-MuiPaper-root-MuiDialog-paper"
|
||||
role="dialog"
|
||||
style="--Paper-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<h2
|
||||
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-rcehg8-MuiTypography-root-MuiDialogTitle-root"
|
||||
id="_r_1h_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Flytt jobb til papirkurv":
|
||||
<div
|
||||
aria-labelledby="_r_1h_"
|
||||
class="MuiDialogContent-root css-kw13he-MuiDialogContent-root"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
alert:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-outlinedWarning MuiAlert-outlined css-15us3fl-MuiPaper-root-MuiAlert-root"
|
||||
role="alert"
|
||||
style="--Paper-shadow: none;"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-3yi46c-MuiTypography-root"
|
||||
id="_r_1g_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Cancel":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-focusVisible MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Flytt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError css-1c26q6j-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body
|
||||
style="padding-right: 1024px; overflow: hidden;"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
>
|
||||
<output
|
||||
aria-label="Route"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<button>
|
||||
History back
|
||||
</button>
|
||||
<button>
|
||||
History forward
|
||||
</button>
|
||||
<button>
|
||||
Job created
|
||||
</button>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobs view"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Table
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Board
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
>
|
||||
27 matching jobs
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_1m_"
|
||||
id="_r_1m_-label"
|
||||
>
|
||||
Search
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_1m_"
|
||||
placeholder="Title, company, notes, messages"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Search
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl M...
|
||||
|
||||
54 | const readsBefore = reads('/jobapplications').length;
|
||||
55 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
|
||||
> 56 | expect(screen.getByRole('dialog', { name: translations[to][titleKey] })).toBe(opened);
|
||||
| ^
|
||||
57 | expect(opened).toHaveAccessibleDescription(count === 1 ? translations[to].jobTableMoveOneConfirm.replace('{title}', jobs[0].jobTitle).replace('{company}', jobs[0].company.name) : translations[to].jobTableMoveManyConfirm.replace('{count}', String(count)));
|
||||
58 | expect(within(opened).getByRole('button', { name: translations[to].jobTableMove })).toBeVisible();
|
||||
59 | expect(mockedApi.delete).not.toHaveBeenCalled();
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at getByRole (src/jobs-view-integration.test.tsx:56:17)
|
||||
|
||||
● pending trash confirmation for 2 jobs follows en to nb without changing selection
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Flytt jobber til papirkurv"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
presentation:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-root MuiModal-root css-1oaxuzu-MuiModal-root-MuiDialog-root"
|
||||
role="presentation"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-container MuiDialog-scrollPaper css-19do60a-MuiDialog-container"
|
||||
role="presentation"
|
||||
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
||||
tabindex="-1"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
dialog:
|
||||
|
||||
Name "Move jobs to trash":
|
||||
<div
|
||||
aria-describedby="_r_30_"
|
||||
aria-labelledby="_r_31_"
|
||||
aria-modal="true"
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-n24a7g-MuiPaper-root-MuiDialog-paper"
|
||||
role="dialog"
|
||||
style="--Paper-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Move jobs to trash":
|
||||
<h2
|
||||
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-rcehg8-MuiTypography-root-MuiDialogTitle-root"
|
||||
id="_r_31_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Move jobs to trash":
|
||||
<div
|
||||
aria-labelledby="_r_31_"
|
||||
class="MuiDialogContent-root css-kw13he-MuiDialogContent-root"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
alert:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-outlinedWarning MuiAlert-outlined css-15us3fl-MuiPaper-root-MuiAlert-root"
|
||||
role="alert"
|
||||
style="--Paper-shadow: none;"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-3yi46c-MuiTypography-root"
|
||||
id="_r_30_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Avbryt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-focusVisible MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Move":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError css-1c26q6j-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body
|
||||
style="padding-right: 1024px; overflow: hidden;"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
>
|
||||
<output
|
||||
aria-label="Route"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<button>
|
||||
History back
|
||||
</button>
|
||||
<button>
|
||||
History forward
|
||||
</button>
|
||||
<button>
|
||||
Job created
|
||||
</button>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobbvisning"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Tabell
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Tavle
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
>
|
||||
27 jobber samsvarer
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_36_"
|
||||
id="_r_36_-label"
|
||||
>
|
||||
Søk
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_36_"
|
||||
placeholder="Tittel, selskap, notater, meldinger"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Søk
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formContr...
|
||||
|
||||
54 | const readsBefore = reads('/jobapplications').length;
|
||||
55 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
|
||||
> 56 | expect(screen.getByRole('dialog', { name: translations[to][titleKey] })).toBe(opened);
|
||||
| ^
|
||||
57 | expect(opened).toHaveAccessibleDescription(count === 1 ? translations[to].jobTableMoveOneConfirm.replace('{title}', jobs[0].jobTitle).replace('{company}', jobs[0].company.name) : translations[to].jobTableMoveManyConfirm.replace('{count}', String(count)));
|
||||
58 | expect(within(opened).getByRole('button', { name: translations[to].jobTableMove })).toBeVisible();
|
||||
59 | expect(mockedApi.delete).not.toHaveBeenCalled();
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at getByRole (src/jobs-view-integration.test.tsx:56:17)
|
||||
|
||||
● pending trash confirmation for 2 jobs follows nb to en without changing selection
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "dialog" and name "Move jobs to trash"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
presentation:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-root MuiModal-root css-1oaxuzu-MuiModal-root-MuiDialog-root"
|
||||
role="presentation"
|
||||
/>
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiDialog-container MuiDialog-scrollPaper css-19do60a-MuiDialog-container"
|
||||
role="presentation"
|
||||
style="opacity: 1; transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;"
|
||||
tabindex="-1"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
dialog:
|
||||
|
||||
Name "Flytt jobber til papirkurv":
|
||||
<div
|
||||
aria-describedby="_r_4g_"
|
||||
aria-labelledby="_r_4h_"
|
||||
aria-modal="true"
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation24 MuiDialog-paper MuiDialog-paperScrollPaper MuiDialog-paperWidthXs MuiDialog-paperFullWidth css-n24a7g-MuiPaper-root-MuiDialog-paper"
|
||||
role="dialog"
|
||||
style="--Paper-shadow: 0px 11px 15px -7px rgba(0,0,0,0.2),0px 24px 38px 3px rgba(0,0,0,0.14),0px 9px 46px 8px rgba(0,0,0,0.12);"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
heading:
|
||||
|
||||
Name "Flytt jobber til papirkurv":
|
||||
<h2
|
||||
class="MuiTypography-root MuiTypography-h6 MuiDialogTitle-root css-rcehg8-MuiTypography-root-MuiDialogTitle-root"
|
||||
id="_r_4h_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
region:
|
||||
|
||||
Name "Flytt jobber til papirkurv":
|
||||
<div
|
||||
aria-labelledby="_r_4h_"
|
||||
class="MuiDialogContent-root css-kw13he-MuiDialogContent-root"
|
||||
role="region"
|
||||
tabindex="0"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
alert:
|
||||
|
||||
Name "":
|
||||
<div
|
||||
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation0 MuiAlert-root MuiAlert-colorWarning MuiAlert-outlinedWarning MuiAlert-outlined css-15us3fl-MuiPaper-root-MuiAlert-root"
|
||||
role="alert"
|
||||
style="--Paper-shadow: none;"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
paragraph:
|
||||
|
||||
Name "":
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body1 css-3yi46c-MuiTypography-root"
|
||||
id="_r_4g_"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Cancel":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary Mui-focusVisible MuiButton-root MuiButton-text MuiButton-textPrimary MuiButton-sizeMedium MuiButton-textSizeMedium MuiButton-colorPrimary css-1dn15bh-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
Name "Flytt":
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError MuiButton-root MuiButton-contained MuiButton-containedError MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-colorError css-1c26q6j-MuiButtonBase-root-MuiButton-root"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
/>
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
<body
|
||||
style="padding-right: 1024px; overflow: hidden;"
|
||||
>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
>
|
||||
<output
|
||||
aria-label="Route"
|
||||
>
|
||||
/jobs
|
||||
</output>
|
||||
<button>
|
||||
History back
|
||||
</button>
|
||||
<button>
|
||||
History forward
|
||||
</button>
|
||||
<button>
|
||||
Job created
|
||||
</button>
|
||||
<div
|
||||
class="MuiBox-root css-0"
|
||||
>
|
||||
<div
|
||||
class="MuiBox-root css-1g1pux1"
|
||||
>
|
||||
<div
|
||||
aria-label="Jobs view"
|
||||
class="MuiBox-root css-1utx3w7"
|
||||
role="group"
|
||||
>
|
||||
<a
|
||||
aria-current="page"
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeSmall MuiButton-containedSizeSmall MuiButton-colorPrimary css-tm237w-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=table"
|
||||
tabindex="0"
|
||||
>
|
||||
Table
|
||||
</a>
|
||||
<a
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary MuiButton-root MuiButton-outlined MuiButton-outlinedPrimary MuiButton-sizeSmall MuiButton-outlinedSizeSmall MuiButton-colorPrimary css-74b9is-MuiButtonBase-root-MuiButton-root"
|
||||
data-discover="true"
|
||||
href="/jobs?view=board"
|
||||
tabindex="0"
|
||||
>
|
||||
Board
|
||||
</a>
|
||||
</div>
|
||||
<p
|
||||
class="MuiTypography-root MuiTypography-body2 css-1qf9eb3-MuiTypography-root"
|
||||
role="status"
|
||||
>
|
||||
27 matching jobs
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
class="MuiBox-root css-1eini8u"
|
||||
>
|
||||
<div
|
||||
class="MuiFormControl-root MuiTextField-root css-1lssrpz-MuiFormControl-root-MuiTextField-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
for="_r_4m_"
|
||||
id="_r_4m_-label"
|
||||
>
|
||||
Search
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl MuiInputBase-sizeSmall MuiInputBase-adornedStart css-71sp51-MuiInputBase-root-MuiOutlinedInput-root"
|
||||
>
|
||||
<div
|
||||
class="MuiInputAdornment-root MuiInputAdornment-positionStart MuiInputAdornment-outlined MuiInputAdornment-sizeSmall css-1nowbqt-MuiInputAdornment-root"
|
||||
>
|
||||
<span
|
||||
aria-hidden="true"
|
||||
class="notranslate"
|
||||
>
|
||||
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"
|
||||
data-testid="SearchIcon"
|
||||
focusable="false"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<input
|
||||
aria-invalid="false"
|
||||
class="MuiInputBase-input MuiOutlinedInput-input MuiInputBase-inputSizeSmall MuiInputBase-inputAdornedStart css-14mk4rm-MuiInputBase-input-MuiOutlinedInput-input"
|
||||
id="_r_4m_"
|
||||
placeholder="Title, company, notes, messages"
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
<fieldset
|
||||
aria-hidden="true"
|
||||
class="MuiOutlinedInput-notchedOutline css-18p5xg2-MuiNotchedOutlined-root-MuiOutlinedInput-notchedOutline"
|
||||
>
|
||||
<legend
|
||||
class="css-ex8a5f-MuiNotchedOutlined-root"
|
||||
>
|
||||
<span>
|
||||
Search
|
||||
</span>
|
||||
</legend>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="MuiFormControl-root css-1f2y67v-MuiFormControl-root"
|
||||
>
|
||||
<label
|
||||
class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined MuiFormLabel-colorPrimary MuiFormLabel-filled MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-shrink MuiInputLabel-sizeSmall MuiInputLabel-outlined css-fluw5i-MuiFormLabel-root-MuiInputLabel-root"
|
||||
data-shrink="true"
|
||||
id="job-table-status-label"
|
||||
>
|
||||
Status
|
||||
</label>
|
||||
<div
|
||||
class="MuiInputBase-root MuiOutlinedInput-root MuiInputBase-colorPrimary MuiInputBase-formControl M...
|
||||
|
||||
54 | const readsBefore = reads('/jobapplications').length;
|
||||
55 | await act(async () => { window.dispatchEvent(new StorageEvent('storage', { key: 'uiLanguage', newValue: to })); });
|
||||
> 56 | expect(screen.getByRole('dialog', { name: translations[to][titleKey] })).toBe(opened);
|
||||
| ^
|
||||
57 | expect(opened).toHaveAccessibleDescription(count === 1 ? translations[to].jobTableMoveOneConfirm.replace('{title}', jobs[0].jobTitle).replace('{company}', jobs[0].company.name) : translations[to].jobTableMoveManyConfirm.replace('{count}', String(count)));
|
||||
58 | expect(within(opened).getByRole('button', { name: translations[to].jobTableMove })).toBeVisible();
|
||||
59 | expect(mockedApi.delete).not.toHaveBeenCalled();
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at getByRole (src/jobs-view-integration.test.tsx:56:17)
|
||||
|
||||
Test Suites: 1 failed, 1 total
|
||||
Tests: 4 failed, 18 skipped, 22 total
|
||||
Snapshots: 0 total
|
||||
Time: 9.398 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx with tests matching "pending trash".
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-dialog-red.json
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,184 @@
|
||||
FAIL src/application-workspace-overlay.test.tsx (5.627 s)
|
||||
● row controls do not trigger navigation
|
||||
|
||||
TestingLibraryElementError: Unable to find an accessible element with the role "checkbox"
|
||||
|
||||
Here are the accessible roles:
|
||||
|
||||
cell:
|
||||
|
||||
Name "Backend Developer":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1jip27w-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Acme":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-3i322-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Oslo":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-w84ws3-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "Waiting":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "8/1/2026":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "9":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "—":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------cell:
|
||||
|
||||
Name "":
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-alignRight MuiTableCell-sizeSmall css-1yqc7as-MuiTableCell-root"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
button:
|
||||
|
||||
Name "Actions: Backend Developer":
|
||||
[36m<button[39m
|
||||
[33maria-expanded[39m=[32m"false"[39m
|
||||
[33maria-haspopup[39m=[32m"menu"[39m
|
||||
[33maria-label[39m=[32m"Actions: Backend Developer"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1eb3a3i-MuiButtonBase-root-MuiIconButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtitle[39m=[32m"Actions"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m/>[39m
|
||||
|
||||
--------------------------------------------------
|
||||
|
||||
Ignored nodes: comments, script, style
|
||||
[36m<tr[39m
|
||||
[33maria-label[39m=[32m"Open Backend Developer at Acme"[39m
|
||||
[33mclass[39m=[32m"MuiTableRow-root MuiTableRow-hover css-1j5icz3-MuiTableRow-root"[39m
|
||||
[33mdata-job-row-id[39m=[32m"42"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[36m>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1jip27w-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiBox-root css-1qocved"[39m
|
||||
[36m>[39m
|
||||
[36m<span[39m
|
||||
[33mclass[39m=[32m"MuiTypography-root MuiTypography-body1 css-qs4z2u-MuiTypography-root"[39m
|
||||
[36m>[39m
|
||||
[0mBackend Developer[0m
|
||||
[36m</span>[39m
|
||||
[36m</div>[39m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-3i322-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[0mAcme[0m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-w84ws3-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[0mOslo[0m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[36m<div[39m
|
||||
[33mclass[39m=[32m"MuiChip-root MuiChip-outlined MuiChip-sizeSmall MuiChip-colorWarning MuiChip-outlinedWarning css-c6rydt-MuiChip-root"[39m
|
||||
[36m>[39m
|
||||
[36m<span[39m
|
||||
[33mclass[39m=[32m"MuiChip-label MuiChip-labelSmall css-19m61dl-MuiChip-label"[39m
|
||||
[36m>[39m
|
||||
[0mWaiting[0m
|
||||
[36m</span>[39m
|
||||
[36m</div>[39m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[0m8/1/2026[0m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[0m9[0m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-sizeSmall css-1uwqjd6-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[0m—[0m
|
||||
[36m</td>[39m
|
||||
[36m<td[39m
|
||||
[33mclass[39m=[32m"MuiTableCell-root MuiTableCell-body MuiTableCell-alignRight MuiTableCell-sizeSmall css-1yqc7as-MuiTableCell-root"[39m
|
||||
[36m>[39m
|
||||
[36m<button[39m
|
||||
[33maria-expanded[39m=[32m"false"[39m
|
||||
[33maria-haspopup[39m=[32m"menu"[39m
|
||||
[33maria-label[39m=[32m"Actions: Backend Developer"[39m
|
||||
[33mclass[39m=[32m"MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-1eb3a3i-MuiButtonBase-root-MuiIconButton-root"[39m
|
||||
[33mtabindex[39m=[32m"0"[39m
|
||||
[33mtitle[39m=[32m"Actions"[39m
|
||||
[33mtype[39m=[32m"button"[39m
|
||||
[36m>[39m
|
||||
[36m<svg[39m
|
||||
[33maria-hidden[39m=[32m"true"[39m
|
||||
[33mclass[39m=[32m"MuiSvgIcon-root MuiSvgIcon-fontSizeSmall css-120dh41-MuiSvgIcon-root"[39m
|
||||
[33mdata-testid[39m=[32m"MoreHorizIcon"[39m
|
||||
[33mfocusable[39m=[32m"false"[39m
|
||||
[33mviewBox[39m=[32m"0 0 24 24"[39m
|
||||
[36m>[39m
|
||||
[36m<path[39m
|
||||
[33md[39m=[32m"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"[39m
|
||||
[36m/>[39m
|
||||
[36m</svg>[39m
|
||||
[36m</button>[39m
|
||||
[36m</td>[39m
|
||||
[36m</tr>[39m
|
||||
|
||||
236 |
|
||||
237 | const row = await screen.findByRole("row", { name: /open backend developer/i });
|
||||
> 238 | const checkbox = within(row).getByRole("checkbox");
|
||||
| ^
|
||||
239 | fireEvent.click(checkbox);
|
||||
240 |
|
||||
241 | expect(screen.getByTestId("location")).toHaveTextContent(/^\/jobs$/);
|
||||
|
||||
at Object.getElementError (node_modules/@testing-library/dom/dist/config.js:37:19)
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:76:38
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:52:17
|
||||
at node_modules/@testing-library/dom/dist/query-helpers.js:95:19
|
||||
at Object.getByRole (src/application-workspace-overlay.test.tsx:238:32)
|
||||
|
||||
Test Suites: 1 failed, 1 total
|
||||
Tests: 1 failed, 26 skipped, 27 total
|
||||
Snapshots: 0 total
|
||||
Time: 6.728 s
|
||||
Ran all test suites matching src/application-workspace-overlay.test.tsx with tests matching "row controls do not trigger navigation".
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-dialog-selection-baseline.json
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
Re-extracting code files in . (no LLM needed)...
|
||||
[graphify watch] 633 file(s) not classified (no supported extension or shebang), skipped: .dockerignore, .env.example, .git, .gitattributes, .gitignore, 1440-en-dark-converted.gz (+627 more)
|
||||
AST cache: 2574/3018 files served from cache (85%); 444 to extract
|
||||
AST extraction: 100/444 uncached files (22%) [16 workers]
|
||||
AST extraction: 200/444 uncached files (45%) [16 workers]
|
||||
AST extraction: 300/444 uncached files (67%) [16 workers]
|
||||
AST extraction: 400/444 uncached files (90%) [16 workers]
|
||||
AST extraction: 444/444 uncached files (100%) [16 workers]
|
||||
warning: 8 .sql file(s) contributed nothing to the graph because a dependency is missing: tree_sitter_sql not installed. Install it with: pip install "graphifyy[sql]" (#1745)
|
||||
warning: 144 code file(s) yielded no symbols (0.14 MB) — a data file, or source this extractor models no symbols for: JobTrackerApi.Tests/PdfBrowserStub/Program.cs, JobTrackerApi/Program.cs, JobTrackerApi/Properties/AssemblyInfo.cs, browser-extension/tests/capture-url.test.mjs, docs/audits/2026-09-07/validation/evidence/b05-excel-probe.ps1 (+139 more)
|
||||
[graphify watch] No code-graph topology changes detected; outputs left untouched.
|
||||
Code graph updated. For doc/paper/image changes run /graphify --update in your AI assistant.
|
||||
Tip: set GEMINI_API_KEY or GOOGLE_API_KEY to use Gemini for semantic extraction.
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
|
||||
Test Suites: 3 passed, 3 total
|
||||
Tests: 59 passed, 59 total
|
||||
Snapshots: 0 total
|
||||
Time: 38.95 s
|
||||
Ran all test suites matching src/jobs-view-integration.test.tsx|src/dialog-text.test.tsx|src/application-workspace-overlay.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\jobs-dialog-verified.json
|
||||
Binary file not shown.
Reference in New Issue
Block a user