@@ -129,15 +129,14 @@ public function installJoomla()
129129 $ this ->debug ('I wait for Main Configuration ' );
130130 $ I ->waitForElement ('#jform_language ' , 10 );
131131 // Wait for chosen to render the field
132- $ I ->wait (1 );
133132 $ I ->debug ('I select dk-DK as installation language ' );
134133 // Select a random language to force reloading of the lang strings after selecting English
135134 $ I ->selectOptionInChosen ('#jform_language ' , 'Danish (DK) ' );
136- $ I ->waitForText ('Generel konfiguration ' , 20 , 'h3 ' );
135+ $ I ->waitForText ('Generel konfiguration ' , 60 , 'h3 ' );
137136 // Wait for chosen to render the field
138137 $ I ->debug ('I select en-GB as installation language ' );
139138 $ I ->selectOptionInChosen ('#jform_language ' , 'English (United Kingdom) ' );
140- $ I ->waitForText ('Main Configuration ' , 20 , 'h3 ' );
139+ $ I ->waitForText ('Main Configuration ' , 60 , 'h3 ' );
141140 $ this ->debug ('I fill Site Name ' );
142141 $ I ->fillField (['id ' => 'jform_site_name ' ], 'Joomla CMS test ' );
143142 $ this ->debug ('I fill Site Description ' );
@@ -156,7 +155,6 @@ public function installJoomla()
156155 $ I ->click (['xpath ' => "//fieldset[@id='jform_site_offline']/label[@for='jform_site_offline1'] " ]); // ['No Site Offline']
157156 $ this ->debug ('I click Next ' );
158157 $ I ->click (['link ' => 'Next ' ]);
159- $ I ->wait (1 );
160158
161159 $ this ->debug ('I Fill the form for creating the Joomla site Database ' );
162160 $ I ->waitForText ('Database Configuration ' ,60 ,['css ' => 'h3 ' ]);
@@ -192,7 +190,6 @@ public function installJoomla()
192190 //endif;
193191 $ I ->selectOption (['id ' => 'jform_sample_file ' ], ['id ' => 'jform_sample_file0 ' ]); // No sample data
194192 $ I ->click (['link ' => 'Install ' ]);
195- $ I ->wait (1 );
196193
197194 // Wait while Joomla gets installed
198195 $ this ->debug ('I wait for Joomla being installed ' );
@@ -862,10 +859,11 @@ public function verifyAvailableTabs($expectedTabs, $tabsLocator = ['xpath' => "/
862859 *
863860 * @note: doAdminLogin() before
864861 */
865- public function disablestatistics ()
862+ public function disableStatistics ()
866863 {
867864 $ I = $ this ;
868865 $ this ->debug ('I click on never ' );
866+ $ I ->waitForElement (['link ' => 'Never ' ], 60 );
869867 $ I ->click (['link ' => 'Never ' ]);
870868 }
871869}
0 commit comments