Skip to content
Snippets Groups Projects
Commit 0322c9da authored by Michael Hamann's avatar Michael Hamann
Browse files

[Misc] Wait for next page to load in ApplicationCreatePage#clickNextStep

This is an attempt at fixing flickering in
WithoutScriptRightIT#createApplicationWithoutScriptRight which seems to
be caused by drag&drop operations starting before the class editor page
has been fully loaded.

(cherry picked from commit 2ec6cb6f)
parent abfd5d95
No related branches found
No related tags found
No related merge requests found
...@@ -138,7 +138,13 @@ public DocumentPicker getLocationPicker() ...@@ -138,7 +138,13 @@ public DocumentPicker getLocationPicker()
*/ */
public ApplicationClassEditPage clickNextStep() public ApplicationClassEditPage clickNextStep()
{ {
// Make sure we actually wait for the page load to complete before returning.
getDriver().addPageNotYetReloadedMarker();
clickNextStepButton(); clickNextStepButton();
getDriver().waitUntilPageIsReloaded();
return new ApplicationClassEditPage(); return new ApplicationClassEditPage();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment