fix: windows rust cache (#1710)

This commit is contained in:
Peng Xiao authored and GitHub committed 2023-03-28 05:25:16 +00:00
1 parent 26b030ecda
commit 5a508b1fe4
27 files changed
+129 -23

No files matched your search

+3 -1
View File
@@ -1,12 +1,13 @@
import { expect } from '@playwright/test';
import { openHomePage } from '../libs/load-page';
import { clickPageMoreActions } from '../libs/page-logic';
import { clickPageMoreActions, waitMarkdownImported } from '../libs/page-logic';
import { test } from '../libs/playwright';
test.describe('Change page mode(Page or Edgeless)', () => {
test('Switch to edgeless by switch edgeless item', async ({ page }) => {
await openHomePage(page);
await waitMarkdownImported(page);
const btn = await page.getByTestId('switch-edgeless-mode-button');
await btn.click();
@@ -16,6 +17,7 @@ test.describe('Change page mode(Page or Edgeless)', () => {
test('Convert to edgeless by editor header items', async ({ page }) => {
await openHomePage(page);
await waitMarkdownImported(page);
await clickPageMoreActions(page);
const menusEdgelessItem = page.getByTestId('editor-option-menu-edgeless');
await menusEdgelessItem.click({ delay: 100 });