From 6803fc96d75fe161f5b373f7153be2de7b2ae9fa Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Fri, 9 Sep 2022 14:57:48 +0200 Subject: [PATCH] Fix e2e tests --- tests/e2e/support/objects/app-files/share/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/support/objects/app-files/share/actions.ts b/tests/e2e/support/objects/app-files/share/actions.ts index 3bc0838a2a8..6d108853bc8 100644 --- a/tests/e2e/support/objects/app-files/share/actions.ts +++ b/tests/e2e/support/objects/app-files/share/actions.ts @@ -87,7 +87,7 @@ export const inviteMembers = async (args: inviteMembersArgs): Promise => { ]) await shareInputLocator.focus() await page.waitForSelector('.vs--open') - await page.locator(invitationInput).press('Enter') + await page.locator('#vs2__option-0').click() await page.locator(filesCollaboratorRolesSelector).click() await page.locator(util.format(collaboratorRoleItemSelector, role)).click()