Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oldGreg5 committed Dec 23, 2024
1 parent 4bd67f8 commit f3adc69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion catalyst_voices/apps/voices/integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void main() async {
await $(OverallSpacesPage.guestShortcutBtn)
.tap(settleTimeout: const Duration(seconds: 10));
await $(AppBarPage.spacesDrawerButton).waitUntilVisible().tap();
SpacesDrawerPage.guestDrawerMainElementsLooksAsExpected($);
SpacesDrawerPage.guestCommonElementsLookAsExpected($);

// iterate thru spaces by clicking on spaces icons directly
for (final space in Space.values) {
Expand Down Expand Up @@ -91,6 +91,7 @@ void main() async {
await $(OverallSpacesPage.userShortcutBtn)
.tap(settleTimeout: const Duration(seconds: 10));
await $(AppBarPage.spacesDrawerButton).waitUntilVisible().tap();
SpacesDrawerPage.guestCommonElementsLookAsExpected($);
await SpacesDrawerPage.userLooksAsExpected($);
},
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SpacesDrawerPage {
return Key('Header.${space.name}');
}

static void guestDrawerMainElementsLooksAsExpected(PatrolTester $) {
static void guestCommonElementsLookAsExpected(PatrolTester $) {
expect($(closeBtn), findsOneWidget);
expect($(allSpacesBtn), findsOneWidget);
expect($(chooserPrevBtn), findsOneWidget);
Expand Down

0 comments on commit f3adc69

Please sign in to comment.