Comments (8)
Woop! Happy to hear that. If it does happen again Iād love to hear about it.
from percy-cypress.
Hi @Pomax , I see in Travis that you got it working at least once, but you had to add npm i typescript
to your build script (I'm looking at this successful build: https://travis-ci.org/mozilla/foundation.mozilla.org/builds/486681759)
Did you ever get this working without having to manually install Typescript?
from percy-cypress.
I did not, but the steps to reproduce were pretty easy because it kept going wrong everywhere: install cypress 3.0.3, install @percy/cypres 0.2.3 and then just try to run percy. Anywhere we tried that we'd get the "typescript is not installed" error.
We ended up adding that explicit typescript install instruction mostly because we needed things to work because it was starting to mark every single PR as bad, and even if you can ignore percy, there as so many legitimate reasons a PR could get a red X next to it we had to solve the problem some way =)
from percy-cypress.
Did you also install @percy/agent
? That's the package you need in order to be able to run the binary percy
command.
from percy-cypress.
Scratch my previous comment -- @percy/agent
comes as a dependency of @percy/cypress
, so you don't need to install it explicitly.
from percy-cypress.
Unfortunately I can't reproduce the issue using those steps (and starting with making sure I don't have Typescript installed globally). Also tried to reproduce running the example app (https://github.com/percy/example-percy-cypress) from a clean install, but no dice.
from percy-cypress.
Hey @Pomax! Is this still an issue for you?
from percy-cypress.
I've not seen it happen recently, no. Closing until (if) it happens again
from percy-cypress.
Related Issues (20)
- Percy snapshot's mobile height constantly changes HOT 5
- Material icons from ReactNative are missing (woff fonts corrupt on asset discovery capture) HOT 6
- Fails to POST DOM snapshot to CLI server: `TypeError: Cannot read property 'end' of undefined` HOT 26
- Cypress timeout reached when asset discovery waits on external (not captured) assets HOT 36
- Your callback function returned a promise that never resolved. HOT 7
- How to select Approved build as base build?
- Webpages behind Netlify Authentication not showing css in Percy snapshot
- [TypeScript] percySnapshot - TypeError: Cannot read properties of undefined (reading 'isTTY') HOT 19
- [Cypress regression]`TypeError: data.hasOwnProperty is not a function` HOT 12
- [percy] Fails to take dom snapshot
- Does percy with cypress support visual testing of shadow dom elements? HOT 1
- `cy.percySnapshot()` not uploading screenshots when used via `browserstack-cypress` HOT 1
- Percy does not work for Cypress component testing
- Cannot read properties of undefined (reading 'isServer') HOT 9
- SyntaxError: Unexpected identifier HOT 2
- Test is marked as successful, but `Could not take DOM snapshot` error is present.
- The term 'percy' is not recognized as the name of a cmdlet
- Duplicate snapshot name in a parallel build causes missing snapshots HOT 13
- Need the ability to set width and height for screenshots HOT 2
- Snapshot ignores the passed `scope` and renders the whole screen HOT 3
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 percy-cypress.