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"
notify_on_error_exit "e2e failed initializing behat"
print_title "Running e2e tests"
# Run tests
for tags in "$@"
do
print_title "Running e2e tests ($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"
done

View File

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