Skip to content

Commit

Permalink
Merge pull request #46 from occo-lbl/fix-todo-example
Browse files Browse the repository at this point in the history
fix: Modifying the ToDo.robot File
  • Loading branch information
manykarim authored May 15, 2024
2 parents 72a372c + 9966fd6 commit 4ffc105
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 4ffc105

Please sign in to comment.