1
0
Fork 0
mirror of synced 2024-06-02 18:44:54 +12:00

Minor Smoke Build Test changes

Updates for appOverview & autoScreensUI
This commit is contained in:
Mitch-Budibase 2022-06-08 17:14:02 +01:00
parent babbd22bf6
commit 72adb450b3
2 changed files with 3 additions and 5 deletions

View file

@ -309,11 +309,8 @@ filterTests(['all'], () => {
cy.visit(`${Cypress.config().baseUrl}/builder`)
cy.get(".appTable .name").eq(0).click()
cy.get(".app-overview-actions-icon > .icon").click({ force : true })
cy.get("[data-cy='app-overview-menu-popover']").eq(0).within(() => {
cy.get(".spectrum-Menu-item").contains("Unpublish").click({ force: true })
cy.wait(500)
cy.get(".overview-tab [data-cy='app-status']").within(() => {
cy.get(".spectrum-Link").contains("Unpublish").click()
})
cy.get("[data-cy='unpublish-modal']").should("be.visible")

View file

@ -5,6 +5,7 @@ filterTests(['smoke', 'all'], () => {
context("Auto Screens UI", () => {
before(() => {
cy.login()
cy.deleteAllApps()
})
it("should disable the autogenerated screen options if no sources are available", () => {