Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
docs: add fix which resolves TypeError on page.session object when ru…
Browse files Browse the repository at this point in the history
…nning functional test example (#419)

Co-authored-by: Tafadzwa Gonera <[email protected]>
  • Loading branch information
tafadzwagonera and Tafadzwa Gonera authored Jan 15, 2021
1 parent 29582ff commit d59ba57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 10-testing/01-Getting-Started.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ For example, you might programmatically open a browser and interact with various
----
const { test, trait } = use('Test/Suite')('Example functional test')
trait('Test/Browser')
trait('Test/Session')
test('validate user details', async ({ browser }) => {
const page = await browser.visit('/')
Expand Down

0 comments on commit d59ba57

Please sign in to comment.