Skip to content

Commit 06067da

Browse files
Merge pull request #776 from ral-facilities/DSEGOG-526-fix-reversed-plots
DSEGOG-526 Fix reversed trace plots
2 parents 91923b6 + b81149d commit 06067da

File tree

58 files changed

+58
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+58
-37
lines changed

e2e/mocked/plotting.spec.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -770,14 +770,13 @@ test('prompts the user to save if plot has unsaved changes', async ({
770770
// expect popup to remain open
771771
await expect(popup.isClosed()).toBe(false);
772772

773-
// not working atm: see https://github.com/microsoft/playwright/issues/37597
774-
// await popup.getByRole('button', { name: 'Save' }).click();
773+
await popup.getByRole('button', { name: 'Save' }).click();
775774

776-
// await popup.close({ runBeforeUnload: true });
775+
await popup.close({ runBeforeUnload: true });
777776

778-
// await page.waitForTimeout(500);
777+
await page.waitForTimeout(500);
779778

780-
// await expect(popup.isClosed()).toBe(true);
779+
await expect(popup.isClosed()).toBe(true);
781780
});
782781

783782
test('does not prompt the user to save if plot has no unsaved changes', async ({
-290 Bytes
-964 Bytes
-722 Bytes
-555 Bytes
-310 Bytes
-1.6 KB
-1.39 KB
-1.37 KB

0 commit comments

Comments
 (0)