From c512fdab0aa4d5540b3284d4c76b49160fbe5e02 Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 24 Jan 2025 14:01:06 +0100 Subject: [PATCH] fix: refs #4774 create e2e --- .../integration/worker/translationsVn.spec.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/cypress/integration/worker/translationsVn.spec.js diff --git a/test/cypress/integration/worker/translationsVn.spec.js b/test/cypress/integration/worker/translationsVn.spec.js new file mode 100644 index 000000000..5570e25c0 --- /dev/null +++ b/test/cypress/integration/worker/translationsVn.spec.js @@ -0,0 +1,16 @@ +describe('Translations', () => { + const tableType = 'itemTypeI18n'; + const translationSelect = '[data-cy="Table_select"]'; + const firstRow = cy.get('.q-virtual-scroll__content > :nth-child(1) > :nth-child(4)'); + beforeEach(() => { + cy.viewport(1280, 720); + cy.login('buyer'); + cy.visit(`/#/worker/translations`); + }); + + it('should load translations and modify', () => { + cy.get('[data-cy="Table_select"]').click(); + + cy.selectOption(translationSelect, tableType); + }); +});