EP-14 Run Cypress Tests in Parallel Without using Cypress Dashboard

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • The video continas the details about how to run the cypress tests in parallel without using cypress dashboard. The plugin to execute the cypress tests in parallel is available on npm website.
    www.npmjs.com/...
    This parallel plugin works only with gitlab ci instance.

Комментарии • 22

  • @zahrashafi7884
    @zahrashafi7884 2 месяца назад

    Hi , could you give us the implementation of parallel execution in jenkins for cypress?

    • @veerkumarpatil
      @veerkumarpatil  2 месяца назад

      This is not feasible with Jenkins as cypress is bit heavy application. In order to achieve the parallization you can use docker compose when it comes to running tests in parallel on single machine

    • @zahrashafi7884
      @zahrashafi7884 2 месяца назад

      How about the --parallel keyword in Cypress

    • @veerkumarpatil
      @veerkumarpatil  2 месяца назад

      This would not run in parallel it needs cypress cloud subscription plus even though you use it. It will run on single machine as Jenkins is not capable of running in parallel.

    • @zahrashafi7884
      @zahrashafi7884 2 месяца назад

      Cypress cloud we just need the record key right? Do we need to make any payments for it. Also, I saw a plug-in called cypress-parallel. Will this work in jenkins?

    • @veerkumarpatil
      @veerkumarpatil  2 месяца назад

      @zahrashafi7884 yes it will need key. That will be executed with the Jenkins however it will not run in parallel

  • @mikasjoman
    @mikasjoman 7 месяцев назад

    will this be maintained?

  • @noeldulin4524
    @noeldulin4524 Год назад

    Hi, Mine also is running in series how do i fix this?

    • @veerkumarpatil
      @veerkumarpatil  Год назад

      Hey Noel is it possible to add me on your Gitlab repo to have a look

    • @veerkumarpatil
      @veerkumarpatil  Год назад

      Noel Dulin can you check the path for the e2e folder in getspecFiles("../cypress/e2e",true) it will be either "../cypress/e2e" or "../cypress/e2e" it should be your e2e folder path

  • @sebastianselvaraj2608
    @sebastianselvaraj2608 Год назад

    Hi, could it be extended for running with cucumber feature files in cypress/e2e?

    • @veerkumarpatil
      @veerkumarpatil  Год назад +1

      Sebastian Selvaraj, Currently this plugin doesn't support cucumber.I am working on a plug-in for the same.

    •  4 месяца назад

      I tried this plugin for Cypress with cucumber. Facing an error in the glob pattern, which is cypress/e2e/tmp/parallel.feature. Can we get both feature file and cy.js file in the temp folder. @veerkumarpatil

  • @JohnJons_7
    @JohnJons_7 11 месяцев назад

    Hi
    How did you open allure report?

    • @veerkumarpatil
      @veerkumarpatil  11 месяцев назад

      Go to Settings and from there see for pages you will find a link for the page where the report is deployed

    • @JohnJons_7
      @JohnJons_7 11 месяцев назад

      @@veerkumarpatil I didn’t get it, where exactly in settings should i find link on the report
      I can open allure from the artifacts, and also can open in reporting job ( pages ) , but the issue is that in my report I got only one test, not all in summary

  • @vicky18782
    @vicky18782 9 месяцев назад

    is this applicable for cypress+ cucumber ?

  • @priyeshrockdance8860
    @priyeshrockdance8860 Год назад

    Is there any alternate way to run on GitActions?

    • @veerkumarpatil
      @veerkumarpatil  Год назад

      I am working on that once done I will update the plugin and will share the video as well

    • @veerkumarpatil
      @veerkumarpatil  Год назад +1

      Here is the video on how to run inside GitHub using GitHub actions
      ruclips.net/video/k2N2IPRaxXI/видео.html