Commit 8aa1dbe4 authored by jboyson's avatar jboyson

Use aria-label to fix broken test

parent 21015953
......@@ -137,9 +137,7 @@ describe('IssueToken', () => {
});
it('tooltip should not be escaped', () => {
expect(findRemoveBtn().attributes('data-original-title')).toBe(
`Remove ${displayReference}`,
);
expect(findRemoveBtn().attributes('aria-label')).toBe(`Remove ${displayReference}`);
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment