Merge pull request #6744 from nextcloud/mnemonicTest

fix mnemonic test
This commit is contained in:
Tobias Kaminsky 2020-08-20 10:39:10 +02:00 committed by GitHub
commit 800da337e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

View file

@ -55,6 +55,8 @@ public class FileDisplayActivityScreenshotIT extends AbstractIT {
sut.getListOfFilesFragment().setFabEnabled(false);
sut.getListOfFilesFragment().setEmptyListLoadingMessage(false);
sut.getListOfFilesFragment().setLoading(false);
waitForIdleSync();
screenshot(sut);
}
@ -68,6 +70,8 @@ public class FileDisplayActivityScreenshotIT extends AbstractIT {
sut.getListOfFilesFragment().setFabEnabled(false);
sut.getListOfFilesFragment().setEmptyListLoadingMessage(false);
sut.getListOfFilesFragment().setLoading(false);
waitForIdleSync();
screenshot(sut);
}

View file

@ -65,6 +65,8 @@ public class SettingsActivityIT extends AbstractIT {
public void showMnemonic_Error() {
SettingsActivity sut = activityRule.launchActivity(null);
sut.handleMnemonicRequest(null);
shortSleep();
waitForIdleSync();
screenshot(sut);
}