mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-25 03:53:19 +03:00
test: increase retries
times to 3 (#1763)
This commit is contained in:
parent
c55d61a641
commit
bd67554f5e
@ -36,7 +36,7 @@ const config: PlaywrightTestConfig = {
|
||||
},
|
||||
forbidOnly: !!process.env.CI,
|
||||
workers: 4,
|
||||
retries: 1,
|
||||
retries: 3,
|
||||
// 'github' for GitHub Actions CI to generate annotations, plus a concise 'dot'
|
||||
// default 'list' when running locally
|
||||
// See https://playwright.dev/docs/test-reporters#github-actions-annotations
|
||||
|
@ -45,7 +45,7 @@ test.describe('affine workspace', () => {
|
||||
await page.getByTestId('local-workspace-enable-cloud-button').click();
|
||||
await page.getByTestId('confirm-enable-cloud-button').click();
|
||||
await page.waitForSelector("[data-testid='member-length']", {
|
||||
timeout: 10000,
|
||||
timeout: 20000,
|
||||
});
|
||||
await clickSideBarAllPageButton(page);
|
||||
await clickNewPageButton(page);
|
||||
|
@ -20,6 +20,7 @@ test.describe('Change Theme', () => {
|
||||
);
|
||||
expect(themeMode).toBe('light');
|
||||
|
||||
await page.waitForTimeout(50);
|
||||
const rightMenu = page.getByTestId('editor-option-menu');
|
||||
const rightMenuBox = await rightMenu.boundingBox();
|
||||
const lightButton = page.getByTestId('change-theme-light');
|
||||
|
Loading…
Reference in New Issue
Block a user