Skip to content

Commit

Permalink
Refactor: improve variable name in integration_test/helpers/helpers.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
ivard committed Jul 11, 2023
1 parent 01384cc commit cb43e6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration_test/helpers/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@ Future<void> issueCredentials(
expect(attributeTexts[i * 2 + 1], attributeEntries[i].value);
}

final acceptButtonFinder = find.byKey(
final buttonFinder = find.byKey(
declineOffer ? const Key('bottom_bar_secondary') : const Key('bottom_bar_primary'),
);
expect(acceptButtonFinder, findsOneWidget);
expect(buttonFinder, findsOneWidget);

await tester.tapAndSettle(acceptButtonFinder);
await tester.tapAndSettle(buttonFinder);

await tester.waitUntilDisappeared(issuancePageFinder);
}
Expand Down

0 comments on commit cb43e6b

Please sign in to comment.