Comments (2)
Hi @rohitkadam19 so two things about loading custom code in this way
- Cypress was installed globally in the image, so it probably does not find the local NPM module - because you have not mapped the local
node_modules
folder into the container - I would say that if you need custom plugins maybe it makes sense to build your own Docker image on top of
cypress/included
?
But I love your way of putting reusable commands into versioned internal NPM module, a great way to go
from demo-docker-cypress-included.
Hi @bahmutov,
Thanks for your response.
I took the second approach which will allow me to have control over change in cypress docker image and it worked with that.
And this reusable commands into versioned NPM module is really working out for us.
from demo-docker-cypress-included.
Related Issues (8)
- Clarify Cypress NPM vs Docker image dependency in Readme? HOT 2
- Fails on ubuntu 21.10 with cypress 9.2.0
- Running commands in cypress/included image in case of running cypress tests in teamcity PR build.
- Videos are saved as root HOT 2
- Cannot get cy-run.sh to work when executing on CircleCi HOT 1
- Running fails with: We looked but did not find a cypress.json file in this folder: /e2e HOT 3
- Check if we can use plugins like `cypress-axe` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from demo-docker-cypress-included.