File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
dev/tests/acceptance/tests/functional/Magento/FunctionalTest/Catalog/Cest Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 26
26
<env value =" chrome" />
27
27
<env value =" headless" />
28
28
</annotations >
29
- <amOnPage url =" {{AdminLoginPage.url}}" stepKey =" amOnAdminLoginPage" />
30
- <fillField selector =" {{AdminLoginFormSection.username}}" userInput =" {{_ENV.MAGENTO_ADMIN_USERNAME}}" stepKey =" fillUsername" />
31
- <fillField selector =" {{AdminLoginFormSection.password}}" userInput =" {{_ENV.MAGENTO_ADMIN_PASSWORD}}" stepKey =" fillPassword" />
32
- <click selector =" {{AdminLoginFormSection.signIn}}" stepKey =" clickOnSignIn" />
29
+ <loginAsAdmin stepKey =" loginAsAdmin" />
33
30
<amOnPage url =" {{AdminCategoryPage.url}}" stepKey =" navigateToCategoryPage" />
34
- <waitForPageLoad stepKey =" waitForPageLoad1" />
31
+ <waitForPageLoad time = " 30 " stepKey =" waitForPageLoad1" />
35
32
<click selector =" {{AdminCategorySidebarActionSection.AddSubcategoryButton}}" stepKey =" clickOnAddSubCategory" />
36
33
<fillField selector =" {{AdminCategoryBasicFieldSection.CategoryNameInput}}" userInput =" {{SimpleSubCategory.name}}" stepKey =" enterCategoryName" />
37
34
<click selector =" {{AdminCategorySEOSection.SectionHeader}}" stepKey =" openSEO" />
41
38
42
39
<!-- Literal URL below, need to refactor line + StorefrontCategoryPage when support for variable URL is implemented-->
43
40
<amOnPage url =" /{{SimpleSubCategory.name_lwr}}.html" stepKey =" goToCategoryFrontPage" />
44
- <waitForPageLoad stepKey =" waitForPageLoad2" />
45
41
<seeInTitle userInput =" {{SimpleSubCategory.name}}" stepKey =" assertTitle" />
46
42
<see selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" userInput =" {{SimpleSubCategory.name_lwr}}" stepKey =" assertInfo1" />
47
43
</test >
You can’t perform that action at this time.
0 commit comments