File tree Expand file tree Collapse file tree 5 files changed +387
-645
lines changed Expand file tree Collapse file tree 5 files changed +387
-645
lines changed Original file line number Diff line number Diff line change 44
44
<!-- Disable AWS S3 Remote Storage -->
45
45
<magentoCLI command =" setup:config:set {{RemoteStorageAwsS3ConfigData.disable_options}}" stepKey =" disableRemoteStorage" />
46
46
</after >
47
- <magentoCLI command =" remote-storage:sync" timeout =" 120" stepKey =" syncRemoteStorage" />
48
- <assertEquals stepKey =" assertConfigTest" >
49
- <expectedResult type =" string" >Uploading media files to remote storage.\n- empty.jpg\nEnd of upload.</expectedResult >
47
+ <magentoCLI command =" remote-storage:sync" timeout =" 200" stepKey =" syncRemoteStorage" />
48
+ <comment userInput =" checking remote-storage:sync" stepKey =" assertConfigTest" />
49
+ <assertStringContainsString stepKey =" checkingRemoteStorageSync" >
50
+ <expectedResult type =" string" >Uploading media files to remote storage</expectedResult >
50
51
<actualResult type =" variable" >$syncRemoteStorage</actualResult >
51
- </assertEquals >
52
-
52
+ </assertStringContainsString >
53
53
</test >
54
54
</tests >
Original file line number Diff line number Diff line change 16
16
<argument name =" categoryName" type =" string" />
17
17
</arguments >
18
18
19
+ <waitForElementVisible selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}" stepKey =" waitForCatName" time =" 120" />
19
20
<seeElement selector =" {{StorefrontHeaderSection.NavigationCategoryByName(categoryName)}}"
20
21
stepKey =" seeCatergoryInStoreFront" />
21
22
</actionGroup >
Original file line number Diff line number Diff line change 42
42
<click selector =" {{StorefrontHeaderSection.mobileMenuToggle}}" stepKey =" openSideMenu" />
43
43
<waitForElementClickable selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" waitForCategoryMenuClickable" />
44
44
<click selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createParentCategory.name$$)}}" stepKey =" expandCategoryMenu" />
45
- <waitForPageLoad stepKey =" waitForSearchResult" />
45
+ <waitForPageLoad stepKey =" waitForSearchResult" time = " 60 " />
46
46
47
47
<!-- Assert the category expanded successfully -->
48
48
<actionGroup ref =" StorefrontAssertCategoryNameIsShownInMenuActionGroup" stepKey =" verifySubCatMenuItemIsVisibleInTheSidebar" >
49
49
<argument name =" categoryName" value =" $$createSubCategory.name$$" />
50
50
</actionGroup >
51
51
52
52
<!-- Open the subcategory and assert it opened successfully -->
53
+ <waitForElementClickable selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createSubCategory.name$$)}}" stepKey =" waitForSubCategory" time =" 90" />
53
54
<click selector =" {{StorefrontHeaderSection.NavigationCategoryByName($$createSubCategory.name$$)}}" stepKey =" openSubCategory" />
55
+ <waitForElementVisible selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" waitForCategoryName" time =" 90" />
54
56
<see userInput =" $$createSubCategory.name$$" selector =" {{StorefrontCategoryMainSection.CategoryTitle}}" stepKey =" assertCategoryName" />
55
57
</test >
56
58
</tests >
Original file line number Diff line number Diff line change 40
40
"colinmollenhour/credis" : " ^1.13" ,
41
41
"colinmollenhour/php-redis-session-abstract" : " ^1.5" ,
42
42
"composer/composer" : " ^2.0, !=2.2.16" ,
43
- "doctrine/annotations" : " ^2.0" ,
44
43
"elasticsearch/elasticsearch" : " ~7.17.0 || ~8.5.0" ,
45
44
"ezyang/htmlpurifier" : " ^4.16" ,
46
45
"guzzlehttp/guzzle" : " ^7.5" ,
98
97
"friendsofphp/php-cs-fixer" : " ^3.22" ,
99
98
"lusitanian/oauth" : " ^0.8" ,
100
99
"magento/magento-coding-standard" : " *" ,
101
- "magento/magento2-functional-testing-framework" : " ^4.4.2 " ,
100
+ "magento/magento2-functional-testing-framework" : " ^4.6 " ,
102
101
"pdepend/pdepend" : " ^2.10" ,
103
102
"phpmd/phpmd" : " ^2.12" ,
104
103
"phpstan/phpstan" : " ^1.9" ,
You can’t perform that action at this time.
0 commit comments