fix(core): css.ts hmr (#3317)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-19 15:52:21 +00:00
1 parent ae182bfd78
commit 19925038ba
7 files changed
+56 -10

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ test('goto not found workspace', async ({ page }) => {
await openHomePage(page);
await waitEditorLoad(page);
const currentUrl = page.url();
// if doesn't wait for timeout, data won't be saved into indexedDB
await page.waitForTimeout(1000);
await page.goto(new URL('/workspace/invalid/all', webUrl).toString());
await waitEditorLoad(page);
expect(page.url()).toEqual(currentUrl);