mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-06 01:37:11 +00:00
test(cypress): base share, gql - close client window before iFrame verification
Signed-off-by: Raju Udava <sivadstala@gmail.com>
This commit is contained in:
@@ -92,6 +92,11 @@ style="background: transparent; "></iframe>
|
||||
// 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')
|
||||
|
||||
Reference in New Issue
Block a user