mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-01 14:13:09 +03:00
16 lines
533 B
TypeScript
16 lines
533 B
TypeScript
import { expect } from '@playwright/test';
|
|
|
|
import { openHomePage } from '../libs/load-page';
|
|
import { waitMarkdownImported } from '../libs/page-logic';
|
|
import { test } from '../libs/playwright';
|
|
|
|
test.describe('subpage', () => {
|
|
test('Create subpage', async ({ page }) => {
|
|
await openHomePage(page);
|
|
await waitMarkdownImported(page);
|
|
await page.getByTestId('sliderBar-arrowButton-collapse').click();
|
|
const sliderBarArea = page.getByTestId('sliderBar');
|
|
await expect(sliderBarArea).not.toBeVisible();
|
|
});
|
|
});
|