Screenshots: Add another note

This commit is contained in:
Vishesh Handa
2020-04-03 11:55:18 +02:00
parent 9de5f913ed
commit ea5667fcde

View File

@ -106,6 +106,19 @@ void main() {
await Future.delayed(const Duration(milliseconds: 100)); await Future.delayed(const Duration(milliseconds: 100));
await _takeScreenshot(); await _takeScreenshot();
// Create yet another note
await driver.waitFor(fab, timeout: const Duration(seconds: 2));
await driver.tap(fab);
await driver.waitFor(find.text('Write here'),
timeout: const Duration(seconds: 5));
await driver.enterText("Is this real life?");
await _takeScreenshot();
await driver.tap(find.byValueKey("NewEntry"));
await Future.delayed(const Duration(milliseconds: 100));
await _takeScreenshot();
// Folder View Selector // Folder View Selector
print("Taking Screenshots of FolderViewSelector"); print("Taking Screenshots of FolderViewSelector");
var folderViewSelector = find.byValueKey("FolderViewSelector"); var folderViewSelector = find.byValueKey("FolderViewSelector");