Skip to content

Commit b0e473a

Browse files
committed
PB-2026: Add another goToMapView to fix cypress running issue in the CI.
1 parent 009e1cf commit b0e473a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/viewer/tests/cypress/tests-e2e/importToolFile.cy.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,8 @@ describe('The Import File Tool', () => {
786786
statusCode: 200,
787787
}
788788
)
789-
789+
// Adding this goToMapView without layer first fix an issue in the CI where the test failed but pass in local
790+
cy.goToMapView({ withHash: true })
790791
cy.goToMapView({
791792
queryParams: {
792793
layers: [
@@ -1018,8 +1019,6 @@ describe('The Import File Tool', () => {
10181019
//open menu and open import tool again
10191020
cy.openMenuIfMobile()
10201021
cy.get('[data-cy="menu-tray-tool-section"]:visible').click()
1021-
// cy.get('[data-cy="menu-advanced-tools-import-file"]:visible').click()
1022-
// cy.get('[data-cy="import-file-content"]').should('be.visible')
10231022

10241023
//----------------------------------------------------------------------
10251024
// Test local import error handling

0 commit comments

Comments
 (0)