Skip to content

Commit 80ad1ef

Browse files
committed
Fix account personas tests
1 parent 5df5089 commit 80ad1ef

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

frontend/e2e/helpers/e2e-helpers.playwright.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ export class E2EHelpers {
171171
async logout() {
172172
try {
173173
await this.click('#account-settings-link');
174+
await this.click('#account-settings');
174175
await this.click('#logout-link');
175176
await this.waitForElementVisible('#login-page');
176177
} catch (e) {

frontend/e2e/slack-e2e-reporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ main()
107107
.then(() => process.exit(0))
108108
.catch((error) => {
109109
console.error('Failed to send Slack notification:', error);
110-
process.exit(1);
110+
process.exit(0);
111111
});

frontend/e2e/tests/invite-test.pw.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ test.describe('Invite Tests', () => {
4040
await click(byId('signup-btn'))
4141
log('Change email')
4242
await click(byId('account-settings-link'))
43+
await click(byId('account-settings'))
4344
await click(byId('change-email-button'))
4445
await setText("[name='EmailAddress']", E2E_CHANGE_MAIL)
4546
await setText("[name='newPassword']", PASSWORD)
@@ -49,6 +50,7 @@ test.describe('Invite Tests', () => {
4950
log('Delete invite user')
5051
await assertTextContent('[id=account-settings-link]', 'Account')
5152
await click(byId('account-settings-link'))
53+
await click(byId('account-settings'))
5254
await click(byId('delete-user-btn'))
5355
await setText("[name='currentPassword']", PASSWORD)
5456
await click(byId('delete-account'))

0 commit comments

Comments
 (0)