* workflow fixes * fixes for workflow - cypress test coverage * remove log * adding some assertions to slow test down * force click create user * cypress 5, small wait for user test * remove cypress waiting eslint rule to fix user test * click button directly * test clicking * try changing access level for validity * lint
18 lines
715 B
JavaScript
18 lines
715 B
JavaScript
xcontext('Create a Binding', () => {
|
|
before(() => {
|
|
cy.visit('localhost:4001/_builder')
|
|
cy.createApp('Binding App', 'Binding App Description')
|
|
cy.navigateToFrontend()
|
|
})
|
|
|
|
it('add an input binding', () => {
|
|
cy.get(".nav-items-container").contains('Home').click()
|
|
cy.contains("Add").click()
|
|
cy.get("[data-cy=Input]").click()
|
|
cy.get("[data-cy=Textfield]").click()
|
|
cy.contains("Heading").click()
|
|
cy.get("[data-cy=text-binding-button]").click()
|
|
cy.get("[data-cy=binding-dropdown-modal]").contains('Input 1').click()
|
|
cy.get("[data-cy=binding-dropdown-modal] textarea").should('have.value', 'Home{{ Input 1 }}')
|
|
})
|
|
})
|