@@ -58,37 +58,58 @@ public function installJoomla()
5858 $ this ->debug ('I open Joomla Installation Configuration Page and fill the fields ' );
5959
6060 // I Wait for the text Main Configuration, meaning that the page is loaded
61+ $ this ->debug ('I for Main Configuration ' );
6162 $ I ->waitForText ('Main Configuration ' , 10 , 'h3 ' );
6263
64+ $ this ->debug ('I click Language Selector ' );
6365 $ I ->click ("//div[@id='jform_language_chzn']/a " ); // Language Selector
66+ $ this -debug ('I select en-GB ' );
6467 $ I ->click ("//li[text()='English (United Kingdom)'] " ); // English (United Kingdom)
6568 sleep (1 );
69+ $ this -debug ('I fill Site Name ' );
6670 $ I ->fillField ('Site Name ' , 'Joomla CMS test ' );
71+ $ this -debug ('I fill Site Description ' );
6772 $ I ->fillField ('Description ' , 'Site for testing Joomla CMS ' );
6873
6974 // I get the configuration from acceptance.suite.yml (see: tests/_support/acceptancehelper.php)
75+ $ this -debug ('I fill Admin Email ' );
7076 $ I ->fillField ('Admin Email ' , $ this ->config ['admin email ' ]);
77+ $ this -debug ('I fill Admin Username ' );
7178 $ I ->fillField ('Admin Username ' , $ this ->config ['username ' ]);
79+ $ this -debug ('I fill Admin Password ' );
7280 $ I ->fillField ('Admin Password ' , $ this ->config ['password ' ]);
81+ $ this -debug ('I fill Admin Password Confirmation ' );
7382 $ I ->fillField ('Confirm Admin Password ' , $ this ->config ['password ' ]);
83+ $ this -debug ('I click Site Offline: no ' );
7484 $ I ->click ("//fieldset[@id='jform_site_offline']/label[2] " ); // ['No Site Offline']
85+ $ this -debug ('I click Next ' );
7586 $ I ->click ('Next ' );
7687
7788 $ this ->debug ('I Fill the form for creating the Joomla site Database ' );
7889 $ I ->waitForText ('Database Configuration ' , 10 , 'h3 ' );
7990
91+ $ this -debug ('I select MySQLi ' );
8092 $ I ->selectOption ('#jform_db_type ' , $ this ->config ['database type ' ]);
93+ $ this -debug ('I fill Database Host ' );
8194 $ I ->fillField ('Host Name ' , $ this ->config ['database host ' ]);
95+ $ this -debug ('I fill Database User ' );
8296 $ I ->fillField ('Username ' , $ this ->config ['database user ' ]);
97+ $ this -debug ('I fill Database Password ' );
8398 $ I ->fillField ('Password ' , $ this ->config ['database password ' ]);
99+ $ this -debug ('I fill Database Name ' );
84100 $ I ->fillField ('Database Name ' , $ this ->config ['database name ' ]);
101+ $ this -debug ('I fill Database Prefix ' );
85102 $ I ->fillField ('Table Prefix ' , $ this ->config ['database prefix ' ]);
103+ $ this -debug ('I click Remove Old Database ' );
86104 $ I ->click ("//label[@for='jform_db_old1'] " ); // Remove Old Database button
87105 $ I ->click ('Next ' );
106+ $ this -debug ('I click Next ' );
107+ $ I ->click ('Next ' );
88108
89109 $ this ->debug ('I install joomla with or without sample data ' );
90110 $ I ->waitForText ('Finalisation ' , 10 , 'h3 ' );
91111
112+ $ this -debug ('I install Sample Data ' );
92113 if ($ this ->config ['install sample data ' ]) :
93114 $ I ->selectOption ('#jform_sample_file ' , $ this ->config ['sample data ' ]);
94115 else :
0 commit comments