Comments (6)
@gregfenton If you want a nice starter that extends create-react-app and has the setup for cypress-firebase, you should checkout generator-react-firebase.
Going to leave the commands that are within this repo as is - if you want to use the scripts in a non yarn project, just replace instances yarn
with npm run
. With the above suggested tool, that should all be in place for you
from cypress-firebase.
Yeah this was copied over from another project, so we can go back to npm. This project uses yarn currently (hence the yarn.lock), but open to the idea of leaving all of the scripts as npm so it isn't required.
Out of curiosity are you not installing with yarn? You get a warning in npm that there is a yarn.lock right?
from cypress-firebase.
I am installing with npm. I didn't notice any warnings/errors from npm. I just uninstalled and installed again with npm and no errors that I can see:
$ npm install cypress-firebase
+ [email protected]
added 1 package from 1 contributor and audited 932071 packages in 9.993s
66 packages are looking for funding
run `npm fund` for details
found 5 low severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
$
Not sure if you expected otherwise?
from cypress-firebase.
@gregfenton I meant within this repo itself - I had assumed you were running the scripts within a forked version of this repo since you were referencing the npm scripts.
For installing in another project it should matter whether you use npm or yarn since you presumably won't be running any npm scripts within a dependency, unless I am misunderstanding?
from cypress-firebase.
I was using the emulators
, test:open
and test:emulate
config/scripts as a template for my project (create-react-app + firebase + cypress.io) in terms of starting up the emulators and running tests.
Guess I am getting too far ahead of myself. Again, I was just following through the README instructions.
from cypress-firebase.
Very, very interesting. I will ponder how this impacts my world view, as I'm just getting (back) into software development and this type of infrastructure was on my list of "things to do to keep building rapidly". Thank you @prescottprue !
from cypress-firebase.
Related Issues (20)
- publish-npm failing Error: Error [ERR_REQUIRE_ESM]: require() of ES Module HOT 1
- bug: cannot read properties of undefined (reading 'includes') HOT 4
- Login after a logout happening the application fails
- Cypress e2e test fails initialization HOT 1
- feat(build): native esm support
- fix: drop support for node pre 16 HOT 2
- Support passing user claims to cy.login() ? HOT 1
- Invalid options types are ignored, rather than erroring
- The automated release is failing 🚨
- Cypress Firebase in Github Actions cannot find `CYPRESS_TEST_UID` from secrets.CYPRESS_TEST_UID HOT 1
- Retry on 401
- bug(firestore): FieldValue.delete() not handled correctly HOT 3
- feat(callFirestore): ability to use batch writes
- bug(firestore): nested Timestamp value not persisting HOT 3
- bug: callFirestore not recognized in NextJS test HOT 1
- feat: support for component testing
- feat: switch to modular firebase sdks internally HOT 2
- bug(core): Webpack error when running cypress tests with cypress-firebase HOT 10
- callFirestore task fails when running in the CI with message "PERMISSION_DENIED: Missing or insufficient permissions." HOT 1
- Problem with Token HOT 2
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 cypress-firebase.