|
|
|
|
@ -6,9 +6,9 @@ test("displays simple map", async ({ page, context }) => {
|
|
|
|
|
await app.goto();
|
|
|
|
|
await app.goToNoteInNewTab("Sample mindmap");
|
|
|
|
|
|
|
|
|
|
expect(app.currentNoteSplit).toContainText("Hello world");
|
|
|
|
|
expect(app.currentNoteSplit).toContainText("1");
|
|
|
|
|
expect(app.currentNoteSplit).toContainText("1a");
|
|
|
|
|
await expect(app.currentNoteSplit).toContainText("Hello world");
|
|
|
|
|
await expect(app.currentNoteSplit).toContainText("1");
|
|
|
|
|
await expect(app.currentNoteSplit).toContainText("1a");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
test("displays note settings", async ({ page, context }) => {
|
|
|
|
|
@ -18,5 +18,5 @@ test("displays note settings", async ({ page, context }) => {
|
|
|
|
|
|
|
|
|
|
await app.currentNoteSplit.getByText("Hello world").click({ force: true });
|
|
|
|
|
const nodeMenu = app.currentNoteSplit.locator(".node-menu");
|
|
|
|
|
expect(nodeMenu).toBeVisible();
|
|
|
|
|
await expect(nodeMenu).toBeVisible();
|
|
|
|
|
});
|
|
|
|
|
|