Run Selenium and Cypress Tests in Bitbucket Pipelines

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ค. 2024
  • In this video I show how you can integrate both Cypress and Selenium tests into Bitbucket. We will also look at how to automate cross browser testing on a CI server.
    Subscribe: www.youtube.com/@mvenell?sub_...
    LinkedIn: / martti-venell-076910261
    More about CI: • Continuous Testing
    More about test automation: • Test Automation
    Chapters
    0:00 - How to Integrate Cypress Tests to Bitbucket Pipelines
    4:04 - Cypress: Create Pipeline
    11:45 - Cypress: Cross Browser Configuration
    13:29 - Cypress: Test Reports
    14:25 - How to Integrate Selenium Tests to Bitbucket Pipelines
    22:05 - Selenium: Configure Pipeline
    28:21 - Selenium: Cross Browser Tests
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11

  • @nemz5451
    @nemz5451 หลายเดือนก่อน +1

    This deserves waay more view mate, so helpful 👍🏽

    • @errorfarm
      @errorfarm  หลายเดือนก่อน

      Much appreciated!

  • @umytumyt9773
    @umytumyt9773 หลายเดือนก่อน

    Hi, great working

    • @errorfarm
      @errorfarm  หลายเดือนก่อน

      Thanks!

  • @user-nm8yp6ke9v
    @user-nm8yp6ke9v 2 หลายเดือนก่อน

    Hi, great tutorial. Can you help me? I don't get a artifacts. I have a tab with build only

    • @errorfarm
      @errorfarm  2 หลายเดือนก่อน

      Okay. You can check with ls command if your artifact directory really exists and also that the folder contains something and it isn't empty. For example: ls -la artifact-folder/*

  • @julios9816
    @julios9816 2 หลายเดือนก่อน

    how to Running Tests In Parallel Using cypress-split in Bitbucket Pipelines?

    • @errorfarm
      @errorfarm  2 หลายเดือนก่อน

      You can try it with parallel steps defining npx cypress split=true in multiple parallel steps.
      Here is how to define parallel steps: support.atlassian.com/bitbucket-cloud/docs/parallel-step-options/

  • @umytumyt9773
    @umytumyt9773 หลายเดือนก่อน

    Hello, first of all, I appreciate your efforts. I hope you receive ample rewards for them. How can I run a Java Selenium/Cucumber Maven test on Bitbucket Pipelines? I'd appreciate your assistance with this. When I try to run it, I encounter the following issue: 'Run 1: Failed to instantiate class stepdefinitions. Run 2: Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist). (The process started from chrome location /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)' I would be grateful for your help. Thank you. Have a productive day.

    • @errorfarm
      @errorfarm  หลายเดือนก่อน

      Sounds like you are using a local chromedriver. My videos are not about those issues. This may help you if you want to install chromedriver yourself: www.npmjs.com/package/chromedriver

    • @umytumyt9773
      @umytumyt9773 หลายเดือนก่อน

      @@errorfarm thanks for help. good luck for life