Part 33 - Cypress with Docker - Mochawesome Report, Cross-Browser & Parallel Testing

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • In this video I've shown how Cypress works With Docker. You would learn to
    1. Build DockerFile
    2. Build docker-compose.yml
    3. Export Mochawesome report from Container
    4. Run Cross-Browser Tests in Parallel
    GITHUB Repo for this video - github.com/qab...
    GITHUB Repor URL for Cypress Jenkins Video- github.com/qab...
    JAVASCRIPT
    • JavaScript Tutorial fo...
    FRAMEWORK, ASSERTION, REPORT
    • JavaScript Testing Fra...
    ELEMENT LOCATOR
    jQuery -
    • jQuery - find UI eleme...
    CSS SELECTOR
    • Learn CSS Selectors (i...
    XPath
    • Master XPath for UI Au...
    Nodejs Basics • Nodejs Basics
    WEB & API CONCEPTS
    Important API Testing Concepts - API TESTING 101
    • Important API Testing ...
    Learn API Testing using Postman
    • Learn API Testing usin...
    Github Link: -
    github.com/qab...
    API Github Link: -
    github.com/qab...
    Conduit App link: -
    react-redux.re...

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

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

    Thank you so much for the great explanation 😀

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

    thanks, sir it's very useful for me.

  • @naveenbv1838
    @naveenbv1838 3 года назад

    Thank u so soooooo much with lots of love for your way of explaination and kind heart to share your knowledge 🙏 Eagerly was waiting for ur video from long long time and finally it happened 🙏

  • @ganeshbalasti
    @ganeshbalasti 3 года назад +3

    thanks a lot!. I am facing an issue with running cypress tests with cucumber tags, tests are not advancing after a skipped test, could you please make a video on it.

  • @damienosullivan6353
    @damienosullivan6353 2 года назад

    I have pulled your repo, but when I run the tests, the HTML test report is not generating

  • @HarishKumar-yp3tv
    @HarishKumar-yp3tv 2 года назад

    Thanks lot for the nice informative video. Can you please help me how can i use the database image to create tests. As i created a database image and want to use that database and run my tests. thanks in advance

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

    whether parallel testing can be made locally? Does cypress support ?

  • @NeoNeoza
    @NeoNeoza 2 года назад

    I'm new to testing using cypress. does it support remote execution

  • @krupalvaghasiya6568
    @krupalvaghasiya6568 2 года назад

    Hi i am getting error when i run command suck as "docker-compose run chrome". the error is "Error response from daemon: pull access denied for cypress-docker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied" can you help me how to solve it?

  • @abdullasuhail6070
    @abdullasuhail6070 2 года назад

    I implemented this part to run my 17000 integration tests on docker container. Big thanks.
    I have 1 question, after the run the compression of videos happen which takes a lot of time, i don't need the videos at all, i just need the reports. can i do a ignore of videos in docker container ?

    • @QABoxLetsTest
      @QABoxLetsTest  2 года назад +1

      Thanks, in Cypress config turn videos flag off.

  • @rabinpradhan5603
    @rabinpradhan5603 3 года назад

    What will be the difference making making the docker image for GitHub repos and local one?

    • @QABoxLetsTest
      @QABoxLetsTest  3 года назад

      I'm not a docker expert...so I can only share my opinion..I pull code from my machine or from GitHub over http; end result is a stable image.

  • @adityakaushik8046
    @adityakaushik8046 3 года назад

    Hello Thanks for the link which you shared, i have one more query as we are running our test case in docker env but can we run our test cases in docker env with GUI mode, is it possible to launch the browser in GUI mode and see the running test case, can you please help me on that scenario.

    • @QABoxLetsTest
      @QABoxLetsTest  3 года назад

      Docker is a CI/CD tool and as you know we run tests in headless mode in CI/CD. However for some reason you still require it then yes, fortunately there are some complex options mentioned in www.reddit.com/r/docker/comments/7azxzq/how_can_i_run_a_web_browser_from_a_docker/?

  • @samundradhakal2363
    @samundradhakal2363 3 года назад

    can you make a video of multi image and run the docker image. i made multi image but can not able to run the image

    • @QABoxLetsTest
      @QABoxLetsTest  3 года назад

      I believe you can create multiple dockerfile and then refer to those in docker-compose, should be straightforward.

    • @rabinpradhan5603
      @rabinpradhan5603 3 года назад

      @@QABoxLetsTest , i use busy-box, to create another image and make the image size smaller but there comes error as yarn command not found. can you try to make multiple image in your above code as i also check your image size will also be more than 1 gb and its not good practise to have bigger image, right? i will love to see your work.

  • @adityakaushik8046
    @adityakaushik8046 3 года назад

    Hello, Thanks a lot for nice descriptions, i am facing one issue as i want to invoke my docker-compose.yml file through gitlab-ci.yml file, (work flow:- i have created docker file which build my cypress image and using some scipts command am able to invoke browser), i want to achive same using the compose file, is it possible to invoke compose through gitlab-yml file, any help !!

    • @QABoxLetsTest
      @QABoxLetsTest  3 года назад

      Hi, never used it like so but surely this is possible. You can read more about it from here
      stackoverflow.com/questions/39868369/run-docker-compose-build-in-gitlab-ci-yml

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

    5:25