Refactor join page and update packages
The join page's redirect functionality has been replaced with permanentRedirect. Adjustments were also made for handling conditional authentication and user account verification. Package upgrades were performed and the i18n client now checks if an instance is already initialized. The process tends to deliver performance benefits and enhancing the code readability.
This commit is contained in:
@@ -36,9 +36,9 @@ test.describe('Invitations', () => {
|
||||
// sign out and sign in with the first email
|
||||
await invitations.auth.signOut();
|
||||
|
||||
await invitations.auth.visitConfirmEmailLink(invites[0]!.email, {
|
||||
deleteAfter: true
|
||||
});
|
||||
await invitations.auth.visitConfirmEmailLink(invites[0]!.email);
|
||||
|
||||
console.log(`Signing up with ${firstEmail}`);
|
||||
|
||||
await invitations.auth.signUp({
|
||||
email: firstEmail,
|
||||
@@ -48,6 +48,8 @@ test.describe('Invitations', () => {
|
||||
|
||||
await invitations.auth.visitConfirmEmailLink(firstEmail);
|
||||
|
||||
console.log(`Accepting invitation as ${firstEmail}`);
|
||||
|
||||
await invitations.acceptInvitation();
|
||||
|
||||
await invitations.teamAccounts.openAccountsSelector();
|
||||
|
||||
Reference in New Issue
Block a user