1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00

Update DeleteApp function & Enable Cypress video flag

Commands.js
- DeleteApp does not need specific functionality for test env

cypress.json
- Enabling video flag for Cypress
This commit is contained in:
Mitch-Budibase 2022-05-11 16:49:27 +01:00
parent 9312839099
commit 2e53a80219
2 changed files with 1 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{
"baseUrl": "http://localhost:4100",
"video": false,
"video": true,
"projectId": "bmbemn",
"env": {
"PORT": "4100",

View file

@ -75,9 +75,6 @@ Cypress.Commands.add("deleteApp", name => {
const findAppName = val.some(val => val.name == name)
if (findAppName) {
if (val.length > 0) {
if (Cypress.env("TEST_ENV")) {
cy.searchForApplication(name)
}
const appId = val.reduce((acc, app) => {
if (name === app.name) {
acc = app.appId