chore(integration): snapshot local main worktree
This commit is contained in:
1 parent
48a9189939
commit
33fb31fb28
116 files changed
+8108
-3026
No files matched your search
@@ -49,6 +49,19 @@ test.describe('Makelore Electron smoke flows', () => {
|
||||
await expect(page.getByRole('button', { name: '在浏览器中继续', exact: true })).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('redirects a signed-out direct workspace route to login', async ({ page }) => {
|
||||
await expect(page.getByTestId('setup-page')).toBeVisible();
|
||||
await page.getByTestId('setup-skip-button').click();
|
||||
await expect(page.getByTestId('ai-module-selection-page')).toBeVisible();
|
||||
|
||||
await page.evaluate(() => {
|
||||
window.location.hash = '#/chat';
|
||||
});
|
||||
|
||||
await expect(page.getByRole('tab', { name: '密码登录', exact: true })).toBeVisible();
|
||||
await expect(page.getByTestId('main-layout')).toHaveCount(0);
|
||||
});
|
||||
|
||||
test('persists skipped setup across relaunch for the same isolated profile', async ({ electronApp, launchElectronApp }) => {
|
||||
const firstWindow = await electronApp.firstWindow();
|
||||
await firstWindow.waitForLoadState('domcontentloaded');
|
||||
|
||||
Reference in new issue
Block a user