mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
Test Driver: Fix find text
This commit is contained in:
@ -135,7 +135,7 @@ void main() {
|
|||||||
await _takeScreenshot();
|
await _takeScreenshot();
|
||||||
|
|
||||||
// Select Card View
|
// Select Card View
|
||||||
var cardView = find.text("Card View (Experimental)");
|
var cardView = find.text("Card View");
|
||||||
await driver.waitFor(cardView, timeout: const Duration(seconds: 2));
|
await driver.waitFor(cardView, timeout: const Duration(seconds: 2));
|
||||||
await driver.tap(cardView);
|
await driver.tap(cardView);
|
||||||
await Future.delayed(const Duration(milliseconds: 100));
|
await Future.delayed(const Duration(milliseconds: 100));
|
||||||
|
Reference in New Issue
Block a user