Run options: exclude {:requires=>#} Capybara::Session terminus #all should find all elements using the given locator should return an empty array when nothing was found should accept an XPath instance should raise an error when given invalid options with css selectors should find all elements using the given selector should find all elements when given a list of selectors with xpath selectors should find the first element using the given locator with css as default selector should find the first element using the given locator with visible filter should only find visible nodes should only find invisible nodes within a scope should find any element using the given locator #assert_selector should be true if the given selector is on the page should be false if the given selector is not on the page should use default selector should respect scopes with count should be true if the content is on the page the given number of times should be false if the content is on the page the given number of times should be false if the content isn't on the page at all with text should discard all matches where the given string is not contained should discard all matches where the given regexp is not matched #assert_no_selector should be false if the given selector is on the page should be true if the given selector is not on the page should use default selector should respect scopes with count should be false if the content is on the page the given number of times should be true if the content is on the page the wrong number of times should be true if the content isn't on the page at all with text should discard all matches where the given string is contained should discard all matches where the given regexp is matched #attach_file with normal form should set a file path by id (FAILED - 1) should set a file path by label (FAILED - 2) casts to string (FAILED - 3) with multipart form should set a file path by id (FAILED - 4) should set a file path by label (FAILED - 5) should not break if no file is submitted should send content type text/plain when uploading a text file (FAILED - 6) should send content type image/jpeg when uploading an image (FAILED - 7) should not break when using HTML5 multiple file input (FAILED - 8) should not break when using HTML5 multiple file input uploading multiple files (FAILED - 9) with a locator that doesn't exist should raise an error with a path that doesn't exist should raise an error #body should return the unmodified page body encoding of response between ascii and utf8 should be valid with html entities should be valid without html entities #check should trigger associated events should check a checkbox by id should check a checkbox by label casts to string 'checked' attribute should be true if checked should be false if unchecked checking should not change an already checked checkbox should check an unchecked checkbox unchecking should not change an already unchecked checkbox should uncheck a checked checkbox with a locator that doesn't exist should raise an error with a disabled checkbox should raise an error #choose should choose a radio button by id should choose a radio button by label casts to string with a locator that doesn't exist should raise an error with a disabled radio button should raise an error #click_button should wait for asynchronous load casts to string should serialize and send valueless buttons that were clicked should not send image buttons that were not clicked should serialize and send GET forms should follow redirects should post pack to the same URL when no action given should post pack to the same URL when blank action given ignores disabled buttons should encode complex field names, like array[][value] with multiple values with the same name should use the latest given value with a form that has a relative url as an action should post to the correct url with a form that has no action specified should post to the correct url with value given on a submit button on a form with HTML5 fields should serialise and submit search fields should serialise and submit email fields should serialise and submit url fields should serialise and submit tel fields should serialise and submit color fields on an HTML4 form should serialize and submit text fields should escape fields when submitting should serialize and submit password fields should serialize and submit hidden fields should not serialize fields from other forms should submit the button that was clicked, but not other buttons should serialize radio buttons should serialize check boxes should serialize text areas should serialize select tag with values should serialize select tag without values should serialize first option for select tag with no selection should not serialize a select tag without options should not submit disabled fields with id given on a submit button should submit the associated form should work with partial matches with title given on a submit button should submit the associated form should work with partial matches with alt given on an image button should submit the associated form should work with partial matches with value given on an image button should submit the associated form should work with partial matches with id given on an image button should submit the associated form with title given on an image button should submit the associated form should work with partial matches with text given on a button defined by