From 7df0728999adf0b2fd8e4a7e9eb3eaad71558f96 Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Mon, 9 Jan 2023 17:23:39 +0100 Subject: [PATCH] test: Fix default owner test to be able to reach setup page (#5113) test: fix default owner test --- cypress/pages/settings-users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/pages/settings-users.ts b/cypress/pages/settings-users.ts index 72db45b681..8e5002680e 100644 --- a/cypress/pages/settings-users.ts +++ b/cypress/pages/settings-users.ts @@ -3,7 +3,7 @@ import { BasePage } from './base'; export class SettingsUsersPage extends BasePage { url = '/settings/users'; getters = { - setUpOwnerButton: () => cy.getByTestId('action-box').find('button'), + setUpOwnerButton: () => cy.getByTestId('action-box').find('button').first(), }; actions = { goToOwnerSetup: () => this.getters.setUpOwnerButton().click(),