2
0
Fork 0

Merge pull request #2418 from crazyserver/MOBILE-3401

Mobile 3401
main
Juan Leyva 2020-06-19 12:44:49 +02:00 committed by GitHub
commit 2a2e3af44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 11 deletions

View File

@ -45,11 +45,11 @@ $dockerscripts/moodle-docker-wait-for-app
$dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/init.php" $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/init.php"
notify_on_error_exit "e2e failed initializing behat" notify_on_error_exit "e2e failed initializing behat"
print_title "Running e2e tests"
# Run tests # Run tests
for tags in "$@" for tags in "$@"
do do
print_title "Running e2e tests ($tags)"
$dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --tags=\"$tags\"" $dockercompose exec -T webserver sh -c "php admin/tool/behat/cli/run.php --tags=\"$tags\""
notify_on_error_exit "Some e2e tests are failing, please review" notify_on_error_exit "Some e2e tests are failing, please review"
done done

View File

@ -93,16 +93,9 @@ export class CoreLoginCredentialsPage {
} }
/** /**
* View enter. * View destroyed.
*/ */
ionViewDidEnter(): void { ionViewWillUnload(): void {
this.viewLeft = false;
}
/**
* View left.
*/
ionViewDidLeave(): void {
this.viewLeft = true; this.viewLeft = true;
this.eventsProvider.trigger(CoreEventsProvider.LOGIN_SITE_UNCHECKED, { config: this.siteConfig }, this.siteId); this.eventsProvider.trigger(CoreEventsProvider.LOGIN_SITE_UNCHECKED, { config: this.siteConfig }, this.siteId);
} }