Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix XPath of Task Three dots - MEED-7809 - Meeds-io/MIPs#160 #297

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions src/main/java/io/meeds/qa/ui/pages/TasksPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ public void cloneProjectButtonIsDisplayed() {
}

public void clonetaskinspaceproject() {
threeDotsIconInEditTaskElement().click();
taskThreeDotsOptionElement().click();
cloneoptionElement().click();
}

Expand Down Expand Up @@ -1831,7 +1831,7 @@ private TextBoxElementFacade taskStartDateTomorrowElement() {
}

private ElementFacade taskThreeDotsOptionElement() {
return findByXPathOrCSS("//*[contains(@class,'uiThreeDotsIcon')]");
return findByXPathOrCSS("//*[contains(@class,'v-navigation-drawer--open')]//*[contains(@class,'drawerHeader')]//*[contains(@class,'fa-ellipsis-v')]");
}

private ElementFacade taskTooltipElement() {
Expand All @@ -1850,10 +1850,6 @@ private ElementFacade threeDotsIconElement() {
return findByXPathOrCSS("(//*[@class='d-flex tasksViewHeaderLeft']/following::*[contains(@class,'uiIconVerticalDots')][1])[1]");
}

private ElementFacade threeDotsIconInEditTaskElement() {
return findByXPathOrCSS("//*[contains(@class,'uiThreeDotsIcon')]");
}

private ElementFacade timesTampElement() {
return findByXPathOrCSS("//*[@class='pe-2' and contains(text(),'Last Update')]");
}
Expand Down