|
|
@ -89,6 +89,8 @@ function verifyWebhook(config) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export const genTest = (apiType, dbType, testMode) => { |
|
|
|
export const genTest = (apiType, dbType, testMode) => { |
|
|
|
|
|
|
|
let clear; |
|
|
|
|
|
|
|
|
|
|
|
if (!isTestSuiteActive(apiType, dbType)) return; |
|
|
|
if (!isTestSuiteActive(apiType, dbType)) return; |
|
|
|
describe(`Quick Tests`, () => { |
|
|
|
describe(`Quick Tests`, () => { |
|
|
|
let cellIdx = 1; |
|
|
|
let cellIdx = 1; |
|
|
@ -115,6 +117,9 @@ export const genTest = (apiType, dbType, testMode) => { |
|
|
|
|
|
|
|
|
|
|
|
cy.openTableTab("Film", 3); |
|
|
|
cy.openTableTab("Film", 3); |
|
|
|
cy.saveLocalStorage(); |
|
|
|
cy.saveLocalStorage(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clear = Cypress.LocalStorage.clear; |
|
|
|
|
|
|
|
Cypress.LocalStorage.clear = () => {}; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
beforeEach(() => { |
|
|
|
beforeEach(() => { |
|
|
@ -129,6 +134,8 @@ export const genTest = (apiType, dbType, testMode) => { |
|
|
|
cy.restoreLocalStorage(); |
|
|
|
cy.restoreLocalStorage(); |
|
|
|
cy.signOut(); |
|
|
|
cy.signOut(); |
|
|
|
cy.saveLocalStorage(); |
|
|
|
cy.saveLocalStorage(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cypress.LocalStorage.clear = clear; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
it("Verify Schema", () => { |
|
|
|
it("Verify Schema", () => { |
|
|
|