fix: refs #4774 create test
This commit is contained in:
parent
4327c0c65b
commit
58ab439b50
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue