Add account deletion process and improve tests

The commit introduces a message to indicate the account deletion process. It also enhances the tests by reducing code redundancy in the e2e tests, creating a more random name for team accounts, and improving the navigation process after account deletions. The commit also includes code cleanup tasks, such as the removal of unused imports.
This commit is contained in:
giancarlo
2024-04-12 21:30:13 +08:00
parent 2bad506d75
commit 21fba33462
6 changed files with 13 additions and 21 deletions

View File

@@ -55,10 +55,6 @@ test.describe('Account Deletion', () => {
await account.setup();
await account.deleteAccount();
await page.waitForURL('http://localhost:3000', {
timeout: 5000,
});
expect(page.url()).toEqual('http://localhost:3000/');
await account.auth.goToSignIn();
});
});