test(app): Learn's profile expects the day a GitHub-only account goes
The text for an account that signs in with GitHub alone now names the deletion 30 days after GitHub's end (f7a3251); Learn's test of its profile looked for the words before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
a3b70175f6
commit
90e29c2f4c
1 changed files with 5 additions and 3 deletions
|
|
@ -113,10 +113,12 @@ void main() {
|
|||
await openProfile(tester);
|
||||
|
||||
expect(find.textContaining('Sign-in with GitHub ends on'), findsOneWidget);
|
||||
// Without an address, the account goes at the end (the full reading's
|
||||
// M1).
|
||||
// Without an address, the account goes 30 days after the end (the full
|
||||
// reading's M1, the short reading's day).
|
||||
expect(
|
||||
find.textContaining('will be deleted then, unless you set up a password'),
|
||||
find.textContaining(
|
||||
'an account without one is deleted 30 days later, with everything',
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(find.text('Set up a password'), findsOneWidget);
|
||||
|
|
|
|||
Loading…
Reference in a new issue