test: assert current workspace flavour (#1664)

This commit is contained in:
Himself65
2023-03-22 23:22:29 -05:00
committed by GitHub
parent 35d4560e9f
commit 059d9e5de2
18 changed files with 66 additions and 7 deletions
+2
View File
@@ -7,6 +7,7 @@ import {
newPage,
} from './libs/page-logic';
import { test } from './libs/playwright';
import { assertCurrentWorkspaceFlavour } from './libs/workspace';
loadPage();
test.describe('Local first export page', () => {
@@ -65,5 +66,6 @@ test.describe('Local first export page', () => {
expect(download.suggestedFilename()).toBe(
'this is a new page to export markdown content.md'
);
await assertCurrentWorkspaceFlavour('local', page);
});
});