diff --git a/packages/builder/cypress/integration/createBinding.spec.js b/packages/builder/cypress/integration/createBinding.spec.js index c9ab734a11..43fed6df06 100644 --- a/packages/builder/cypress/integration/createBinding.spec.js +++ b/packages/builder/cypress/integration/createBinding.spec.js @@ -3,6 +3,8 @@ context('Create a Binding', () => { cy.visit('localhost:4001/_builder') cy.createApp('Binding App', 'Binding App Description') cy.createTable('dog') + cy.addColumn('dog', 'name', 'Plain Text') + cy.addRecord(["Rover"]) cy.navigateToFrontend() }) @@ -13,7 +15,7 @@ context('Create a Binding', () => { cy.get("[data-cy=Textfield]").click() cy.contains("Heading").click() cy.get("[data-cy=text-binding-button]").click() - cy.contains('Input 1').click() + cy.get("[data-cy=binding-dropdown-modal]").contains('Input 1').click() cy.contains('Home{{ Input 1 }}') }) diff --git a/packages/builder/src/components/userInterface/BindingDropdown.svelte b/packages/builder/src/components/userInterface/BindingDropdown.svelte index d578d41a5d..1c18e08dc7 100644 --- a/packages/builder/src/components/userInterface/BindingDropdown.svelte +++ b/packages/builder/src/components/userInterface/BindingDropdown.svelte @@ -24,7 +24,7 @@ $: ({ instance, context } = groupBy("type", bindableProperties)) -