Skip to content

Commit

Permalink
BUGFIX: Wait and reload before syncing in E2E test
Browse files Browse the repository at this point in the history
This is to prevent the flakiness described in #3785.
  • Loading branch information
grebaldi committed Jun 14, 2024
1 parent f7ccc5c commit d509042
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/IntegrationTests/Fixtures/1Dimension/syncing.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ async function prepareConflictBetweenAdminAndEditor(t) {
//
// Sync changes from "admin"
//
await t.wait(2000);
await t.eval(() => location.reload(true));
await waitForReact(30000);
await Page.waitForIframeLoading();
await t.click(Selector('#neos-workspace-rebase'));
await t.click(Selector('#neos-SyncWorkspace-Confirm'));
await t.wait(1000);
Expand Down

0 comments on commit d509042

Please sign in to comment.