خرید بک لینک

Vote count: 0

I am new to jasmine and jquery / javascript so I not sure what I am doing wrong here can you please help me. It seems it don't find the DOM element and can't perform the expect correktly.

describe('ClickFunctions', function () {

    beforeEach(function () {
        jasmine.getFixtures().fixturesPath = 'src/test/js/fixtures';
        loadFixtures('Click.html');
    });

    it('should change the css on mouseenter of step-header',function () {

        var step = $('#Step_1');

        step.trigger('mouseenter');

        expect(step).toHaveCss({
            'background-color': '#D9EDF7'
        })

    });
});

asked 31 secs ago

برچسب: jasmine jquery testing,jasmine testing jquery plugins,jasmine testing jquery ajax,jasmine jquery dom testing,jasmine jquery unit testing, نویسنده: استخدام کار تاريخ: پنجشنبه 21 مرداد 1395 ساعت: 16:56

صفحه بندی