Commit 918e067
authored
test: visual regression testing (#885)
* first pass at visual regression testing
* updating package-lock.json
* updating the baseline
* adding http-server for local testing
I couldn't figure out a way to kill the npm start process in the onComplete callback for web driver. Adding http-server, starting it in onPrepare, storing the process as a variable, and then killing it in the onComplete callback works well.
* working on creating dynamic tests
* adding a test for pfe-accordion
* updating travis file to run just e2e second
* updating pfe-accordion baseline images
* new baseline images, more tests, and updated configuration
* pfe-collapse, pfe-content-set, pfe-cta, pfe-datetime tests
* more tests and baseline images
* using local versions of webcomponentsjs and require
Trying to cut down on external dependencies for testing
* moving webcomponentsjs and requirejs to dependencies
* making webcomponentsjs and requirejs devDependencies again
* copying webcomponentsjs and requirejs in the build step
* using webcomponentsjs and requirejs from the examples directory
* using local images instead of images from the internet
* updating spandx config to the root doesn't point to just node_modules
* increasing e2e test timeout to 30 seconds and increasing the maxInstances to 7
* updating the location of the webcomponent polyfills and require
* creating a simplified e2e demo page for pfe-icon
* updating and creating e2e tests
* updated and new baseline images
* updating the location of the web component polyfills and require.js in the generator
* adding more wait time in the autocomplete e2e test
* updating demo page polyfills and require and updating baseline images
* trying a lower number of max instances
* more baseline updates
* updating pfe-health-index IE11 baseline
* updating pfe-cta IE11 baseline
* adding 500x500 kitten
* baseline updates and test adjustments
* package-lock updates
* increase the tolerance in the pfe-toast test1 parent c9e3ae4 commit 918e067
File tree
117 files changed
+3672
-391
lines changed- elements
- pfe-accordion
- demo
- test
- pfe-autocomplete
- demo
- test
- pfe-avatar
- demo
- test
- pfe-badge
- demo
- test
- pfe-band
- demo
- test
- pfe-card
- demo
- test
- pfe-collapse
- demo
- test
- pfe-content-set
- demo
- test
- pfe-cta/test
- pfe-datetime
- demo
- test
- pfe-dropdown
- demo
- test
- pfe-health-index/test
- pfe-icon-panel
- demo
- test
- pfe-icon
- demo
- test
- pfe-jump-links
- demo
- test
- pfe-markdown
- demo
- test
- pfe-modal
- demo
- test
- pfe-number
- demo
- test
- pfe-page-status
- demo
- test
- pfe-progress-indicator
- demo
- test
- pfe-select
- demo
- test
- pfe-tabs
- demo
- test
- pfe-toast
- demo
- test
- pfelement/demo
- examples
- generators/element/templates/demo
- scripts
- test
- vrt-baseline
- desktop_chrome
- desktop_ie
- vrt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
117 files changed
+3672
-391
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments