浏览代码

fix(cypress): Adjust user settings tests for changed actions component

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
tags/v28.0.0rc1
Ferdinand Thiessen 7 个月前
父节点
当前提交
0b55db7f1d
没有帐户链接到提交者的电子邮件

+ 1
- 0
apps/settings/src/views/Users.vue 查看文件

@@ -97,6 +97,7 @@
{{ t('settings', 'Create group') }}
</NcActionText>
<NcActionInput :label="t('settings', 'Group name')"
data-cy-settings-new-group-name
:label-outside="false"
:disabled="loadingAddGroup"
:value.sync="newGroupName"

+ 5
- 5
cypress/e2e/settings/users_groups.cy.ts 查看文件

@@ -39,15 +39,15 @@ describe('Settings: Create groups', () => {
// open the Create group menu
cy.get('button[aria-label="Create group"]').click()

cy.get('.action-item__popper ul[role="menu"]').within(() => {
cy.get('li[data-cy-settings-new-group-name]').within(() => {
// see that the group name is ""
cy.get('input[placeholder="Group name"]').should('exist').and('have.value', '')
cy.get('input').should('exist').and('have.value', '')
// set the group name to foo
cy.get('input[placeholder="Group name"]').type(groupName)
cy.get('input').type(groupName)
// see that the group name is foo
cy.get('input[placeholder="Group name"]').should('have.value', groupName)
cy.get('input').should('have.value', groupName)
// submit the group name
cy.get('input[placeholder="Group name"] ~ button').click()
cy.get('input ~ button').click()
})

// Make sure no confirmation modal is shown

cypress/e2e/settings/systemtags.cy.ts → cypress/e2e/systemtags/admin-settings.cy.ts 查看文件


+ 2
- 2
dist/settings-users-8351.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
dist/settings-users-8351.js.map
文件差异内容过多而无法显示
查看文件


+ 2
- 2
dist/settings-vue-settings-apps-users-management.js
文件差异内容过多而无法显示
查看文件


+ 1
- 1
dist/settings-vue-settings-apps-users-management.js.map
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存