From 2f025f9347975f6a0e3a7bdc581630d11fc3933f Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Mon, 15 Jun 2020 11:46:45 +1000 Subject: [PATCH] Wait for fab button to create new post --- .../java/org/wordpress/android/e2e/BlockEditorTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java b/WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java index 9b43482038c5..26c3ff2751d6 100644 --- a/WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java +++ b/WordPress/src/androidTest/java/org/wordpress/android/e2e/BlockEditorTests.java @@ -51,6 +51,8 @@ public void testSwitchToClassicAndPreview() { mb.clickBlogPosts(); + sleep(); + new MySitesPage() .startNewPost();