# Radio

cy.get('[data-cy=busTask-taskStyle] > .ant-radio-wrapper-checked > .ant-radio > .ant-radio-input').should('have.value', 0)

# Checkbox

cy.get('[data-cy=busTask-category]').find('input[type=checkbox]').then(list => {
    list.eq(3).click()
    list.eq(4).click()
})

# Select

此处需要设置dropdownClassName属性后使用

cy.get('[data-cy=busTask-responsibleSecond]').type('LI_QINGMAO')
cy.get('.busTask-responsibleSecond > .ant-select-dropdown-content > ul > li').then(list => {
    list.eq(0).click()
})

# DatePicker

cy.get('[data-cy=busTask-startTime]').type('2022-05-20{enter}')

# Message

cy.get('.ant-message-notice').should('be.visible').and('include.text', '操作成功')

# To Be Continued!😎

Last Updated: 5/20/2022, 5:33:47 PM