test(cypress): URL path trim & baseUrl configured as NULL for full URL access

Signed-off-by: Raju Udava <sivadstala@gmail.com>
This commit is contained in:
Raju Udava
2021-11-15 20:27:22 +05:30
parent df15094803
commit 982d8a352b
9 changed files with 54 additions and 26 deletions

View File

@@ -57,7 +57,9 @@ export const genTest = (type, xcdb) => {
let URL = jsonPayload.SWAGGER_URL
Token = jsonPayload.AUTH_TOKEN
cy.visit(URL).then(() => {
cy.visit(URL, {
baseUrl: null
}).then(() => {
// wait to allow time for SWAGGER Library loading to finish
cy.wait(5000)