Skip to content

Commit a8c8db8

Browse files
committed
added acceptance (a11y) test for foundations/theming page
1 parent a5738f2 commit a8c8db8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Copyright (c) HashiCorp, Inc.
3+
* SPDX-License-Identifier: MPL-2.0
4+
*/
5+
6+
import { module, test } from 'qunit';
7+
import { visit } from '@ember/test-helpers';
8+
import { setupApplicationTest } from 'showcase/tests/helpers';
9+
import { a11yAudit } from 'ember-a11y-testing/test-support';
10+
11+
module('Acceptance | Foundations | hds/theming', function (hooks) {
12+
setupApplicationTest(hooks);
13+
14+
test('Foundations/hds/theming page passes automated a11y checks', async function (assert) {
15+
await visit('/foundations/theming');
16+
await a11yAudit();
17+
18+
assert.ok(true, 'a11y automation audit passed');
19+
});
20+
});

0 commit comments

Comments
 (0)