Skip to content

Commit bc7e597

Browse files
committed
refactor(collection/remove-series/logic.robot): explicitly specify parameter name for "Xpath Should Match X Times".
1 parent 62627c4 commit bc7e597

File tree

1 file changed

+2
-2
lines changed
  • src/test/robotframework/collection/remove-series

1 file changed

+2
-2
lines changed

src/test/robotframework/collection/remove-series/logic.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Force Tags collection series logic
99
*** Test Cases ***
1010
Remove the first instance of a series from user's collection
1111
Go To ${SITE_URL}/series/3
12-
Xpath Should Match X Times xpath://input[@value="Remove from collection"] 2
12+
Xpath Should Match X Times xpath://input[@value="Remove from collection"] expectedXpathCount=2
1313
# Submit the first form
1414
Submit Form css:.remove-series-form
1515
Page Should Contain Link css:.image-gallery figcaption [href="/series/3"]
@@ -18,7 +18,7 @@ Remove the first instance of a series from user's collection
1818

1919
Remove the last instance of a series from user's collection
2020
Go To ${SITE_URL}/series/3
21-
Xpath Should Match X Times xpath://input[@value="Remove from collection"] 1
21+
Xpath Should Match X Times xpath://input[@value="Remove from collection"] expectedXpathCount=1
2222
Element Text Should Be css:.remove-series-form .label-default 2 out of 3
2323
Submit Form css:.remove-series-form
2424
Page Should Not Contain Link css:[href="/series/3"]

0 commit comments

Comments
 (0)