diff --git a/scripts/cypress/integration/common/6g_base_share.js b/scripts/cypress/integration/common/6g_base_share.js index b938ccf0f8..a677feb51c 100644 --- a/scripts/cypress/integration/common/6g_base_share.js +++ b/scripts/cypress/integration/common/6g_base_share.js @@ -92,6 +92,11 @@ style="background: transparent; "> // wait for iFrame to load cy.frameLoaded('.nc-embed') + // for GQL- additionally close GQL Client window + if (type === 'graphql') { + cy.iframe().find(`[title="Graphql Client"] > button.mdi-close`).click() + } + // validation for base menu opitons cy.iframe().find('.nc-project-tree').should('exist') cy.iframe().find('.nc-fields-menu-btn').should('exist')