Skip to content

Commit

Permalink
fix: 修复自动化测试出来的bug, 级联value format 显示的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed Oct 12, 2020
1 parent 669d6bb commit 2658d2f
Show file tree
Hide file tree
Showing 4 changed files with 9,877 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ describe(menu, () => {
cy,
url: '/demo/form/validation',
doAdd () {
cy.formItem('姓名').find('.el-input').click()
cy.formItem('姓名').find('input').clear().type('张三')

cy.get('.el-dialog__footer').contains('确定').click()
cy.formItem('密码').contains('请输入密码')
cy.formItem('必选').contains('请选择一个选项')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('省市区', () => {
cy.getCascadeOptions(2).first().click()
cy.getCascadeOptions(3).first().click()

cy.formItem('后台返回三个字段').find('.d2p-cascade').click()
cy.formItem('后台三个字段').find('.d2p-cascade').click()
cy.getCascadeOptions(1).first().click()
cy.getCascadeOptions(2).first().click()
cy.getCascadeOptions(3).first().click()
Expand Down
Loading

0 comments on commit 2658d2f

Please sign in to comment.