diff --git a/docs/07-AdvancedUsage.md b/docs/07-AdvancedUsage.md index eb4a11ba2..03d495bef 100644 --- a/docs/07-AdvancedUsage.md +++ b/docs/07-AdvancedUsage.md @@ -504,7 +504,7 @@ For Cept you should use simple comments: This way you can easily control which tests will be executed for each environment. -### Current values +## Get Scenario Metadata Sometimes you may need to change the test behavior in real time. For instance, the behavior of the same test may differ in Firefox and in Chrome. @@ -550,45 +550,7 @@ public function myTest(\AcceptanceTester $I, \Codeception\Scenario $scenario) `Codeception\Scenario` is also available in Actor classes and StepObjects. You can access it with `$this->getScenario()`. -### Dependencies - -With the `@depends` annotation you can specify a test that should be passed before the current one. -If that test fails, the current test will be skipped. You should pass the method name of the test you are relying on. - -{% highlight php %} - -