Created
June 14, 2022 08:17
-
-
Save rodrigojmartin/41e8ba8a5e2eb46f6f916bacd928b61e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Ensure, startsWith } from '@serenity-js/assertions'; | |
import { Task } from '@serenity-js/core'; | |
import { Navigate, Website } from '@serenity-js/webdriverio'; | |
export const OpenTheApp = () => | |
Task.where(`#actor opens the app`, | |
Navigate.to(`https://todomvc.com/examples/vue/`), | |
Ensure.that(Website.title(), startsWith('Vue')), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment