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;
19
19
*/
20
20
class ExtendingSkippedTestCest
21
21
{
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
-
49
22
/**
50
23
* @Severity(level = SeverityLevel::CRITICAL)
51
24
* @Features({"TestModule"})
@@ -55,9 +28,8 @@ class ExtendingSkippedTestCest
55
28
* @return void
56
29
* @throws \Exception
57
30
*/
58
- public function ExtendingSkippedTest(AcceptanceTester $I)
31
+ public function ExtendingSkippedTest(AcceptanceTester $I, \Codeception\Scenario $scenario )
59
32
{
60
- $I->comment("text");
61
- $I->comment("child");
33
+ $scenario->skip("This test is skipped due to the following issues:\nParentTestIsSkipped");
62
34
}
63
35
}
You can’t perform that action at this time.
0 commit comments