mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 03:22:46 +03:00
35fb10c95b
Co-authored-by: Himself65 <himself65@outlook.com>
14 lines
491 B
TypeScript
14 lines
491 B
TypeScript
import { test } from '@affine-test/kit/playwright';
|
|
import { expect } from '@playwright/test';
|
|
|
|
import { openHomePage } from '../libs/load-page';
|
|
import { waitEditorLoad } from '../libs/page-logic';
|
|
|
|
test('Create subpage', async ({ page }) => {
|
|
await openHomePage(page);
|
|
await waitEditorLoad(page);
|
|
await page.getByTestId('app-sidebar-arrow-button-collapse').click();
|
|
const sliderBarArea = page.getByTestId('sliderBar-inner');
|
|
await expect(sliderBarArea).not.toBeInViewport();
|
|
});
|