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...
Thank you so much for the great explanation 😀
thanks, sir it's very useful for me.
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 🙏
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.
I have pulled your repo, but when I run the tests, the HTML test report is not generating
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
whether parallel testing can be made locally? Does cypress support ?
I'm new to testing using cypress. does it support remote execution
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?
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 ?
Thanks, in Cypress config turn videos flag off.
What will be the difference making making the docker image for GitHub repos and local one?
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.
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.
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/?
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
I believe you can create multiple dockerfile and then refer to those in docker-compose, should be straightforward.
@@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.
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 !!
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
5:25