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:
parent
cf78ccd6b5
commit
ffd1821f7d
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"baseUrl": "http://localhost:4100",
|
||||
"video": false,
|
||||
"video": true,
|
||||
"projectId": "bmbemn",
|
||||
"env": {
|
||||
"PORT": "4100",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue