Skip to content

Commit

Permalink
test: speed up test significantly (#12840)
Browse files Browse the repository at this point in the history
The wait commands never finish but the test waited for a timeout to occur. 
The behavior is correct because just copying a new file to the theme folder should not cause any reloads to happen.
  • Loading branch information
Artur- authored Jan 25, 2022
1 parent 03efa05 commit 6c2a432
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ public void webpackLiveReload_newCssAndFontCreatedAndDeleted_stylesUpdatedOnFly(
+ "applying the font styles", fontFile.exists());

// Live reload upon adding a new font file and a new styles.css
doActionAndWaitUntilLiveReloadComplete(this::copyFontFile);
doActionAndWaitUntilLiveReloadComplete(
this::createStylesCssWithFontAndRedBackground);
copyFontFile();
createStylesCssWithFontAndRedBackground();
waitUntilCustomFont();
waitUntilCustomBackgroundColor();

Expand Down

0 comments on commit 6c2a432

Please sign in to comment.