Add missing click on creation trigger

This commit is contained in:
Lukas Hirt
2020-09-09 13:55:35 +02:00
parent 5fa91c4a1d
commit 170152f9f2
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -4,6 +4,7 @@
<h1 v-text="$gettext('Accounts')" />
<oc-button
v-if="numberOfSelectedAccounts < 1"
id="accounts-new-account-trigger"
key="create-accounts-button"
v-text="$gettext('Create new user')"
variation="primary"
@@ -95,6 +95,7 @@ module.exports = {
createUser: function (username, email, password) {
return this
.click('@accountsNewAccountTrigger')
.setValue('@newAccountInputUsername', username)
.setValue('@newAccountInputEmail', email)
.setValue('@newAccountInputPassword', password)
@@ -164,6 +165,9 @@ module.exports = {
},
newAccountButtonConfirm: {
selector: '#accounts-new-account-button-confirm'
},
accountsNewAccountTrigger: {
selector: '#accounts-new-account-trigger'
}
}
}