From 20911719a3d0465a3a8bb1bbe05575b3ff359606 Mon Sep 17 00:00:00 2001 From: Maksym Musiienko Date: Mon, 29 Apr 2024 19:37:07 +0300 Subject: [PATCH] Fix WebTerminalUnderRegularUser rgarding to changes in the v4.15 and later (#22948) * Fix WebTerminalUnderRegularUser test --- tests/e2e/pageobjects/webterminal/WebTerminalPage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/pageobjects/webterminal/WebTerminalPage.ts b/tests/e2e/pageobjects/webterminal/WebTerminalPage.ts index 721570338da..54d4ccf9c16 100644 --- a/tests/e2e/pageobjects/webterminal/WebTerminalPage.ts +++ b/tests/e2e/pageobjects/webterminal/WebTerminalPage.ts @@ -150,7 +150,7 @@ export class WebTerminalPage { } async selectProjectFromDropDawnList(projectName: string): Promise { - await this.driverHelper.waitAndClick(By.xpath(`//span[@class="pf-c-menu__item-text" and text()="${projectName}"]`)); + await this.driverHelper.waitAndClick(By.xpath(`//span[@class="pf-v5-c-menu__item-text" and text()="${projectName}"]`)); } async findAndSelectProject(projectName: string): Promise {