ChildExtendedTestRemoveAction.txt 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. namespace Magento\AcceptanceTest\_default\Backend;
  3. use Magento\FunctionalTestingFramework\AcceptanceTester;
  4. use Magento\FunctionalTestingFramework\DataGenerator\Handlers\CredentialStore;
  5. use Magento\FunctionalTestingFramework\DataGenerator\Handlers\PersistedObjectHandler;
  6. use \Codeception\Util\Locator;
  7. use Yandex\Allure\Adapter\Annotation\Features;
  8. use Yandex\Allure\Adapter\Annotation\Stories;
  9. use Yandex\Allure\Adapter\Annotation\Title;
  10. use Yandex\Allure\Adapter\Annotation\Description;
  11. use Yandex\Allure\Adapter\Annotation\Parameter;
  12. use Yandex\Allure\Adapter\Annotation\Severity;
  13. use Yandex\Allure\Adapter\Model\SeverityLevel;
  14. use Yandex\Allure\Adapter\Annotation\TestCaseId;
  15. /**
  16. * @Title("[NO TESTCASEID]: ChildExtendedTestRemoveAction")
  17. * @group Child
  18. */
  19. class ChildExtendedTestRemoveActionCest
  20. {
  21. /**
  22. * @param AcceptanceTester $I
  23. * @throws \Exception
  24. */
  25. public function _before(AcceptanceTester $I)
  26. {
  27. $I->amOnPage("/beforeUrl");
  28. }
  29. /**
  30. * @param AcceptanceTester $I
  31. * @throws \Exception
  32. */
  33. public function _after(AcceptanceTester $I)
  34. {
  35. $I->amOnPage("/afterUrl");
  36. }
  37. /**
  38. * @param AcceptanceTester $I
  39. * @throws \Exception
  40. */
  41. public function _failed(AcceptanceTester $I)
  42. {
  43. $I->saveScreenshot();
  44. }
  45. /**
  46. * @Severity(level = SeverityLevel::CRITICAL)
  47. * @Features({"TestModule"})
  48. * @Stories({"Child"})
  49. * @Parameter(name = "AcceptanceTester", value="$I")
  50. * @param AcceptanceTester $I
  51. * @return void
  52. * @throws \Exception
  53. */
  54. public function ChildExtendedTestRemoveAction(AcceptanceTester $I)
  55. {
  56. }
  57. }