Merge pull request #3691 from NoelDeMartin/MOBILE-4270
MOBILE-4270: Fix Behat tests
This commit is contained in:
commit
eef7606783
@ -46,7 +46,7 @@ export class AddonModForumPushClickHandlerService implements CorePushNotificatio
|
|||||||
return CoreUtils.isTrueOrOne(notification.notif)
|
return CoreUtils.isTrueOrOne(notification.notif)
|
||||||
&& notification.moodlecomponent == 'mod_forum'
|
&& notification.moodlecomponent == 'mod_forum'
|
||||||
&& notification.name == 'posts'
|
&& notification.name == 'posts'
|
||||||
&& !!(notification.contexturl || notification.customdata?.postid);
|
&& !!(notification.contexturl || notification.customdata?.discussionid);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2,6 +2,8 @@
|
|||||||
Feature: Test signup in app
|
Feature: Test signup in app
|
||||||
I need basic signup functionality to work
|
I need basic signup functionality to work
|
||||||
|
|
||||||
|
# These scenarios are duplicated from main because the error message about
|
||||||
|
# non alpha-numeric characters has changed.
|
||||||
Background:
|
Background:
|
||||||
Given the following config values are set as admin:
|
Given the following config values are set as admin:
|
||||||
| registerauth | email |
|
| registerauth | email |
|
||||||
@ -27,7 +29,7 @@ Feature: Test signup in app
|
|||||||
| Email address | u1@u1.com |
|
| Email address | u1@u1.com |
|
||||||
| Email (again) | u1@u1.com |
|
| Email (again) | u1@u1.com |
|
||||||
| First name | User |
|
| First name | User |
|
||||||
| Surname | Test |
|
| Last name | Test |
|
||||||
| City/town | Barcelona |
|
| City/town | Barcelona |
|
||||||
| Country | Spain |
|
| Country | Spain |
|
||||||
And I press "Create my new account" in the app
|
And I press "Create my new account" in the app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user