@@ -130,16 +130,14 @@ public function installJoomla()
130130 $ this ->debug ('I wait for Main Configuration ' );
131131 $ I ->waitForElement ('#jform_language ' , 10 );
132132 // Wait for chosen to render the field
133- $ I ->wait (1 );
134133 $ I ->debug ('I select dk-DK as installation language ' );
135134 // Select a random language to force reloading of the lang strings after selecting English
136135 $ I ->selectOptionInChosen ('#jform_language ' , 'Danish (DK) ' );
137- $ I ->waitForText ('Generel konfiguration ' , 10 , 'h3 ' );
136+ $ I ->waitForText ('Generel konfiguration ' , 60 , 'h3 ' );
138137 // Wait for chosen to render the field
139- $ I ->wait (1 );
140138 $ I ->debug ('I select en-GB as installation language ' );
141139 $ I ->selectOptionInChosen ('#jform_language ' , 'English (United Kingdom) ' );
142- $ I ->waitForText ('Main Configuration ' , 10 , 'h3 ' );
140+ $ I ->waitForText ('Main Configuration ' , 60 , 'h3 ' );
143141 $ this ->debug ('I fill Site Name ' );
144142 $ I ->fillField (['id ' => 'jform_site_name ' ], 'Joomla CMS test ' );
145143 $ this ->debug ('I fill Site Description ' );
@@ -857,4 +855,17 @@ public function verifyAvailableTabs($expectedTabs, $tabsLocator = ['xpath' => "/
857855 $ I ->assertEquals ($ expectedTabs , $ actualArrayOfTabs , "Tab Labels do not match on edit view of " . $ url );
858856 $ I ->debug ('Verify the Tabs ' );
859857 }
858+
859+ /**
860+ * Hide the statistics info message
861+ *
862+ * @note: doAdminLogin() before
863+ */
864+ public function disableStatistics ()
865+ {
866+ $ I = $ this ;
867+ $ this ->debug ('I click on never ' );
868+ $ I ->waitForElement (['link ' => 'Never ' ], 60 );
869+ $ I ->click (['link ' => 'Never ' ]);
870+ }
860871}
0 commit comments