Merge pull request #8048 from Budibase/smoke-build
Minor Smoke Build Changes
This commit is contained in:
commit
2987d4c57c
|
@ -20,7 +20,9 @@ filterTests(["smoke", "all"], () => {
|
||||||
cy.get(".spectrum-Form-itemField").eq(3).should('contain', 'App User')
|
cy.get(".spectrum-Form-itemField").eq(3).should('contain', 'App User')
|
||||||
|
|
||||||
// User should not have app access
|
// User should not have app access
|
||||||
cy.get(interact.LIST_ITEMS, { timeout: 500 }).should("contain", "No apps")
|
cy.get(".spectrum-Heading").contains("Apps").parent().within(() => {
|
||||||
|
cy.get(interact.LIST_ITEMS, { timeout: 500 }).should("contain", "This user has access to no apps")
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
if (Cypress.env("TEST_ENV")) {
|
if (Cypress.env("TEST_ENV")) {
|
||||||
|
|
|
@ -54,6 +54,7 @@ filterTests(['smoke', 'all'], () => {
|
||||||
cy.createDatasourceScreen([initialTable, secondTable])
|
cy.createDatasourceScreen([initialTable, secondTable])
|
||||||
// Confirm screens have been auto generated
|
// Confirm screens have been auto generated
|
||||||
// Previously generated tables are suffixed with numbers - as expected
|
// Previously generated tables are suffixed with numbers - as expected
|
||||||
|
cy.wait(1000)
|
||||||
cy.get(interact.BODY).should('contain', 'cypress-tests-2')
|
cy.get(interact.BODY).should('contain', 'cypress-tests-2')
|
||||||
.and('contain', 'cypress-tests-2/:id')
|
.and('contain', 'cypress-tests-2/:id')
|
||||||
.and('contain', 'cypress-tests-2/new/row')
|
.and('contain', 'cypress-tests-2/new/row')
|
||||||
|
|
Loading…
Reference in New Issue