fix: refs #7524 dynamic load #709

Merged
alexm merged 2 commits from 7524-hotfix-dynamicFetch into master 2024-09-13 05:59:29 +00:00
1 changed files with 12 additions and 1 deletions
Showing only changes of commit 5907fedcd6 - Show all commits

View File

@ -8,6 +8,8 @@ describe('ClaimDevelopment', () => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/claim/${claimId}/development`);
cy.intercept('GET', /\/api\/Workers\/search/).as('workers');
Review

Se realizan 2 veces la llamada, 1 por cada fila.

Se realizan 2 veces la llamada, 1 por cada fila.
cy.intercept('GET', /\/api\/Workers\/search/).as('workers');
cy.waitForElement('tbody');
});
@ -32,10 +34,19 @@ describe('ClaimDevelopment', () => {
});
it('should add and remove new line', () => {
cy.wait(['@workers', '@workers']);
Review

Se interceptan 2 veces

Se interceptan 2 veces
cy.addCard();
cy.get(thirdRow).should('exist');
const rowData = [false, 'Novato', 'Roces', 'Compradores', 'employeeNick', 'Tour'];
const rowData = [
false,
'Novato',
'Roces',
'Compradores',
'administrativeNick',
'Tour',
];
cy.fillRow(thirdRow, rowData);
cy.saveCard();