Skip to content

Commit

Permalink
fix additionalEditorFeatures test flake (#10446)
Browse files Browse the repository at this point in the history
* fix additionalEditorFeatures test flake

* address comment
  • Loading branch information
kevintab95 committed Aug 28, 2020
1 parent dd7731a commit f21effa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/tests/protractor_utils/ExplorationEditorPage.js
Expand Up @@ -233,6 +233,8 @@ var ExplorationEditorPage = function() {
await confirmDiscardChangesButton.click();
await waitFor.invisibilityOf(loadingModal,
'Loading modal taking too long to disappear');
await waitFor.invisibilityOfInfoToast(
'Changes take too long to be discarded.');
// Expect editor page to completely reload.
await waitFor.pageToFullyLoad();
};
Expand Down

0 comments on commit f21effa

Please sign in to comment.