Changing Environment
I had this as the test env, changing it back to what it was previously.
This commit is contained in:
parent
d7b4519090
commit
f443127e13
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"baseUrl": "https://test.budi.live/builder/",
|
||||
"baseUrl": "http://localhost:10001/builder/",
|
||||
"video": true,
|
||||
"projectId": "bmbemn",
|
||||
"env": {
|
||||
|
|
|
@ -37,4 +37,4 @@ context("Add Multi-Option Datatype", () => {
|
|||
cy.getComponent(componentId).find('.spectrum-Picker-label').contains("(5)")
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
@ -33,7 +33,3 @@ it("should add Radio Buttons options picker on form, add data, and confirm", ()
|
|||
cy.addCustomSourceOptions(totalRadioButtons)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ context("Create an Application", () => {
|
|||
it("should create a new application", () => {
|
||||
cy.login()
|
||||
cy.createTestApp()
|
||||
cy.visit(`https://test.budi.live/builder`)
|
||||
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
|
||||
cy.contains("Cypress Tests").should("exist")
|
||||
})
|
||||
})
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
return false;
|
||||
});
|
||||
|
||||
context("Create a View", () => {
|
||||
before(() => {
|
||||
cy.login()
|
||||
|
|
|
@ -58,4 +58,4 @@ context("Custom Theming Properties", () => {
|
|||
.get('[title="Gray 800"]').children().find('[aria-label="Checkmark"]')
|
||||
}
|
||||
|
||||
})
|
||||
})
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
|
||||
Cypress.Commands.add("login", () => {
|
||||
cy.visit(`https://test.budi.live/builder`)
|
||||
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
|
||||
cy.wait(2000)
|
||||
cy.url().then(url => {
|
||||
if (url.includes("builder/admin")) {
|
||||
|
@ -29,7 +29,7 @@ Cypress.Commands.add("login", () => {
|
|||
})
|
||||
|
||||
Cypress.Commands.add("createApp", name => {
|
||||
cy.visit(`https://test.budi.live/builder`)
|
||||
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
|
||||
cy.wait(500)
|
||||
cy.contains(/Create (new )?app/).click()
|
||||
cy.wait(500)
|
||||
|
@ -48,7 +48,7 @@ Cypress.Commands.add("createApp", name => {
|
|||
})
|
||||
|
||||
Cypress.Commands.add("deleteApp", () => {
|
||||
cy.visit(`https://test.budi.live/builder`)
|
||||
cy.visit(`localhost:${Cypress.env("PORT")}/builder`)
|
||||
cy.wait(1000)
|
||||
cy.request(`https://test.budi.live/api/applications?status=all`)
|
||||
.its("body")
|
||||
|
@ -232,4 +232,4 @@ Cypress.Commands.add("addCustomSourceOptions", totalOptions => {
|
|||
// Save options
|
||||
cy.get(".spectrum-Button").contains("Save").click({force: true})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue