Giter VIP home page Giter VIP logo

Comments (8)

ketteq-neon avatar ketteq-neon commented on July 17, 2024

HI Team,

Please provide your valuable input!!

from cypress-parallel.

ketteq-neon avatar ketteq-neon commented on July 17, 2024

Hi Team,

Anyone have any resolution for the above issue?

from cypress-parallel.

Densf2 avatar Densf2 commented on July 17, 2024

could you share the error message. I using cypress-parallel with Jenkins with the same configuration and commands. And no issues and successfully getting results
@ketteq-neon

from cypress-parallel.

ketteq-neon avatar ketteq-neon commented on July 17, 2024

@Densf2

there is no error in Jenkins build, just immediate completion of one thread's execution it's come out of execution.

Please refer attached screen shots, I am trying to run two scripts on two threads having 10 sec and 20 sec wait only.
npm scripts:

"ketteq:config:script": "cypress run --browser chrome --headless ",
"parallel","cypress-parallel -d cypress/e2e/api/uiE2E -t 2 -s ketteq:config:script -w parallel-weights.json"

but after execution of 10 sec scripts on thread 1 its automatically stop the execution and make Jenkins build successful.

Please let me know if you need further Information on the same.
screenshot1
screenshot2
screenshot3

from cypress-parallel.

ketteq-neon avatar ketteq-neon commented on July 17, 2024

@Densf2 could you please share your npm scripts with me?

from cypress-parallel.

Densf2 avatar Densf2 commented on July 17, 2024

yeah, I used the same commands but some different parameters:

“merge_reports”: “mochawesome-merge cypress/reports/mochawesome-report/*.json -o cypress/reports/mochawesome-report/output.json”,
“mochawesome_report”: “marge -i cypress/reports/mochawesome-report/output.json -o cypress/reports/mochawesome-html-report/“,
“make_report”: “npm run merge_reports && npm run mochawesome_report”,
“cy:parallel_10_streams”: “cypress-parallel -s cypress:run-no-video -t 10 -d cypress/e2e -r mochawesome -o reportDir=cypress/reports/mochawesome-report,html=false,json=true,overwrite=false,timestamp=mmddyyyy_HHMMss -m false”,
“run_cy_tests_parallel_10_str”: “npm-run-all -s -c  cy:parallel_10_streams make_report”,

and always received results for all threads

from cypress-parallel.

ketteq-neon avatar ketteq-neon commented on July 17, 2024

@Densf2 did you run these scripts on cypress container?

from cypress-parallel.

Densf2 avatar Densf2 commented on July 17, 2024

yes, these configuration works with official images cypress/inlcuded - but I can't share the results due to changes in tests for commercial project

from cypress-parallel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.