Skip to content

Commit

Permalink
add links to ember-cli 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredgalanis committed Sep 21, 2023
1 parent 506c285 commit 1d542d9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@
@models={{array 'ember-cli' 'v4.x'}}
>v4.x</LinkTo>
</li>
<li class='list-unstyled' data-test-ember-cli-5-link>
<LinkTo
@route='show'
@models={{array 'ember-cli' 'v5.x'}}
>v5.x</LinkTo>
</li>
</ul>
</li>
<li class='item list-unstyled'>
Expand Down
1 change: 1 addition & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ module.exports = function (defaults) {
'/ember-data/v4.x',
'/ember-cli/v2.x',
'/ember-cli/v4.x',
'/ember-cli/v5.x',
...getDeprecationFilenames(),
],
},
Expand Down
10 changes: 10 additions & 0 deletions tests/acceptance/visual-regression-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ module('Acceptance | visual regression', function (hooks) {

await percySnapshot('ember-cli-4.x');

// v5.x Ember CLI
await click('[data-test-main-deprecations-link]');
await click('[data-test-ember-cli-5-link] > a');

assert
.dom('[data-test-deprecations-added-in]')
.hasText('Deprecations Added in Ember CLI 5.x');

await percySnapshot('ember-cli-5.x');

// v5.x Ember
await click('[data-test-main-deprecations-link]');
await click('[data-test-ember-5-link] > a');
Expand Down

0 comments on commit 1d542d9

Please sign in to comment.