changeAppIconAndColor Test Fix

Updating this test as it was failing consistently
This commit is contained in:
Mitch-Budibase 2022-06-01 18:05:51 +01:00
parent aee5a98d80
commit 69454a0c92
1 changed files with 4 additions and 1 deletions

View File

@ -4,11 +4,14 @@ filterTests(['all'], () => {
context("Change Application Icon and Colour", () => { context("Change Application Icon and Colour", () => {
before(() => { before(() => {
cy.login() cy.login()
cy.createTestApp()
}) })
it("should change the icon and colour for an application", () => { it("should change the icon and colour for an application", () => {
// Search for test application // Search for test application
cy.applicationInAppTable("Cypress Tests") //cy.applicationInAppTable("Cypress Tests")
cy.visit(`${Cypress.config().baseUrl}/builder`)
cy.wait(2000)
cy.get(".appTable") cy.get(".appTable")
.within(() => { .within(() => {
cy.get(".app-row-actions-icon").eq(0).click() cy.get(".app-row-actions-icon").eq(0).click()