2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-09-13 22:21:37 +00:00

Template Editor Improvements (#9434)

* add unmount hook and context to report editor ui feature

* Fix tests

* Update pui_printing.spec.ts

* Update pui_printing.spec.ts

* try fix tests

* retrigger ci

* remove debug messages
This commit is contained in:
Lukas
2025-04-02 00:01:12 +02:00
committed by GitHub
parent 6a964a4e2b
commit ba703cf58a
10 changed files with 30 additions and 22 deletions

View File

@@ -138,7 +138,7 @@ test('Report Editing', async ({ browser, request }) => {
.click();
const msg = (await consoleLogPromise).args();
expect(await msg[0].jsonValue()).toBe('updatePreview');
expect((await msg[1].jsonValue())[0]).toBe(newTextareaValue);
expect(await msg[1].jsonValue()).toBe(newTextareaValue);
// deactivate the sample plugin again after the test
await setPluginState({