Skip to content

Commit 8267a4d

Browse files
committed
refactor: specify locator explicitly for "Table Cell Should Contain" and "Table Footer Should Contain"
1 parent 2d35a8f commit 8267a4d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/test/robotframework/collection/estimation

src/test/robotframework/collection/estimation/logic.robot

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Series with its price should be taken into account
1818
Select From List By Value id:paid-currency ${expectedCurrency}
1919
Submit Form id:add-series-form
2020
Go To ${SITE_URL}/collection/paid/estimation
21-
Table Cell Should Contain collection-estimation row=2 column=2 expected=100.00 ${expectedCurrency}
22-
Table Footer Should Contain collection-estimation 100.00 ${expectedCurrency}
21+
Table Cell Should Contain id:collection-estimation row=2 column=2 expected=100.00 ${expectedCurrency}
22+
Table Footer Should Contain id:collection-estimation 100.00 ${expectedCurrency}
2323

2424
Series without price should be shown but not taken into account
2525
Go To ${SITE_URL}/series/2
2626
Submit Form id:add-series-form
2727
Go To ${SITE_URL}/collection/paid/estimation
28-
Table Cell Should Contain collection-estimation row=3 column=2 expected=${EMPTY}
29-
Table Footer Should Contain collection-estimation 100.00 ${expectedCurrency}
28+
Table Cell Should Contain id:collection-estimation row=3 column=2 expected=${EMPTY}
29+
Table Footer Should Contain id:collection-estimation 100.00 ${expectedCurrency}
3030

3131
*** Keywords ***
3232
Before Test Suite

0 commit comments

Comments
 (0)