Skip to content

Instantly share code, notes, and snippets.

@jan-molak
Created March 19, 2021 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jan-molak/d4e6a5f2e8ee978bbb0d017217690fb4 to your computer and use it in GitHub Desktop.
Save jan-molak/d4e6a5f2e8ee978bbb0d017217690fb4 to your computer and use it in GitHub Desktop.
import { actorCalled } from '@serenity-js/core';
import { BrowseTheWeb } from '@serenity-js/core';
import { protractor } from 'protractor';
actorCalled('Alice')
.whoCan(BrowseTheWeb.using(protractor.browser))
.attemptsTo(
AnswerQuizQuestion("How much of Earth's water is fresh?", "3%")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment