From 35d4fe40c9c7ce01a811773fec5a037e078c7e7c Mon Sep 17 00:00:00 2001 From: Nho Huynh Date: Wed, 31 Jul 2024 15:57:16 +0700 Subject: [PATCH] Change owner and manager user to makes it easier to read the makeName if we can assume user is the test user. --- e2e/specs/stateless/profileEditor.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/specs/stateless/profileEditor.spec.ts b/e2e/specs/stateless/profileEditor.spec.ts index 832411dbc..5ce4a5791 100644 --- a/e2e/specs/stateless/profileEditor.spec.ts +++ b/e2e/specs/stateless/profileEditor.spec.ts @@ -923,14 +923,14 @@ test('Should show edit profile button if user is manager', async ({ const name = await makeName({ label: 'unwrapped', type: 'legacy', - owner: 'user', - manager: 'user2', + owner: 'user2', + manager: 'user', }) const profilePage = makePageObject('ProfilePage') await profilePage.goto(name) - await login.connect('user2') + await login.connect() await expect(profilePage.editProfileButton).toBeVisible() })