MOBILE-3947 behat: Fix datetime user profile labeling
parent
ebb0df1362
commit
33f1cefad1
|
@ -22,7 +22,12 @@
|
|||
<ion-datetime-button datetime="datetime" />
|
||||
<ion-modal [keepContentsMounted]="true">
|
||||
<ng-template>
|
||||
<ion-datetime id="datetime" [formControlName]="modelName" [presentation]="ionDateTimePresentation" [max]="max" [min]="min" />
|
||||
<ion-datetime id="datetime" [formControlName]="modelName" [presentation]="ionDateTimePresentation" [max]="max" [min]="min">
|
||||
<span slot="title">
|
||||
<core-format-text [text]="field.name" [contextLevel]="contextLevel" [contextInstanceId]="contextInstanceId"
|
||||
[courseId]="courseId" [wsNotFiltered]="true" />
|
||||
</span>
|
||||
</ion-datetime>
|
||||
</ng-template>
|
||||
</ion-modal>
|
||||
<core-input-errors [control]="form.controls[modelName]" />
|
||||
|
|
|
@ -80,7 +80,7 @@ Feature: Test signup in app
|
|||
Then I should find "Spain" in the app
|
||||
And I should find "u1@u1.com" in the app
|
||||
|
||||
@ionic7_failure @lms_from3.10
|
||||
@lms_from3.10
|
||||
Scenario: Check password policy in signup
|
||||
Given the following config values are set as admin:
|
||||
| passwordpolicy | 1 |
|
||||
|
@ -115,7 +115,6 @@ Feature: Test signup in app
|
|||
And I press "Create my new account" in the app
|
||||
Then I should find "An email should have been sent to your address" in the app
|
||||
|
||||
@ionic7_failure
|
||||
Scenario: Signup with custom profile fields
|
||||
# Use default options Yes/No for menu field because it's not possible to add new lines. See MDL-75788.
|
||||
Given the following "custom profile fields" exist:
|
||||
|
@ -163,7 +162,7 @@ Feature: Test signup in app
|
|||
And I set the field "Favourite food" to "Sushi" in the app
|
||||
And I press "Are you vegetarian?" in the app
|
||||
And I set the field "Birthday" to "1990-01-01" in the app
|
||||
And I set the field "Date and time" to "2010-01-01 11:45" in the app
|
||||
And I set the field "Date and time" to "2010-01-01T11:45" in the app
|
||||
And I set the field "Describe yourself" to "This is my description." in the app
|
||||
And I press "Create my new account" in the app
|
||||
Then I should find "An email should have been sent to your address" in the app
|
||||
|
|
Loading…
Reference in New Issue