Skip to content
Snippets Groups Projects
Commit c520389e authored by Simon Urli's avatar Simon Urli
Browse files

[Misc] Add a missing wait on CopyPageTest

parent 46c22f0d
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,7 @@ public void testCopyOverwritePage() throws Exception ...@@ -160,6 +160,7 @@ public void testCopyOverwritePage() throws Exception
documentPickerModal.waitForDocumentSelected(sourceSpaceName, "WebHome").selectDocument(targetSpaceName, documentPickerModal.waitForDocumentSelected(sourceSpaceName, "WebHome").selectDocument(targetSpaceName,
"WebHome"); "WebHome");
documentPicker.setTitle(targetPageName); documentPicker.setTitle(targetPageName);
documentPicker.waitForName(targetPageName);
documentPicker.waitForLocation(Arrays.asList("", targetSpaceName, targetPageName)); documentPicker.waitForLocation(Arrays.asList("", targetSpaceName, targetPageName));
Assert.assertEquals(targetSpaceName, copyPage.getTargetSpaceName()); Assert.assertEquals(targetSpaceName, copyPage.getTargetSpaceName());
......
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