cypress test fixed
This commit is contained in:
parent
2aa9f30546
commit
a5ce771de8
|
@ -52,7 +52,7 @@ Cypress.Commands.add("createApp", name => {
|
|||
.type("test")
|
||||
cy.contains("Submit").click()
|
||||
cy.contains("Create New Table", {
|
||||
timeout: 10000,
|
||||
timeout: 20000,
|
||||
}).should("be.visible")
|
||||
})
|
||||
})
|
||||
|
@ -143,7 +143,7 @@ Cypress.Commands.add("createScreen", (screenName, route) => {
|
|||
if (route) {
|
||||
cy.get("[data-cy=new-screen-dialog] input:last").type(route)
|
||||
}
|
||||
cy.get(".uk-modal-footer").within(() => {
|
||||
cy.get("[data-cy=create-screen-footer]").within(() => {
|
||||
cy.contains("Create Screen").click()
|
||||
})
|
||||
cy.get(".nav-items-container").within(() => {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<script>
|
||||
import Modal from "./Modal.svelte"
|
||||
import { SettingsIcon } from "components/common/Icons/"
|
||||
import { getContext } from "svelte"
|
||||
import { isActive, goto, layout } from "@sveltech/routify"
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
|
||||
<Spacer extraLarge />
|
||||
|
||||
<div class="modal-footer">
|
||||
<div data-cy="create-screen-footer" class="modal-footer">
|
||||
<Button secondary medium on:click={cancel}>Cancel</Button>
|
||||
<Button blue medium on:click={save}>Create Screen</Button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue