From 4334d2604a206d77cbc797276c23c6ea3d667c5d Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Wed, 29 Jul 2020 11:12:06 +0530 Subject: Add test hooks to profile settings page Signed-off-by: Sukanya Pandey Change-Id: I99d6fbb97de18ca74f520f3ab2ea2fc7374fa5e6 --- src/views/ProfileSettings/ProfileSettings.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/views') diff --git a/src/views/ProfileSettings/ProfileSettings.vue b/src/views/ProfileSettings/ProfileSettings.vue index 2abee633..81ea7b67 100644 --- a/src/views/ProfileSettings/ProfileSettings.vue +++ b/src/views/ProfileSettings/ProfileSettings.vue @@ -43,6 +43,7 @@ type="password" aria-describedby="password-help-block" :state="getValidationState($v.form.newPassword)" + data-test-id="profileSettings-input-newPassword" @input="$v.form.newPassword.$touch()" /> @@ -73,6 +74,7 @@ v-model="form.confirmPassword" type="password" :state="getValidationState($v.form.confirmPassword)" + data-test-id="profileSettings-input-confirmPassword" @input="$v.form.confirmPassword.$touch()" /> @@ -93,6 +95,7 @@ {{ $t('pageProfileSettings.defaultUTC') }} @@ -100,6 +103,7 @@ {{ @@ -112,7 +116,11 @@ - + {{ $t('global.action.saveSettings') }} -- cgit v1.2.3