Browse Source

neon: Fix screenshots

pull/57/head
jld3103 2 years ago
parent
commit
27a142f083
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 5
      packages/neon/integration_test/screenshot_test.dart

5
packages/neon/integration_test/screenshot_test.dart

@ -551,11 +551,8 @@ Future main() async {
await binding.takeScreenshot('settings_accounts'); await binding.takeScreenshot('settings_accounts');
// Go to account settings // Go to account settings
await tester.tap(find.byType(PopupMenuButton<SettingsAccountAction>)); await tester.tap(find.text('test@10.0.2.2:80'));
await tester.pumpAndSettle(); await tester.pumpAndSettle();
await tester.tap(find.text('Settings').last);
await tester.pumpAndSettle();
await tester.pump(); // Needed for the drop down button to actually show up
await tester.tap(find.text('Automatic')); await tester.tap(find.text('Automatic'));
await tester.pumpAndSettle(); await tester.pumpAndSettle();

Loading…
Cancel
Save