wip: cypress fix
This commit is contained in:
parent
5de7384295
commit
d870ccaf6c
|
@ -3,6 +3,8 @@ context('Create a Binding', () => {
|
||||||
cy.visit('localhost:4001/_builder')
|
cy.visit('localhost:4001/_builder')
|
||||||
cy.createApp('Binding App', 'Binding App Description')
|
cy.createApp('Binding App', 'Binding App Description')
|
||||||
cy.createTable('dog')
|
cy.createTable('dog')
|
||||||
|
cy.addColumn('dog', 'name', 'Plain Text')
|
||||||
|
cy.addRecord(["Rover"])
|
||||||
cy.navigateToFrontend()
|
cy.navigateToFrontend()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -13,7 +15,7 @@ context('Create a Binding', () => {
|
||||||
cy.get("[data-cy=Textfield]").click()
|
cy.get("[data-cy=Textfield]").click()
|
||||||
cy.contains("Heading").click()
|
cy.contains("Heading").click()
|
||||||
cy.get("[data-cy=text-binding-button]").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 }}')
|
cy.contains('Home{{ Input 1 }}')
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
$: ({ instance, context } = groupBy("type", bindableProperties))
|
$: ({ instance, context } = groupBy("type", bindableProperties))
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container" data-cy="binding-dropdown-modal">
|
||||||
<div class="list">
|
<div class="list">
|
||||||
<Label size="l" color="dark">Objects</Label>
|
<Label size="l" color="dark">Objects</Label>
|
||||||
{#if context}
|
{#if context}
|
||||||
|
|
Loading…
Reference in New Issue