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 3 additions and 3 deletions
Showing only changes of commit ba467034d2 - Show all commits

3
Jenkinsfile vendored
View File

@ -117,10 +117,11 @@ pipeline {
sh 'rm junit/e2e-*.xml || true'
env.COMPOSE_TAG = PROTECTED_BRANCH.contains(env.CHANGE_TARGET) ? env.CHANGE_TARGET : 'dev'
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
sh 'docker login --username $CREDS_USR --password $CREDS_PSW $REGISTRY'
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
alexm marked this conversation as resolved Outdated
Outdated
Review

Perque no fas que directament cypressParallel.sh pase els test en un comando que crida al script

Perque no fas que directament cypressParallel.sh pase els test en un comando que crida al script
def image = docker.build('lilium-dev', '-f docs/Dockerfile.dev docs')
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ") {
sh 'sh test/cypress/cypressParallel.sh 2'
}

View File

@ -3,7 +3,6 @@ function goTo(n = 1) {
return `.q-virtual-scroll__content > :nth-child(${n})`;
}
const firstRow = goTo();
`.q-virtual-scroll__content > :nth-child(2)`;
describe('Handle Items FixedPrice', () => {
beforeEach(() => {
cy.viewport(1280, 720);

View File

@ -2,7 +2,7 @@
describe('Logout', () => {
beforeEach(() => {
cy.login('developer');
cy.visit(`/#/dashboard`);
cy.visit(`/#/dashboard`, false);
cy.waitForElement('.q-page', 6000);
});
describe('by user', () => {