mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Mark #attach_file specs FF 55 broke as pending
This commit is contained in:
parent
b56f3fbd90
commit
688a0e5479
1 changed files with 20 additions and 0 deletions
|
@ -42,6 +42,26 @@ skipped_tests = [
|
||||||
]
|
]
|
||||||
skipped_tests << :windows if ENV['TRAVIS'] && ENV['SKIP_WINDOW']
|
skipped_tests << :windows if ENV['TRAVIS'] && ENV['SKIP_WINDOW']
|
||||||
|
|
||||||
|
RSpec.configure do |c|
|
||||||
|
c.define_derived_metadata(full_description: ->(description, metadata) {
|
||||||
|
['#attach_file with normal form should set a file path by id',
|
||||||
|
'#attach_file with normal form should set a file path by label',
|
||||||
|
'#attach_file with normal form casts to string',
|
||||||
|
'#attach_file with multipart form should set a file path by id',
|
||||||
|
'#attach_file with multipart form should set a file path by label',
|
||||||
|
'#attach_file with multipart form should send content type text/plain when uploading a text file',
|
||||||
|
'#attach_file with multipart form should send content type image/jpeg when uploading an image',
|
||||||
|
'#attach_file with multipart form should not break when uploading a file without extension',
|
||||||
|
'#attach_file with multipart form should not break when using HTML5 multiple file input',
|
||||||
|
'#attach_file with :exact option should set a file path by partial label when false',
|
||||||
|
'#attach_file with :make_visible option applies a default style change when true',
|
||||||
|
'#attach_file with :make_visible option accepts a hash of styles to be applied',
|
||||||
|
'#attach_file with :make_visible option resets the style when done'].any? { |desc| description.include?(desc) }
|
||||||
|
}) do |metadata|
|
||||||
|
metadata[:pending] = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
Capybara::SpecHelper.run_specs TestSessions::SeleniumMarionette, "selenium", capybara_skip: skipped_tests
|
Capybara::SpecHelper.run_specs TestSessions::SeleniumMarionette, "selenium", capybara_skip: skipped_tests
|
||||||
|
|
||||||
RSpec.describe "Capybara::Session with firefox" do
|
RSpec.describe "Capybara::Session with firefox" do
|
||||||
|
|
Loading…
Add table
Reference in a new issue