docs(i18n): retain attachment dialog regression evidence
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"sourceCommit": "19c3ebf11dda33b2a3e7dbebd840588b2517ceb4",
|
||||
"sourcesLfSha256": {
|
||||
"job-tracker-ui/src/attachments.test.tsx": "20b023eedce62a660149c8436426bae0c5d2b2410b318069ab7f798fca6bc51b",
|
||||
"job-tracker-ui/src/components/Attachments.tsx": "dd0b854477ca835e18d630583756e26d253617b705a6488ff0dacec3ca1c0528"
|
||||
},
|
||||
"evidenceLfSha256": {
|
||||
"red.json": "23a2e54d732e1491f3ec2fc172e0a92823549a0e81a51c302b9400f703b90e7c",
|
||||
"red.txt": "90b1c0dc1d256708eb3ff87c581af499966f779aa7e9bbe8d2f8aacfe3054c74",
|
||||
"green.json": "7146c1a9e9c385b91c5dfeae93e8fd201107654b69b9ccbf941a3183b8ec4b61",
|
||||
"green.txt": "1cc7f5792ae9702fe9ae9b3cc5ff4156910309162cec7199164a9f8079ece557",
|
||||
"final.json": "90bab17ac6466165fd35baef455d3469082ea33d2db38d622f0c9beae19e7fa3",
|
||||
"final.txt": "3532f2224a18b598cbf8dbd8157c6565e255405412d696e72ec588ed720ddbc2",
|
||||
"verified.json": "e87f1e17e0751999b1e41231636ff671090990375fbf22038489e36d02ef2418",
|
||||
"verified.txt": "a61cfbddf10a764af4c4921ff8884ecf45a7be21db95f38b6a564dd9ad6191da",
|
||||
"typecheck.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"lint.txt": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
"nativeReceipts": [
|
||||
{
|
||||
"path": "red.json",
|
||||
"gzipPath": "red.json.gz",
|
||||
"rawSha256": "23a2e54d732e1491f3ec2fc172e0a92823549a0e81a51c302b9400f703b90e7c",
|
||||
"gzipSha256": "e29700ebaea1dd26b8b2a42bbdbcfe79d9f375080d08789b3e44a557a93bc30f"
|
||||
},
|
||||
{
|
||||
"path": "red.txt",
|
||||
"gzipPath": "red.txt.gz",
|
||||
"rawSha256": "25c37610b08b0146a7bbebb3e6a80a9d9ce4e5b78ef33b30ff114beebf0da265",
|
||||
"gzipSha256": "2ff7f2e49a3cbe763480a083366720bc1f6518bafb2dbfe25d9defb8bcd3c980"
|
||||
},
|
||||
{
|
||||
"path": "green.json",
|
||||
"gzipPath": "green.json.gz",
|
||||
"rawSha256": "7146c1a9e9c385b91c5dfeae93e8fd201107654b69b9ccbf941a3183b8ec4b61",
|
||||
"gzipSha256": "a6f06ae85c59f8c37721e87bd67be2ae7004483c6506f2833596d51d48c40d38"
|
||||
},
|
||||
{
|
||||
"path": "green.txt",
|
||||
"gzipPath": "green.txt.gz",
|
||||
"rawSha256": "ae2781b82974a5733c8177499ce76f6d659cb8399f7a875175addba7718c6499",
|
||||
"gzipSha256": "2d4e7c5e90fc3dfb1d42d839b8f985a8b6888d8c51be665597107a6e0096f066"
|
||||
},
|
||||
{
|
||||
"path": "final.json",
|
||||
"gzipPath": "final.json.gz",
|
||||
"rawSha256": "90bab17ac6466165fd35baef455d3469082ea33d2db38d622f0c9beae19e7fa3",
|
||||
"gzipSha256": "a70f652a8785cecc946dd4154cd560a559b0bc223d4ff37042e645a81848f997"
|
||||
},
|
||||
{
|
||||
"path": "final.txt",
|
||||
"gzipPath": "final.txt.gz",
|
||||
"rawSha256": "b4a883d235f3c8f18a96e8a88a7c99b898e8efe5cd44117b6462049458f4ae67",
|
||||
"gzipSha256": "092e2eca279ad9723e5bc91e721a7bfa89b289bab7a259da82c1a4267f7b9c5b"
|
||||
},
|
||||
{
|
||||
"path": "verified.json",
|
||||
"gzipPath": "verified.json.gz",
|
||||
"rawSha256": "e87f1e17e0751999b1e41231636ff671090990375fbf22038489e36d02ef2418",
|
||||
"gzipSha256": "ce932bec7dcdbe22a3204c16f23001fdb473dd990d4b69a8218cbbe096289b08"
|
||||
},
|
||||
{
|
||||
"path": "verified.txt",
|
||||
"gzipPath": "verified.txt.gz",
|
||||
"rawSha256": "fe10ee55ac97ec08da725feaa26ec03187cc8e9dbe72c530249a32881ba05228",
|
||||
"gzipSha256": "057baedc19828239c13e6ff2182665abf28eef114493f91e831d916205faae23"
|
||||
},
|
||||
{
|
||||
"path": "typecheck.txt",
|
||||
"gzipPath": "typecheck.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
},
|
||||
{
|
||||
"path": "lint.txt",
|
||||
"gzipPath": "lint.txt.gz",
|
||||
"rawSha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"gzipSha256": "46b50c321b39e89a491b6727a01628c34245605a30beb3e7414c5e01cff90e6e"
|
||||
}
|
||||
]
|
||||
}
|
||||
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: 29 passed, 29 total
|
||||
Snapshots: 0 total
|
||||
Time: 17.838 s
|
||||
Ran all test suites matching src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-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,76 @@
|
||||
FAIL src/attachments.test.tsx
|
||||
● pending attachment rename follows en to nb without changing file data
|
||||
|
||||
expect(jest.fn()).toHaveBeenCalledTimes(expected)
|
||||
|
||||
Expected number of calls: 1
|
||||
Received number of calls: 2
|
||||
|
||||
57 | }
|
||||
58 | expect(dialog.querySelector('draft')).toBeNull();
|
||||
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
|
||||
| ^
|
||||
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
|
||||
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
|
||||
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
|
||||
|
||||
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
|
||||
|
||||
● pending attachment rename follows nb to en without changing file data
|
||||
|
||||
expect(jest.fn()).toHaveBeenCalledTimes(expected)
|
||||
|
||||
Expected number of calls: 1
|
||||
Received number of calls: 2
|
||||
|
||||
57 | }
|
||||
58 | expect(dialog.querySelector('draft')).toBeNull();
|
||||
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
|
||||
| ^
|
||||
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
|
||||
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
|
||||
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
|
||||
|
||||
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
|
||||
|
||||
● pending attachment delete follows en to nb without changing file data
|
||||
|
||||
expect(jest.fn()).toHaveBeenCalledTimes(expected)
|
||||
|
||||
Expected number of calls: 1
|
||||
Received number of calls: 2
|
||||
|
||||
57 | }
|
||||
58 | expect(dialog.querySelector('draft')).toBeNull();
|
||||
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
|
||||
| ^
|
||||
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
|
||||
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
|
||||
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
|
||||
|
||||
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
|
||||
|
||||
● pending attachment delete follows nb to en without changing file data
|
||||
|
||||
expect(jest.fn()).toHaveBeenCalledTimes(expected)
|
||||
|
||||
Expected number of calls: 1
|
||||
Received number of calls: 2
|
||||
|
||||
57 | }
|
||||
58 | expect(dialog.querySelector('draft')).toBeNull();
|
||||
> 59 | expect(mockedApi.get).toHaveBeenCalledTimes(reads);
|
||||
| ^
|
||||
60 | fireEvent.click(within(dialog).getByRole('button', { name: translations[to].cancel }));
|
||||
61 | await waitFor(() => expect(screen.queryByRole('dialog')).not.toBeInTheDocument());
|
||||
62 | expect(mockedApi.patch).not.toHaveBeenCalled();
|
||||
|
||||
at toHaveBeenCalledTimes (src/attachments.test.tsx:59:27)
|
||||
|
||||
|
||||
Test Suites: 1 failed, 2 passed, 3 total
|
||||
Tests: 4 failed, 25 passed, 29 total
|
||||
Snapshots: 0 total
|
||||
Time: 11.698 s
|
||||
Ran all test suites matching src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-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.
File diff suppressed because it is too large
Load Diff
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,7 @@
|
||||
|
||||
Test Suites: 3 passed, 3 total
|
||||
Tests: 31 passed, 31 total
|
||||
Snapshots: 0 total
|
||||
Time: 13.314 s
|
||||
Ran all test suites matching src/attachments.test.tsx|src/dialog-text.test.tsx|src/file-picker-activation.test.tsx.
|
||||
Test results written to: E:\Storage\Projects\Active\temp docs\jobjakt-local-build\attachment-dialog-verified.json
|
||||
Binary file not shown.
Reference in New Issue
Block a user