Skip to content

Commit 1ee2c16

Browse files
test: DKM- updated locator to handle Housing report checkbox
2 parents 4abb6b0 + 835e22f commit 1ee2c16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/e2e-test/pages/dkmPage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class DkmPage(BasePage):
1515
"//textarea[@placeholder='Ask a question or request (ctrl + enter to submit)']"
1616
)
1717
SEARCH_BOX = "//input[@type='search']"
18-
HOUSING_2022 = "//body[1]/div[2]/div[1]/main[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[3]/div[2]/div[2]/span[1]"
19-
HOUSING_2023 = "//body[1]/div[2]/div[1]/main[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[2]/div[2]/div[2]/span[1]"
18+
HOUSING_2022 = "//body[1]/div[2]/div[1]/main[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[2]/div[2]/div[2]/span[1]"
19+
HOUSING_2023 = "//body[1]/div[2]/div[1]/main[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[1]/div[2]/div[2]/span[1]"
2020
CONTRACTS_DETAILS_PAGE = "//body[1]/div[2]/div[1]/main[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[1]/div[2]/div[2]/div[1]/button[1]"
21-
DETAILS_PAGE = "body > div:nth-child(3) > div:nth-child(1) > main:nth-child(2) > div:nth-child(1) > div:nth-child(2) > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button:nth-child(2)"
21+
DETAILS_PAGE = "body > div:nth-child(3) > div:nth-child(1) > main:nth-child(2) > div:nth-child(1) > div:nth-child(2) > div:nth-child(4) > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button:nth-child(2)"
2222
POP_UP_CHAT = "//button[@value='Chat Room']"
2323
CLOSE_POP_UP = "//button[@aria-label='close']"
2424
CLLEAR_ALL_POP_UP = "//button[normalize-space()='Clear all']"

0 commit comments

Comments
 (0)