test: percy visual testing (#1053)

* test: percy visual testing init

* Try PR checks with custom command

* Only run percy visual tests for PWA on merge for now
This commit is contained in:
Danny Brown authored and GitHub committed 2019-10-15 14:52:23 -04:00
1 parent c217b8bbde
commit 8a7706b286
11 files changed
+521 -51

No files matched your search

@@ -5,6 +5,8 @@ describe('OHIFStandaloneViewer', () => {
it('loads route with at least 2 rows', () => {
cy.screenshot();
cy.percySnapshot();
cy.get('#studyListData tr')
.its('length')
.should('be.gt', 2);
@@ -12,6 +12,8 @@ describe('OHIF Study Viewer Page', () => {
it('checks if series thumbnails are being displayed', () => {
cy.screenshot();
cy.percySnapshot();
cy.get('.ThumbnailEntryContainer')
.its('length')
.should('be.gt', 1);