Commit cffc1553 by Eric Fischer

test fixup

parent 8ec97371
......@@ -13,14 +13,14 @@ describe('Tests for accessibility_tools.js', function() {
};
beforeEach(function() {
var focusedElementBeforeModal;
var $focusedElementBeforeModal;
loadFixtures('js/fixtures/dashboard-fixture.html');
accessible_modal('#trigger', '#close-modal', '#modalId', '#mainPageId');
$('#trigger').click();
});
it('sets focusedElementBeforeModal to trigger', function() {
expect(focusedElementBeforeModal).toHaveAttr('id', 'trigger');
expect($focusedElementBeforeModal).toHaveAttr('id', 'trigger');
});
it('sets main page aria-hidden attr to true', function() {
......
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