Files
cypress/packages/ui-components/README.md
Chris Breiding c4cbb15be9 Update browser icons (#6230)
* fix images in runner

* fix webpack not liking resolve: lodash + lodash/fp

* fix mobx deprecation warnings

* use real images for browser icons

* revert runs.json fixture

was only using changed values for screenshot purposes

* vertically and horizontally align browser icons in nav dropdown.

* Add edge browsers to fixture

* Add tests and icon support for Edge and Firefox variation browsers

* Fix icons resolution for retina displays

- make tests less strict to changes in icon size or extension

* Address situation where user was undefined in test runs.

* Fix vertical alignment of icons in runs list + add more icons to fixture

* Fix size of browser-icons in automation error page

* try not using nodeVersion: system

* try removing webpack resolve values

* put back webpack resolve values

* derp

* add tests for browser icon

* add support for firefox dev edition, firefox nightly, and edge canary

* add edge beta, edge dev, and family fallback

Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
2020-01-27 23:10:26 +06:30

600 B

UI Components

This packages contains React components that are shared between two or more of the UI packages (desktop-gui, reporter, & runner).

Installing

Dependencies can be installed with:

cd packages/ui-components
npm install

Developing & Testing

These components are best developed by using their Cypress tests.

Run this in one terminal tab to watch the source files

npm run watch

Run this in another terminal tab to run Cypress

npm run cypress:open

To run the tests once you can run:

npm run build && npm run cypress:run