File tree Expand file tree Collapse file tree 5 files changed +16
-6
lines changed
dev/tests/functional/tests/app/Magento/Setup/Test Expand file tree Collapse file tree 5 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,8 @@ public function clickUpdateActionButton(Extension $extension)
154
154
*/
155
155
public function findExtensionOnGrid (Extension $ extension )
156
156
{
157
+ sleep (3 );
158
+
157
159
$ this ->_rootElement ->waitUntil (
158
160
function () {
159
161
$ message = $ this ->_rootElement ->find ($ this ->notFoundMessage )->isVisible ();
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class Readiness extends Block
41
41
*
42
42
* @var string
43
43
*/
44
- protected $ removeExtension = '//li[contains(text(), \'%s \')]//button ' ;
44
+ protected $ removeExtension = '//li//strong [contains(text(), \'%s \')]//.. //button ' ;
45
45
46
46
/**
47
47
* 'Completed!' message.
Original file line number Diff line number Diff line change 15
15
16
16
<dataset name =" firstExtension" >
17
17
<field name =" extensionName" xsi : type =" string" >magento/module-customer-sample-data</field >
18
+ </dataset >
19
+
20
+ <dataset name =" secondExtension" >
21
+ <field name =" extensionName" xsi : type =" string" >magento/module-theme-sample-data</field >
22
+ </dataset >
23
+
24
+ <dataset name =" thirdExtension" >
25
+ <field name =" extensionName" xsi : type =" string" >magento/module-customer-sample-data</field >
18
26
<field name =" version" xsi : type =" string" >100.1.0-rc3</field >
19
27
<field name =" versionToUpdate" xsi : type =" string" >100.1.0</field >
20
28
</dataset >
21
29
22
- <dataset name =" secondExtension " >
30
+ <dataset name =" fourthExtension " >
23
31
<field name =" extensionName" xsi : type =" string" >magento/module-theme-sample-data</field >
24
32
<field name =" version" xsi : type =" string" >100.1.0-rc3</field >
25
33
<field name =" versionToUpdate" xsi : type =" string" >100.1.0</field >
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class ExtensionMultipleUpdateTest extends AbstractExtensionTest
35
35
* @param $needAuthentication
36
36
* @param array $extensions
37
37
* @param array $removeExtensions
38
- *
38
+ *
39
39
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
40
40
*/
41
41
public function test (
Original file line number Diff line number Diff line change 11
11
<data name =" needAuthentication" xsi : type =" boolean" >false</data >
12
12
<data name =" extensions" xsi : type =" array" >
13
13
<item name =" 0" xsi : type =" array" >
14
- <item name =" dataset" xsi : type =" string" >firstExtension </item >
14
+ <item name =" dataset" xsi : type =" string" >thirdExtension </item >
15
15
</item >
16
16
<item name =" 1" xsi : type =" array" >
17
- <item name =" dataset" xsi : type =" string" >secondExtension </item >
17
+ <item name =" dataset" xsi : type =" string" >fourthExtension </item >
18
18
</item >
19
19
</data >
20
20
<data name =" removeExtensions" xsi : type =" array" >
21
21
<item name =" 0" xsi : type =" array" >
22
- <item name =" dataset" xsi : type =" string" >firstExtension </item >
22
+ <item name =" dataset" xsi : type =" string" >thirdExtension </item >
23
23
</item >
24
24
</data >
25
25
</variation >
You can’t perform that action at this time.
0 commit comments