Skip to content

Commit 30b4f18

Browse files
committed
fix: live preview integ tests fails erratically
1 parent c8b5527 commit 30b4f18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/spec/LiveDevelopmentCustomServer-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,7 @@ define(function (require, exports, module) {
10371037
await SpecRunnerUtils.loadProjectInTestWindow("/test/parked");
10381038
// now switch back
10391039
await SpecRunnerUtils.loadProjectInTestWindow(testPath);
1040+
await awaits(1000); // this is here so that the preferences json is loaded on project switch
10401041
await awaitsForDone(SpecRunnerUtils.openProjectFiles(["simple1.html"]),
10411042
"open simple1.html");
10421043
await waitsForLiveDevelopmentToOpen();

0 commit comments

Comments
 (0)