fix: refs #4774 create e2e

This commit is contained in:
Carlos Satorres 2025-01-24 14:01:06 +01:00
parent 59b86ac994
commit c512fdab0a
1 changed files with 16 additions and 0 deletions

View File

@ -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);
});
});