mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
Update capybara (~> 3.25.0) (#31657).
Patch by Takenori TAKAKI and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18330 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d2ebbb99f2
commit
c831786e3a
2
Gemfile
2
Gemfile
@ -81,7 +81,7 @@ group :test do
|
|||||||
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
|
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
|
||||||
# For running system tests
|
# For running system tests
|
||||||
gem 'puma', '~> 3.7'
|
gem 'puma', '~> 3.7'
|
||||||
gem "capybara", '~> 2.13'
|
gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.25.0")
|
||||||
gem "selenium-webdriver"
|
gem "selenium-webdriver"
|
||||||
# RuboCop
|
# RuboCop
|
||||||
gem 'rubocop', '~> 0.72.0'
|
gem 'rubocop', '~> 0.72.0'
|
||||||
|
|||||||
@ -28,6 +28,7 @@ class IssuesImportTest < ApplicationSystemTestCase
|
|||||||
def test_import_issues_without_failures
|
def test_import_issues_without_failures
|
||||||
log_user('jsmith', 'jsmith')
|
log_user('jsmith', 'jsmith')
|
||||||
visit '/issues'
|
visit '/issues'
|
||||||
|
find('div.contextual>span.drdn').click
|
||||||
click_on 'Import'
|
click_on 'Import'
|
||||||
|
|
||||||
attach_file 'file', Rails.root.join('test/fixtures/files/import_issues.csv')
|
attach_file 'file', Rails.root.join('test/fixtures/files/import_issues.csv')
|
||||||
|
|||||||
@ -345,6 +345,7 @@ class IssuesTest < ApplicationSystemTestCase
|
|||||||
log_user('admin', 'admin')
|
log_user('admin', 'admin')
|
||||||
|
|
||||||
visit '/issues/1'
|
visit '/issues/1'
|
||||||
|
page.driver.execute_script('$.fx.off = true;')
|
||||||
page.first(:link, 'Edit').click
|
page.first(:link, 'Edit').click
|
||||||
page.click_link('View all trackers description')
|
page.click_link('View all trackers description')
|
||||||
assert page.has_css?('#trackers_description')
|
assert page.has_css?('#trackers_description')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user