Skip to content

Commit

Permalink
[Fix] pagination test for DS projects
Browse files Browse the repository at this point in the history
With the RHOAI 2.5 release, there seem to be updated the description of
the pagination object. Now it adds a suffix of `items` so we have to
too.
  • Loading branch information
jstourac committed Dec 11, 2023
1 parent 40a8067 commit 5dc897e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ Check Pagination Is Correct On The Current Page
[Arguments] ${page} ${total}
${actual_text}= Get Text xpath://span[@class="pf-c-options-menu__toggle-text"]
IF ${page}==1
${expected_text}= Set Variable 1 - 10 of ${total}
${expected_text}= Set Variable 1 - 10 of ${total} items
ELSE IF ${page}==2
${expected_text}= Set Variable 11 - ${total} of ${total}
${expected_text}= Set Variable 11 - ${total} of ${total} items
END
Should Be Equal ${expected_text} ${actual_text}

Expand Down

0 comments on commit 5dc897e

Please sign in to comment.