feat(core): add sign out confirm modal (#4592)

This commit is contained in:
JimmFly
2023-10-16 16:44:09 +08:00
committed by GitHub
parent c1d386d932
commit 07b5d18441
13 changed files with 199 additions and 50 deletions

View File

@@ -1,6 +1,7 @@
import path from 'node:path';
import { test } from '@affine-test/kit/electron';
import { clickSideBarCurrentWorkspaceBanner } from '@affine-test/kit/utils/sidebar';
import { expect } from '@playwright/test';
import fs from 'fs-extra';
@@ -85,7 +86,7 @@ test.fixme('export then add', async ({ page, appInfo, workspace }) => {
// add workspace
// we are reusing the same db file so that we don't need to maintain one
// in the codebase
await page.getByTestId('current-workspace').click();
await clickSideBarCurrentWorkspaceBanner(page);
await page.getByTestId('add-or-new-workspace').click();
await page.evaluate(tmpPath => {