mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix(playwright): fix flaky tests (#8319)
This commit is contained in:
@@ -265,6 +265,12 @@ test.describe('Snapshot: Workspace State', () => {
|
||||
});
|
||||
|
||||
test('workspace collection sorting persists across workspace switches and restart', async ({ launchElectronApp, createTmpDir }) => {
|
||||
// Heaviest restart test in this file (4 collections across 2 workspaces, sort
|
||||
// toggles, multiple snapshot-file polls, then a full restart). It needs the same
|
||||
// extended budget as the other multi-collection restart tests, otherwise it runs
|
||||
// out of time mid-restart on slower runners (e.g. Windows CI, especially when the
|
||||
// job doesn't set CI=true and the default collapses to 30s).
|
||||
test.setTimeout(60000);
|
||||
const userDataPath = await createTmpDir('snap-ws-collection-sorting');
|
||||
|
||||
const defaultColZPath = await createTmpDir('default-col-zulu');
|
||||
|
||||
Reference in New Issue
Block a user