@ -34,7 +34,8 @@ context("Create a Table", () => {
})
it("edits a row", () => {
cy.get("button").contains("Edit").click()
cy.contains("button", "Edit").click({ force: true })
cy.wait(1000)
cy.get(".modal input").type("Updated")
cy.contains("Save").click()
cy.contains("RoverUpdated").should("have.text", "RoverUpdated")
@ -43,7 +43,7 @@
bind:this={confirmDeleteDialog}
okText="Delete Automation"
onOk={deleteAutomation}
title="Confirm Delete">
title="Confirm Deletion">
Are you sure you wish to delete the automation
<i>{automation.name}?</i>
This action cannot be undone.
@ -25,7 +25,7 @@
bind:this={modal}
okText="Delete"
onOk={confirmDeletion}
Are you sure you want to delete
{selectedRows.length}
row{selectedRows.length > 1 ? 's' : ''}?
@ -170,7 +170,7 @@
okText="Delete Column"
onOk={deleteColumn}
onCancel={hideDeleteDialog}
title="Confirm Delete" />
title="Confirm Deletion" />
<style>
.actions {
body={`Are you sure you wish to delete this row? Your data will be deleted and this action cannot be undone.`}
okText="Delete Row"
onOk={deleteRow}
.ri-delete-bin-line:hover {
@ -12,7 +12,7 @@
}
</script>
<Button translucent small on:click={showModal}>Edit</Button>
<Button data-cy="edit-row" translucent small on:click={showModal}>Edit</Button>
<Modal bind:this={modal}>
<CreateEditRowModal {row} />
</Modal>
@ -103,7 +103,7 @@
okText="Delete Table"
onOk={deleteTable}
Are you sure you wish to delete the table
<i>{table.name}?</i>
The following will also be deleted:
@ -81,7 +81,7 @@
body={`Are you sure you wish to delete the view '${view.name}'? Your data will be deleted and this action cannot be undone.`}
okText="Delete View"
onOk={deleteView}
div.icon {
@ -147,7 +147,7 @@
</div>
<ConfirmDialog
title="Confirm Delete"
title="Confirm Deletion"
body={`Are you sure you wish to delete this '${lastPartOfName(component)}' component?`}
okText="Delete Component"
onOk={deleteComponent} />
@ -39,7 +39,7 @@
body={`Are you sure you wish to delete the screen '${screen.props._instanceName}' ?`}
okText="Delete Screen"
onOk={deleteScreen} />