From 2395ceda2e997c2c4ca0fd73a2e91ece274eaf58 Mon Sep 17 00:00:00 2001 From: StaNov Date: Tue, 17 Dec 2024 13:14:49 +0100 Subject: [PATCH] E2E: Import, add files --- e2e/cypress/e2e/import/importAddingFiles.cy.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/e2e/cypress/e2e/import/importAddingFiles.cy.ts b/e2e/cypress/e2e/import/importAddingFiles.cy.ts index 1c42d40084..d98f6b7d28 100644 --- a/e2e/cypress/e2e/import/importAddingFiles.cy.ts +++ b/e2e/cypress/e2e/import/importAddingFiles.cy.ts @@ -57,6 +57,15 @@ describe('Import Adding files', () => { ).should('have.length', 2); }); + it('uploads .zip with namespaces when namespaces are disabled', () => { + cy.get('[data-cy=dropzone]').attachFile('import/namespaces.zip', { + subjectType: 'drag-n-drop', + }); + + cy.gcy('import-file-warnings').should('be.visible'); + cy.gcy('namespaces-selector').should('not.exist'); + }); + it( 'uploads multiple xliffs', {