From 33f1cefad1d753c014d121019135c0aefb301a57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Fri, 15 Dec 2023 11:10:05 +0100 Subject: [PATCH] MOBILE-3947 behat: Fix datetime user profile labeling --- .../component/addon-user-profile-field-datetime.html | 7 ++++++- src/core/features/login/tests/behat/signup.feature | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/addons/userprofilefield/datetime/component/addon-user-profile-field-datetime.html b/src/addons/userprofilefield/datetime/component/addon-user-profile-field-datetime.html index af214ff51..43341f2e6 100644 --- a/src/addons/userprofilefield/datetime/component/addon-user-profile-field-datetime.html +++ b/src/addons/userprofilefield/datetime/component/addon-user-profile-field-datetime.html @@ -22,7 +22,12 @@ - + + + + + diff --git a/src/core/features/login/tests/behat/signup.feature b/src/core/features/login/tests/behat/signup.feature index cf710ee13..69db46ad7 100755 --- a/src/core/features/login/tests/behat/signup.feature +++ b/src/core/features/login/tests/behat/signup.feature @@ -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