From 12495d7012b896b7bf105774599b6a2af05b9e99 Mon Sep 17 00:00:00 2001 From: Roman Mkrtchian Date: Sun, 31 Jan 2021 17:10:40 +0100 Subject: [PATCH] doc: unclosed code block in page objects markdown file --- docs/pageobjects.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pageobjects.md b/docs/pageobjects.md index 016b6cd86..907d22ad3 100644 --- a/docs/pageobjects.md +++ b/docs/pageobjects.md @@ -32,7 +32,9 @@ const { I, myPage, mySteps } = inject(); // inject objects for a test by name Scenario('sample test', ({ I, myPage, mySteps }) => { // ... - } +}); +``` + ## Actor During initialization you were asked to create a custom steps file. If you accepted this option, you are now able to use the `custom_steps.js` file to extend `I`. See how the `login` method can be added to `I`: