Skip to content

Commit

Permalink
some a11y rule override to account for scss keyframes
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Mar 22, 2023
1 parent a3a9f70 commit ca9e90a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
12 changes: 10 additions & 2 deletions ui/tests/integration/components/job-page/service-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,11 @@ module('Integration | Component | job-page/service', function (hooks) {
'The error message mentions ACLs'
);

await componentA11yAudit(this.element, assert);
await componentA11yAudit(
this.element,
assert,
'scrollable-region-focusable'
); //keyframe animation fades from opacity 0

await click('[data-test-job-error-close]');

Expand Down Expand Up @@ -335,7 +339,11 @@ module('Integration | Component | job-page/service', function (hooks) {
'The error message mentions ACLs'
);

await componentA11yAudit(this.element, assert);
await componentA11yAudit(
this.element,
assert,
'scrollable-region-focusable'
); //keyframe animation fades from opacity 0

await click('[data-test-job-error-close]');

Expand Down
7 changes: 5 additions & 2 deletions ui/tests/integration/components/job-status-panel-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,11 @@ module(
// deployment.get('statusDescription'),
// 'Status description is in the metrics block'
// );

await componentA11yAudit(this.element, assert);
await componentA11yAudit(
this.element,
assert,
'scrollable-region-focusable'
); //keyframe animation fades from opacity 0
});

test('when there is no running deployment, the latest deployment section shows up for the last deployment', async function (assert) {
Expand Down

0 comments on commit ca9e90a

Please sign in to comment.