File tree Expand file tree Collapse file tree 1 file changed +2
-30
lines changed
dev/tests/verification/Resources Expand file tree Collapse file tree 1 file changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -19,33 +19,6 @@ use Yandex\Allure\Adapter\Annotation\TestCaseId;
1919 */
2020class ExtendingSkippedTestCest
2121{
22- /**
23- * @param AcceptanceTester $I
24- * @throws \Exception
25- */
26- public function _before(AcceptanceTester $I)
27- {
28- $I->amOnPage("/beforeUrl"); // stepKey: beforeAmOnPageKey
29- }
30-
31- /**
32- * @param AcceptanceTester $I
33- * @throws \Exception
34- */
35- public function _after(AcceptanceTester $I)
36- {
37- $I->amOnPage("/afterUrl"); // stepKey: afterAmOnPageKey
38- }
39-
40- /**
41- * @param AcceptanceTester $I
42- * @throws \Exception
43- */
44- public function _failed(AcceptanceTester $I)
45- {
46- $I->saveScreenshot(); // stepKey: saveScreenshot
47- }
48-
4922 /**
5023 * @Severity(level = SeverityLevel::CRITICAL)
5124 * @Features({"TestModule"})
@@ -55,9 +28,8 @@ class ExtendingSkippedTestCest
5528 * @return void
5629 * @throws \Exception
5730 */
58- public function ExtendingSkippedTest(AcceptanceTester $I)
31+ public function ExtendingSkippedTest(AcceptanceTester $I, \Codeception\Scenario $scenario )
5932 {
60- $I->comment("text");
61- $I->comment("child");
33+ $scenario->skip("This test is skipped due to the following issues:\nParentTestIsSkipped");
6234 }
6335}
You can’t perform that action at this time.
0 commit comments