File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -119,25 +119,6 @@ final class SigninCest
119119}
120120` ` `
121121
122- This scenario can probably be read by everybody, even non-developers. If you just remove all special characters,
123- this test transforms into plain english text :
124-
125- ` ` ` yaml
126- I amOnPage '/login'
127- I fillField 'Username', 'davert'
128- I fillField 'Password', 'qwerty'
129- I click 'Login'
130- I see 'Hello, davert'
131- ` ` `
132-
133- Codeception generates this text representation from PHP code by executing :
134-
135- ` ` ` bash
136- php vendor/bin/codecept generate:scenarios Acceptance
137- ` ` `
138-
139- These generated scenarios will be stored in your `tests/Support/Data/scenarios/Functional` directory in `*.txt` files.
140-
141122Before we execute this test, we should make sure that the website is running on a local web server.
142123Let's open the `tests/Acceptance.suite.yml` file and fill in the URL of your web application :
143124
@@ -302,7 +283,6 @@ There are plenty of useful Codeception commands:
302283* `generate:test` *suite* *filename* - Generates a sample PHPUnit Test with Codeception hooks
303284* `generate:feature` *suite* *filename* - Generates Gherkin feature file
304285* `generate:suite` *suite* *actor* - Generates a new suite with the given Actor class name
305- * `generate:scenarios` *suite* - Generates text files containing scenarios from tests
306286* `generate:helper` *filename* - Generates a sample Helper File
307287* `generate:pageobject` *suite* *filename* - Generates a sample Page object
308288* `generate:stepobject` *suite* *filename* - Generates a sample Step object
You can’t perform that action at this time.
0 commit comments