Skip to content

Commit 89e2bcc

Browse files
committed
fix(collection/estimation/access.robot): fix the test to use admin instead of paid user.
Correction for dbb2185 commit. Addressed to #893
1 parent dbb2185 commit 89e2bcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ Paid user has access only to its own estimation page
2626
Log Out
2727

2828
Admin has access only to its own estimation page
29-
Log In As login=paid password=test openPage=${true}
29+
Log In As login=admin password=test openPage=${true}
3030
Go To ${SITE_URL}/collection/paid/estimation
31-
Element Text Should Be tag=h3 Paid User's collection
32-
Go To ${SITE_URL}/collection/admin/estimation
3331
Element Text Should Be id=error-msg Forbidden
32+
Go To ${SITE_URL}/collection/admin/estimation
33+
Element Text Should Be tag=h3 Site Admin's collection
3434
# No need to log out as a browser will be closed after the test
3535

3636
*** Keywords ***

0 commit comments

Comments
 (0)