File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,9 @@ Select Country
38
38
... *[contains(@class, "option") and text()="${value } "]
39
39
Wait Until Page Contains Element xpath=${countryOption }
40
40
Click Element xpath=${countryOption }
41
+
42
+ Link Should Point To
43
+ [Documentation] Verify that "href" attribute of the element refers to a link
44
+ [Arguments] ${locator } ${expectedUrl }
45
+ ${url } = Get Element Attribute ${locator } @href
46
+ Should Be Equal ${expectedUrl } ${url }
Original file line number Diff line number Diff line change @@ -139,9 +139,3 @@ Before Test Suite
139
139
140
140
Before Test
141
141
Go To ${SITE_URL } /series/import/request
142
-
143
- Link Should Point To
144
- [Documentation] Verify that "href" attribute of the element refers to a link
145
- [Arguments] ${locator } ${expectedUrl }
146
- ${url } = Get Element Attribute ${locator } @href
147
- Should Be Equal ${expectedUrl } ${url }
You can’t perform that action at this time.
0 commit comments