@@ -6,7 +6,7 @@ import a11yAudit from 'ember-a11y-testing/test-support/audit';
66import axeConfig from '../axe-config' ;
77import { title } from '../helpers/dom' ;
88import setupMirage from '../helpers/setup-mirage' ;
9- import { percySnapshot } from 'ember- percy' ;
9+ import percySnapshot from '@ percy/ember ' ;
1010
1111module ( 'Acceptance | crate page' , function ( hooks ) {
1212 setupApplicationTest ( hooks ) ;
@@ -18,7 +18,7 @@ module('Acceptance | crate page', function(hooks) {
1818 this . server . create ( 'crate' , 'withVersion' , { id : 'nanomsg' } ) ;
1919
2020 await visit ( '/' ) ;
21- percySnapshot ( assert ) ;
21+ await percySnapshot ( assert ) ;
2222
2323 await a11yAudit ( axeConfig ) ;
2424 } ) ;
@@ -31,7 +31,7 @@ module('Acceptance | crate page', function(hooks) {
3131 this . server . create ( 'version' , { crate : 'nanomsg' , num : '0.6.1' } ) ;
3232
3333 await visit ( '/crates/nanomsg' ) ;
34- percySnapshot ( assert ) ;
34+ await percySnapshot ( assert ) ;
3535
3636 await a11yAudit ( axeConfig ) ;
3737 } ) ;
@@ -44,7 +44,7 @@ module('Acceptance | crate page', function(hooks) {
4444 this . server . create ( 'version' , { crate : 'nanomsg' , num : '0.6.1' } ) ;
4545
4646 await visit ( '/crates/nanomsg/0.6.0' ) ;
47- percySnapshot ( assert ) ;
47+ await percySnapshot ( assert ) ;
4848
4949 await a11yAudit ( axeConfig ) ;
5050 } ) ;
@@ -55,7 +55,7 @@ module('Acceptance | crate page', function(hooks) {
5555 this . server . loadFixtures ( ) ;
5656
5757 await visit ( '/crates/nanomsg/owners' ) ;
58- percySnapshot ( assert ) ;
58+ await percySnapshot ( assert ) ;
5959
6060 await a11yAudit ( axeConfig ) ;
6161 } ) ;
0 commit comments