Explain me what is the use case when putting Cypress inside docker instead of running multiple docker. containers having the application and running Cypress from the host with parallel execution . now that would be a fitting use case for a docker not the other way around
@daveoeste3 жыл бұрын
Very informative video. I did encounter the following error when running the the cmd via the video: docker run -it -v PWD:/e2e -w /e2e --entrypoint=cypress cypress/included:3.2.1 run Could not find a Cypress configuration file, exiting. We looked but did not find a cypress.json file in this folder: /e2e I changed $PWD to PWD for windows. Ran on Windows 10 Pro o/s
@aliiqbal65333 жыл бұрын
We have 5 different environments where we want to run test cases of cypress. Every time, a build is deployed on any environment, my cypress Job should run and execute the test cases. To achieve this, do I need to have these test cases and cypress installed on all these 5 machines/environments?
@arpitachattaraj30944 жыл бұрын
How Can we set up severity and priority for each test case in cypress by using Allure report?
@benjamin17202 жыл бұрын
With an actual project you'd have to run "npm start" to get the server running so that cypress can find the baseUrl that you've set. How/where do I enter this command when running the container? Thanks
@TheTestingAcademy2 жыл бұрын
While running container script as sh file
@jagadeeshb54454 жыл бұрын
You're awesome @The Testing Academy
@TheTestingAcademy4 жыл бұрын
Thanks MAN
@jagadeeshb54454 жыл бұрын
Could not load reporter by name: mochawesome We searched for the reporter in these paths: - /e2e/mochawesome - /e2e/node_modules/mochawesome The error we received was: /e2e/node_modules/mochawesome/src/mochawesome.js:92 ...options.reporterOptions, ^^^ Getting this Error : When added mochawesome in package.json
@prabhuraja41483 жыл бұрын
Thanks for the input. Is it possible to integrate cypress with Bamboo?
@TheTestingAcademy3 жыл бұрын
Never tried it
@adnanhanif92872 жыл бұрын
hello I am facing the following problem can you please tell me the solution docker: Error response from daemon: invalid mode: /e2e
@ОлегЛукьянчук-ц8ш2 жыл бұрын
Where are subtitles?
@shovalsolomon95514 жыл бұрын
Hi, Getting the following error: The plugins file is missing or invalid. Your `pluginsFile` is set to `/Cypress_Automation/cypress/plugins/index.js`, but either the file is missing, it contains a syntax error, or threw an error when required. The `pluginsFile` must be a `.js` or `.coffee` file. Please fix this, or set `pluginsFile` to `false` if a plugins file is not necessary for your project. /Cypress_Automation/node_modules/fs-extra/lib/index.js:5 ...require('./fs'), ^^^ SyntaxError: Unexpected token ... at createScript (vm.js:74:10) at Object.runInThisContext (vm.js:116:10) at Module._compile (module.js:533:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3) at Module.require (module.js:513:17) at require (internal/module.js:11:18) at Object. (/Cypress_Automation/node_modules/cypress-downloadfile/lib/addPlugin.js:10:10) at Object. (/Cypress_Automation/node_modules/cypress-downloadfile/lib/addPlugin.js:43:3) at Module._compile (module.js:569:30) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:503:32) at tryModuleLoad (module.js:466:12) at Function.Module._load (module.js:458:3)
@raymondnunez50642 жыл бұрын
Thank you for the video. I notice you are using a Mac. What kind of Mac are you running? I'm having issue running the include Docker image on M1(Arm processor). If you are running on an M1, have you had any luck running it there?
@muralimohanbandi2863 жыл бұрын
Can we do parallel execution in different browsers using cypress in a single machine?
@TheTestingAcademy3 жыл бұрын
Yes check out - docs.cypress.io/guides/guides/parallelization#Overview
@naanunane4 жыл бұрын
Nice video, pretty helpful
@TheTestingAcademy4 жыл бұрын
Thanks for the awesome feedback
@Z-Warrior34704 жыл бұрын
Thank you for such an informative video. Would you kindly make a guide for running cypress tests in Circle CI along with configuration.
@TheTestingAcademy4 жыл бұрын
Yes, soon
@hepsibachejarla96824 жыл бұрын
Thank you for the Video. Can you please make a video on how to test emails in the cypress tool?
@TheTestingAcademy4 жыл бұрын
You can use the email lib from node
@surazdas234 жыл бұрын
Throwing below error.. INsuraj-MacBook-Pro:openmrs-ocl-client surajkumardas$ docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included:3.2.0 run We found an invalid value in the file: `cypress.json` Expected `testFiles` to be a string. Instead the value was: `["**/tests/e2e/*.test.*","**/tests/e2e/*.spec.*"]` My current cypress.json file contains: { "baseUrl": "localhost:8080", "integrationFolder": ".", "testFiles": ["**/tests/e2e/*.test.*", "**/tests/e2e/*.spec.*"], "defaultCommandTimeout": 60000, "requestTimeout": 60000, "pageLoadTimeout": 60000, "viewportWidth": 1000, "viewportHeight": 1000, "video": false }
@TheTestingAcademy4 жыл бұрын
Check from here - docs.cypress.io/guides/references/configuration.html#Command-Line