wip: cypress fix

This commit is contained in:
kevmodrome 2020-09-01 11:16:41 +02:00
parent fc39744bf0
commit 40e6d51d24
2 changed files with 4 additions and 2 deletions

View File

@ -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 }}')
})

View File

@ -24,7 +24,7 @@
$: ({ instance, context } = groupBy("type", bindableProperties))
</script>
<div class="container">
<div class="container" data-cy="binding-dropdown-modal">
<div class="list">
<Label size="l" color="dark">Objects</Label>
{#if context}