Some changes for addMultiOptionDatatype
This commit is contained in:
parent
58a40be2e5
commit
ce64923813
|
@ -26,7 +26,8 @@ context("Add Multi-Option Datatype", () => {
|
|||
// Add multi-select picker to form
|
||||
cy.addComponent("Form", "Multi-select Picker").then((componentId) => {
|
||||
cy.get('[data-cy="field-prop-control"]').type("Test Data").type('{enter}')
|
||||
cy.getComponent(componentId).click()
|
||||
cy.wait(1000)
|
||||
cy.getComponent(componentId).contains("Choose some options").click()
|
||||
// Check picker has 5 items
|
||||
cy.getComponent(componentId).find('li').should('have.length', 5)
|
||||
// Select all items
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
// ***********************************************
|
||||
//
|
||||
|
||||
Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
return false
|
||||
})
|
||||
|
||||
Cypress.Commands.add("login", () => {
|
||||
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
|
||||
cy.wait(2000)
|
||||
|
|
Loading…
Reference in New Issue