mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-28 19:12:07 +03:00
14 lines
503 B
TypeScript
14 lines
503 B
TypeScript
import { test } from '@affine-test/kit/playwright';
|
|
import { expect } from '@playwright/test';
|
|
|
|
import { openHomePage } from '../libs/load-page';
|
|
import { waitMarkdownImported } from '../libs/page-logic';
|
|
|
|
test('Create subpage', async ({ page }) => {
|
|
await openHomePage(page);
|
|
await waitMarkdownImported(page);
|
|
await page.getByTestId('app-sidebar-arrow-button-collapse').click();
|
|
const sliderBarArea = page.getByTestId('sliderBar-inner');
|
|
await expect(sliderBarArea).not.toBeInViewport();
|
|
});
|