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
119
119
}
120
120
` ` `
121
121
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
-
141
122
Before we execute this test, we should make sure that the website is running on a local web server.
142
123
Let's open the `tests/Acceptance.suite.yml` file and fill in the URL of your web application :
143
124
@@ -302,7 +283,6 @@ There are plenty of useful Codeception commands:
302
283
* `generate:test` *suite* *filename* - Generates a sample PHPUnit Test with Codeception hooks
303
284
* `generate:feature` *suite* *filename* - Generates Gherkin feature file
304
285
* `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
306
286
* `generate:helper` *filename* - Generates a sample Helper File
307
287
* `generate:pageobject` *suite* *filename* - Generates a sample Page object
308
288
* `generate:stepobject` *suite* *filename* - Generates a sample Step object
You can’t perform that action at this time.
0 commit comments