Skip to content

Commit

Permalink
E2E: Import, add files
Browse files Browse the repository at this point in the history
  • Loading branch information
StaNov committed Dec 17, 2024
1 parent 09de4a8 commit 2395ced
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions e2e/cypress/e2e/import/importAddingFiles.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
{
Expand Down

0 comments on commit 2395ced

Please sign in to comment.