Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- visit("/foobar");
- var firstOption = find(".my-select option:eq(0)");
- fillIn(".my-select", firstOption.val());
- andThen(function() {
- assert.equal(find(".my-select").val(), 78); //assuming 78 is the first options value ...
- });
- find('select#my-select').val('foo').trigger('change');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement