-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into missing-phpunit
- Loading branch information
Showing
14 changed files
with
195 additions
and
697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
dev/tests/verification/Resources/ExtendedTestInSuiteChildTestCest.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<?php | ||
namespace Magento\AcceptanceTest\_suiteExtends\Backend; | ||
|
||
use Magento\FunctionalTestingFramework\AcceptanceTester; | ||
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore; | ||
use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler; | ||
use \Codeception\Util\Locator; | ||
use Yandex\Allure\Adapter\Annotation\Features; | ||
use Yandex\Allure\Adapter\Annotation\Stories; | ||
use Yandex\Allure\Adapter\Annotation\Title; | ||
use Yandex\Allure\Adapter\Annotation\Description; | ||
use Yandex\Allure\Adapter\Annotation\Parameter; | ||
use Yandex\Allure\Adapter\Annotation\Severity; | ||
use Yandex\Allure\Adapter\Model\SeverityLevel; | ||
use Yandex\Allure\Adapter\Annotation\TestCaseId; | ||
|
||
/** | ||
* @Title("[NO TESTCASEID]: ExtendedTestInSuiteChildTest") | ||
* @group ExtendedTestInSuiteChildTest | ||
*/ | ||
class ExtendedTestInSuiteChildTestCest | ||
{ | ||
/** | ||
* @param AcceptanceTester $I | ||
* @throws \Exception | ||
*/ | ||
public function _before(AcceptanceTester $I) | ||
{ | ||
$I->amOnPage("/beforeUrl"); | ||
} | ||
|
||
/** | ||
* @param AcceptanceTester $I | ||
* @throws \Exception | ||
*/ | ||
public function _after(AcceptanceTester $I) | ||
{ | ||
$I->amOnPage("/afterUrl"); | ||
} | ||
|
||
/** | ||
* @param AcceptanceTester $I | ||
* @throws \Exception | ||
*/ | ||
public function _failed(AcceptanceTester $I) | ||
{ | ||
$I->saveScreenshot(); | ||
} | ||
|
||
/** | ||
* @Severity(level = SeverityLevel::TRIVIAL) | ||
* @Features({"TestModule"}) | ||
* @Stories({"ExtendedTestInSuiteChildTest"}) | ||
* @Parameter(name = "AcceptanceTester", value="$I") | ||
* @param AcceptanceTester $I | ||
* @return void | ||
* @throws \Exception | ||
*/ | ||
public function ExtendedTestInSuiteChildTest(AcceptanceTester $I) | ||
{ | ||
$I->comment("Different Input"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
/** | ||
* Copyright © Magento, Inc. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
--> | ||
|
||
<suites xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/Magento/FunctionalTestingFramework/Suite/etc/suiteSchema.xsd"> | ||
<suite name="suiteExtends"> | ||
<include> | ||
<group name="ExtendedTestInSuiteChildTest"/> | ||
</include> | ||
</suite> | ||
</suites> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.