Skip to content

Commit cfa63ed

Browse files
committed
fix: FAIL: MyStamps.Collection.Remove-Series.Logic.Remove the first instance of a series from user's collection: No keyword with name 'Xpath Should Match X Times' found
1 parent 95879ed commit cfa63ed

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • src/test/robotframework/collection/remove-series

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ Force Tags collection series logic
88

99
*** Test Cases ***
1010
Remove the first instance of a series from user's collection
11-
Go To ${SITE_URL}/series/3
12-
Xpath Should Match X Times xpath://input[@value="Remove from collection"] expectedXpathCount=2
11+
Go To ${SITE_URL}/series/3
12+
Page Should Contain Element xpath://input[@value="Remove from collection"] limit=2
1313
# Submit the first form
14-
Submit Form css:.remove-series-form
15-
Page Should Contain Link css:.image-gallery figcaption [href="/series/3"]
14+
Submit Form css:.remove-series-form
15+
Page Should Contain Link css:.image-gallery figcaption [href="/series/3"]
1616
# See https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_combinator
17-
Element Text Should Be css:.image-gallery figcaption [href="/series/3"] ~ .label-default 2 out of 3
17+
Element Text Should Be css:.image-gallery figcaption [href="/series/3"] ~ .label-default 2 out of 3
1818

1919
Remove the last instance of a series from user's collection
2020
Go To ${SITE_URL}/series/3

0 commit comments

Comments
 (0)