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:
@@ -48,8 +48,10 @@ export class AuthPageObject {
|
||||
await this.page.click('button[type="submit"]');
|
||||
}
|
||||
|
||||
async visitConfirmEmailLink(email: string, params?: {
|
||||
async visitConfirmEmailLink(email: string, params: {
|
||||
deleteAfter: boolean
|
||||
} = {
|
||||
deleteAfter: true
|
||||
}) {
|
||||
return expect(async() => {
|
||||
const res = await this.mailbox.visitMailbox(email, params);
|
||||
|
||||
Reference in New Issue
Block a user