fix: refs #4774 create test

This commit is contained in:
Carlos Satorres 2025-01-27 08:45:48 +01:00
parent 4327c0c65b
commit 58ab439b50
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
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)');
const firstRow = '.q-virtual-scroll__content > :nth-child(1) > :nth-child(4)';
beforeEach(() => {
cy.viewport(1280, 720);
cy.login('buyer');
@ -10,7 +10,8 @@ describe('Translations', () => {
it('should load translations and modify', () => {
cy.get('[data-cy="Table_select"]').click();
cy.selectOption(translationSelect, tableType);
cy.get(firstRow).type('test');
cy.saveCard();
});
});