Skip to content

Commit

Permalink
try percy ... [temporary]
Browse files Browse the repository at this point in the history
  • Loading branch information
romgere committed Mar 10, 2023
1 parent 1036eae commit 28be2c4
Show file tree
Hide file tree
Showing 7 changed files with 1,767 additions and 694 deletions.
25 changes: 25 additions & 0 deletions .percy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
version: 2,
snapshot: {
widths: [
375,
1280
],

minHeight: 1024,
percyCSS: '',
disableShadowDOM: false
},

discovery: {
allowedHostnames: [],
disallowedHostnames: [],
networkIdleTimeout: 100
},

upload: {
files: '**/*.{png,jpg,jpeg}',
ignore: '',
stripExtensions: false
}
}
5 changes: 2 additions & 3 deletions app/templates/app/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@
</div>
</div>
<div class="uk-card-footer">
<LinkTo @route="app.generator" class="uk-button uk-button-primary uk-align-center">
<LinkTo @route="app.generator" class="uk-button uk-button-primary uk-align-center" data-test-generator>
{{t "index_page.button"}}
</LinkTo>
</div>
</div>
</div>
</div>

</div>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"@glimmer/component": "^1.0.4",
"@glimmer/tracking": "^1.0.4",
"@onehilltech/ember-cli-google-analytics": "^1.2.0",
"@percy/cli": "^1.20.2",
"@percy/ember": "^4.2.0",
"@types/ember-qunit": "^3.4.13",
"@types/ember-resolver": "^5.0.10",
"@types/ember__application": "^3.16.2",
Expand Down Expand Up @@ -84,7 +86,6 @@
"ember-fetch": "^8.1.1",
"ember-intl": "^5.6.2",
"ember-load-initializers": "^2.1.2",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-page-title": "^6.2.2",
"ember-qunit": "^5.1.4",
"ember-resolver": "^8.0.2",
Expand Down
Loading

0 comments on commit 28be2c4

Please sign in to comment.