Skip to content

Commit

Permalink
fix: ToDo.robot
Browse files Browse the repository at this point in the history
- Updating URLs to be tested
- Modification of expectations
  • Loading branch information
occo-lbl committed Mar 17, 2024
1 parent e8094ec commit 9966fd6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions website/static/code-examples/browser/ToDo.robot
Original file line number Diff line number Diff line change
Expand Up @@ -17,47 +17,47 @@ Add Two ToDos And Check Items
Given ToDo App is open
When I Add A New ToDo "Learn Robot Framework"
And I Add A New ToDo "Write Test Cases"
Then Open ToDos should show "2 items left"
Then Open ToDos should show "2 items left!"

Add Two ToDos And Check Wrong Number Of Items
[Documentation] Checks if ToDos can be added and ToDo count increases
[Tags] Add ToDo
Given ToDo App is open
When I Add A New ToDo "Learn Robot Framework"
And I Add A New ToDo "Write Test Cases"
Then Open ToDos should show "1 items left"
Then Open ToDos should show "2 items left!"

Add ToDo And Mark Same ToDo
[Tags] Mark ToDo
Given ToDo App is open
When I Add A New ToDo "Learn Robot Framework"
And I Mark ToDo "Learn Robot Framework"
Then Open ToDos should show "0 items left"
Then Open ToDos should show "0 items left!"

Check If Marked ToDos are removed
Given ToDo App is open
And I Added Two ToDos
When I Mark One ToDo
Then Open ToDos should show "1 item left"
Then Open ToDos should show "1 item left!"

Split ToDos
Given ToDo App is open
When I Add New ToDos "Learn Robot Framework&Write Test Cases&Sleep"
Then Open ToDos should show "3 items left"
Then Open ToDos should show "3 items left!"

Add A Lot Of Todos
Given ToDo App is open
When I Add "100" ToDos
Then Open ToDos should show "100 items left"
Then Open ToDos should show "100 items left!"

Add A Lot Of Todos With WHILE
Given ToDo App is open
When I Add "100" ToDos With WHILE Loop
Then Open ToDos should show "100 items left"
Then Open ToDos should show "100 items left!"

*** Keywords ***
ToDo App is open
New Page https://todomvc.com/examples/react/
New Page https://todomvc.com/examples/react/dist/

I Add A New ToDo "${todo}"
Fill Text .new-todo ${todo}
Expand Down

0 comments on commit 9966fd6

Please sign in to comment.