-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Visual regression tests with percy.io #103
- Loading branch information
tillias
committed
Nov 10, 2020
1 parent
437526d
commit 5e3e9ac
Showing
19 changed files
with
1,265 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
describe.only('impact analysis', () => { | ||
|
||
before(function login() { | ||
cy.logout(); | ||
cy.loginUser(); | ||
}) | ||
|
||
it('impact analysis is shown', function () { | ||
cy.server(); | ||
cy.route('GET', '/api/impact-analysis/microservice/4').as('apiRequest'); | ||
|
||
cy.visit('/dashboard/impact-analysis/4'); | ||
|
||
cy.wait('@apiRequest'); | ||
cy.get('canvas'); | ||
|
||
cy.percySnapshot('impact-analysis', { widths: [1024] }); | ||
}) | ||
|
||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
describe.only('release path', () => { | ||
|
||
before(function login() { | ||
cy.logout(); | ||
cy.loginUser(); | ||
}) | ||
|
||
it('release path is shown', function () { | ||
cy.server(); | ||
cy.route('GET', '/api/release-path/microservice/1').as('apiRequest'); | ||
|
||
cy.visit('/dashboard/release-path/1'); | ||
|
||
cy.wait('@apiRequest'); | ||
cy.get('jhi-release-path > .p3 > .vis-network > canvas'); | ||
cy.get('jhi-release-graph > .p3 > .vis-network > canvas'); | ||
|
||
cy.percySnapshot('release-path', { widths: [1024] }); | ||
}) | ||
|
||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.