Skip to content

Commit 92ecba9

Browse files
remove - percy snapshot Snapshots are taken automatically during test execution no more snapshot helper required.
1 parent 2a3ce9a commit 92ecba9

File tree

4 files changed

+0
-31
lines changed

4 files changed

+0
-31
lines changed

tests/acceptance/index-test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { click, currentURL, visit } from '@ember/test-helpers';
2-
import percySnapshot from 'ember-help-wanted/tests/test-support/percy-snapshot';
32
import FakeTimers from '@sinonjs/fake-timers';
43
import { setupMirage } from 'ember-help-wanted/tests/test-support/mirage';
54
import loadDefaultScenario from 'ember-help-wanted/tests/mirage/scenarios/default';
@@ -23,13 +22,6 @@ module('Acceptance | index', function (hooks) {
2322
this.clock.uninstall();
2423
});
2524

26-
test('Percy snapshot', async function (assert) {
27-
await visit('/');
28-
await percySnapshot(assert);
29-
30-
assert.ok(true);
31-
});
32-
3325
test('A user can visit the index page', async function (assert) {
3426
await visit('/');
3527

tests/acceptance/issues-test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { click, currentURL, fillIn, visit } from '@ember/test-helpers';
2-
import percySnapshot from 'ember-help-wanted/tests/test-support/percy-snapshot';
32
import FakeTimers from '@sinonjs/fake-timers';
43
import { setupMirage } from 'ember-help-wanted/tests/test-support/mirage';
54
import loadDefaultScenario from 'ember-help-wanted/tests/mirage/scenarios/default';
@@ -23,13 +22,6 @@ module('Acceptance | issues', function (hooks) {
2322
this.clock.uninstall();
2423
});
2524

26-
test('Percy snapshot', async function (assert) {
27-
await visit('/ember-learn');
28-
await percySnapshot(assert);
29-
30-
assert.ok(true);
31-
});
32-
3325
test('A user can visit the issues page (no filters)', async function (assert) {
3426
await visit('/ember-learn');
3527

tests/acceptance/pr-test.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { currentURL, visit, findAll } from '@ember/test-helpers';
2-
import percySnapshot from 'ember-help-wanted/tests/test-support/percy-snapshot';
32
import FakeTimers from '@sinonjs/fake-timers';
43
import { setupMirage } from 'ember-help-wanted/tests/test-support/mirage';
54
import loadDefaultScenario from 'ember-help-wanted/tests/mirage/scenarios/default';
@@ -23,13 +22,6 @@ module('Acceptance | pull-requests', function (hooks) {
2322
this.clock.uninstall();
2423
});
2524

26-
test('Percy snapshot', async function (assert) {
27-
await visit('/pull-requests');
28-
await percySnapshot(assert);
29-
30-
assert.ok(true);
31-
});
32-
3325
test('A user can visit the pull-requests page', async function (assert) {
3426
await visit('/pull-requests');
3527

tests/test-support/percy-snapshot.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)