File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -599,7 +599,10 @@ public function i_close_the_popup_in_the_app() {
599599 */
600600 public function the_app_has_the_following_config (TableNode $ data ) {
601601 foreach ($ data ->getRows () as $ configrow ) {
602- $ this ->appconfig [$ configrow [0 ]] = json_decode ($ configrow [1 ]);
602+ $ name = $ configrow [0 ];
603+ $ value = $ this ->replace_wwwroot ($ configrow [1 ]);
604+
605+ $ this ->appconfig [$ name ] = json_decode ($ value );
603606 }
604607 }
605608
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ protected function prepare_browser(array $options = []) {
242242 // Assert initial page.
243243 $ this ->spin (function ($ context ) {
244244 $ page = $ context ->getSession ()->getPage ();
245- $ element = $ page ->find ('xpath ' , '//page-core-login-site//input[@name="url"] ' );
245+ $ element = $ page ->find ('xpath ' , '//page-core-login-site ' );
246246
247247 if ($ element ) {
248248 // Login screen found.
Original file line number Diff line number Diff line change 66
77defined ('MOODLE_INTERNAL ' ) || die;
88
9- $ plugin ->version = 2024041100 ;
9+ $ plugin ->version = 2024041700 ;
1010$ plugin ->requires = 2016052300 ;
1111$ plugin ->maturity = MATURITY_STABLE ;
1212$ plugin ->release = '4.4.0 ' ;
You can’t perform that action at this time.
0 commit comments