ExtendedChildTestNotInSuite.txt 1.6 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]: ExtendedChildTestNotInSuite")
  17. */
  18. class ExtendedChildTestNotInSuiteCest
  19. {
  20. /**
  21. * @param AcceptanceTester $I
  22. * @throws \Exception
  23. */
  24. public function _before(AcceptanceTester $I)
  25. {
  26. $I->amOnPage("/beforeUrl");
  27. }
  28. /**
  29. * @param AcceptanceTester $I
  30. * @throws \Exception
  31. */
  32. public function _after(AcceptanceTester $I)
  33. {
  34. $I->amOnPage("/afterUrl");
  35. }
  36. /**
  37. * @param AcceptanceTester $I
  38. * @throws \Exception
  39. */
  40. public function _failed(AcceptanceTester $I)
  41. {
  42. $I->saveScreenshot();
  43. }
  44. /**
  45. * @Severity(level = SeverityLevel::TRIVIAL)
  46. * @Features({"TestModule"})
  47. * @Stories({"ExtendedChildTestNotInSuite"})
  48. * @Parameter(name = "AcceptanceTester", value="$I")
  49. * @param AcceptanceTester $I
  50. * @return void
  51. * @throws \Exception
  52. */
  53. public function ExtendedChildTestNotInSuite(AcceptanceTester $I)
  54. {
  55. $I->comment("Different Input");
  56. }
  57. }