mirror of
https://github.com/redmine/redmine.git
synced 2026-06-18 16:50:29 +02: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:
2
Gemfile
2
Gemfile
@@ -81,7 +81,7 @@ group :test do
|
||||
gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
|
||||
# For running system tests
|
||||
gem 'puma', '~> 3.7'
|
||||
gem "capybara", '~> 2.13'
|
||||
gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.25.0")
|
||||
gem "selenium-webdriver"
|
||||
# RuboCop
|
||||
gem 'rubocop', '~> 0.72.0'
|
||||
|
||||
@@ -28,6 +28,7 @@ class IssuesImportTest < ApplicationSystemTestCase
|
||||
def test_import_issues_without_failures
|
||||
log_user('jsmith', 'jsmith')
|
||||
visit '/issues'
|
||||
find('div.contextual>span.drdn').click
|
||||
click_on 'Import'
|
||||
|
||||
attach_file 'file', Rails.root.join('test/fixtures/files/import_issues.csv')
|
||||
|
||||
@@ -345,6 +345,7 @@ class IssuesTest < ApplicationSystemTestCase
|
||||
log_user('admin', 'admin')
|
||||
|
||||
visit '/issues/1'
|
||||
page.driver.execute_script('$.fx.off = true;')
|
||||
page.first(:link, 'Edit').click
|
||||
page.click_link('View all trackers description')
|
||||
assert page.has_css?('#trackers_description')
|
||||
|
||||
Reference in New Issue
Block a user