Serenity/JS with Playwright Test
Home > Using notes > Todo list app should allow me to share notes across actors and browsers
Report generated 16-06-2025 21:59

Using Notes

  Retried   1 To 10 Seconds (Duration)   Firefox 139.0 (browser)   Linux 6.11.0-1015-Azure (platform)   Using Notes (feature)

Todo List App should allow me to share notes across actors and browsers
 

Cast

 

Alice can:
  • PerformActivities (PerformActivitiesAsPlaywrightSteps)
  • AnswerQuestions
  • RaiseErrors
  • ScheduleWork { scheduler: { clock: { timeAdjustment: { milliseconds: 0 } }, interactionTimeout: { milliseconds: 5000 } } }
  • BrowseTheWeb (BrowseTheWebWithPlaywright)
  • TakeNotes { notepad: { items: [ "buy some cheese", "feed the cat", "book a doctors appointment" ] } }
  • CallAnApi { baseURL: "https://todo-app.serenity-js.org/", headers: { common: { Accept: "application/json, text/plain, */*" } }, timeout: 10000 }

 

Bobby can:
  • PerformActivities (PerformActivitiesAsPlaywrightSteps)
  • AnswerQuestions
  • RaiseErrors
  • ScheduleWork { scheduler: { clock: { timeAdjustment: { milliseconds: 0 } }, interactionTimeout: { milliseconds: 5000 } } }
  • BrowseTheWeb (BrowseTheWebWithPlaywright)
  • TakeNotes { notepad: { items: [ "buy some cheese", "feed the cat", "book a doctors appointment" ] } }
  • CallAnApi { baseURL: "https://todo-app.serenity-js.org/", headers: { common: { Accept: "application/json, text/plain, */*" } }, timeout: 10000 }
Steps Outcome
SUCCESS 777ms
Alice ensures that displayed items does equal [ "buy some cheese", "feed the cat", "book a doctors appointment" ]
SUCCESS 015ms
Alice takes notes:
- items: [ "buy some cheese", "feed the cat", "book a doctors appointment" ]
SUCCESS 042ms
SUCCESS 435ms
SUCCESS 396ms
Bobby ensures that displayed items does equal [ "buy some cheese", "feed the cat", "book a doctors appointment" ]
SUCCESS 016ms
SUCCESS 2.07s
Serenity BDD version 4.2.12