mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(snapshot): missing vital info (#11502)
* docs(snapshot): depends on java jdk as well * docs(snapshot): only works on a retina mac * docs(snapshot): move explanation out of setup * docs(snapshot): only for mac
This commit is contained in:
@ -86,11 +86,15 @@ To remove the linked version of `ionic-angular` do `npm rm ionic-angular`, and t
|
|||||||
|
|
||||||
### Running Snapshot
|
### Running Snapshot
|
||||||
|
|
||||||
#### Setup
|
Snapshot compares to a base snapshot made on Mac OS with retina screen (2560x1600).
|
||||||
|
It does not work for windows, linux, or non retina macs.
|
||||||
|
|
||||||
1. Install [Protractor](https://angular.github.io/protractor/#/): `npm install -g protractor@2.5.1`
|
#### Setup (Mac OS X Only)
|
||||||
2. Run `webdriver-manager update`
|
|
||||||
3. Export `IONIC_SNAPSHOT_KEY` (get from someone)
|
1. Install Java JDK: `brew cask install java`
|
||||||
|
2. Install [Protractor](https://angular.github.io/protractor/#/): `npm install -g protractor@2.5.1`
|
||||||
|
3. Run `webdriver-manager update`
|
||||||
|
4. Export `IONIC_SNAPSHOT_KEY` (get from someone)
|
||||||
|
|
||||||
#### Commands
|
#### Commands
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user