ci: refs #6695 feat jenkins parallel e2e #1473

Merged
alexm merged 60 commits from 6695-jenkins_e2e_parallel into dev 2025-03-06 08:35:45 +00:00
3 changed files with 7 additions and 3 deletions
Showing only changes of commit 0d2178fc5c - Show all commits

View File

@ -1,4 +1,8 @@
cypressParallel() {
# TEST_PATHS=(
Outdated
Review

Dixe el codi per si algu vol tirar x en concret?

Dixe el codi per si algu vol tirar x en concret?
Outdated
Review

No, que execute directament cypress

No, que execute directament cypress
# '...'
# )
# printf "%s\n" "${TEST_PATHS[@]}" | xargs -P $1 -I {} sh -c 'xvfb-run -a cypress run --headless --browser chromium --spec {}'
find 'test/cypress/integration' -mindepth 1 -maxdepth 1 -type d | xargs -P "$1" -I {} sh -c 'echo "🔷 {}" && xvfb-run -a cypress run --headless --browser chromium --spec "{}" --quiet > /dev/null 2>&1'
wait
}
Outdated
Review

Crec que sh -c no fa falta, pots executar directament el comando xvfb?

Crec que `sh -c` no fa falta, pots executar directament el comando `xvfb`?

View File

@ -13,7 +13,6 @@ describe('InvoiceOut summary', () => {
const confirmSend = '.q-btn--unelevated';
beforeEach(() => {
cy.viewport(1920, 1080);
cy.login('developer');
cy.visit(`/#/invoice-out/1/summary`);
});
@ -36,7 +35,9 @@ describe('InvoiceOut summary', () => {
it('should open the ticket list', () => {
cy.get(toTicketList).click();
cy.get('.descriptor').should('be.visible');
cy.dataCy('vnFilterPanelChip').should('include.text', 'T1111111');
cy.get('[data-col-field="stateFk"]').each(($el) => {
cy.wrap($el).contains('T1111111');
});
});
it('should transfer the invoice ', () => {

View File

@ -16,7 +16,6 @@ describe('Item list', () => {
cy.get('.q-virtual-scroll__content > :nth-child(4) > :nth-child(4)').click();
});
// https://redmine.verdnatura.es/issues/8421
it('should create an item', () => {
const data = {
Description: { val: `Test item` },