feat: add new page to the sidebar #5095 (#5128)

Co-authored-by: 李华桥 <joooye1991@gmail.com>
This commit is contained in:
Anthony
2023-12-05 14:18:21 +08:00
committed by GitHub
parent 2b7c6714eb
commit 56ace48226
3 changed files with 42 additions and 8 deletions

View File

@@ -130,7 +130,7 @@ test("Deleted page's reference will not be shown in sidebar", async ({
test('Add new favorite page via sidebar', async ({ page }) => {
await openHomePage(page);
await waitForEditorLoad(page);
await page.getByTestId('slider-bar-add-favorite-button').click();
await page.getByTestId('slider-bar-add-favorite-button').first().click();
await waitForEditorLoad(page);
// enter random page title