javascript - Is there a standard for testing d3 interactions in ember.js? -
right i'm trying test click interactions d3 generated svg elements:
test('should not able scroll past extents', function() { expect(2); visit('/links'); fillin('.search input', 'list'); click('.selectable.active'); andthen(function() { var label = find('#xaxis .label').text(); equal(label, 'oldname'); // click svg element click('#plot rect.full.bar:first'); label = find('#xaxis .label').text(); // assert labelname equal(label, 'newname'); // still 'oldname' }); });
so far not work. suggestions?
Comments
Post a Comment