Commit Graph

31 Commits

Author SHA1 Message Date
Marius Balteanu
6f31d4fb87 Fixes wrong change added in r23761 (#42422).
git-svn-id: https://svn.redmine.org/redmine/trunk@23770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:28:27 +00:00
Marius Balteanu
e78e1e29fd Use Capybara's @assert_current_path@ in "log_user" steps to wait for page in ApplicationSystemTestCase (#42422).
Patch by Takuya Kodama (user:otegami).

git-svn-id: https://svn.redmine.org/redmine/trunk@23761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-14 17:36:11 +00:00
Go MAEDA
293e7c22fe Suppress "Change your password" popup for stable system tests (#42600).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-23 00:50:57 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
f54defe80c Drop Ruby 2.7 support (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 02:20:50 +00:00
Marius Balteanu
cf3ae915eb Update webdrivers gem (#37558).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 11:52:29 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
30d91c8503 Fix that Log time and/or Add notes sections from issue form page do not show or hide dynamically based on user permission (#34641).
git-svn-id: https://svn.redmine.org/redmine/trunk@21495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 07:03:19 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
4d29d86c3d System test fails in Windows due to "/" path separator (#35024).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-04 05:03:49 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
fb15a9eee4 Add 'webdrivers' gem to manage Chromedriver installation (#34579).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-02-08 06:42:18 +00:00
Go MAEDA
e5faa47e22 Adds GOOGLE_CHROME_OPTS_ARGS environment variable to define Google Chrome options arguments (#34269).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-01-10 00:10:00 +00:00
Go MAEDA
b42e8c2040 Fix selenium chrome options so files are downloaded to tmp/downloads in system tests (#34119).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@20549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-02 21:48:11 +00:00
Go MAEDA
00c751a1a6 Fix RuboCop Style/MultilineIfModifier due to r20428 (#34269).
git-svn-id: http://svn.redmine.org/redmine/trunk@20491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-23 00:58:23 +00:00
Go MAEDA
3896694b5f Fix RuboCop Performance/RedundantMerge due to r20428 (#34269).
git-svn-id: http://svn.redmine.org/redmine/trunk@20490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-23 00:54:33 +00:00
Go MAEDA
c85a18e9bf Adds CAPYBARA_SERVER_HOST, CAPYBARA_SERVER_PORT, SELENIUM_REMOTE_URL and CAPYBARA_APP_HOST to allow running system tests on a remote Selenium hub (on CI using Docker images) (#34269).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-19 05:11:59 +00:00
Toshi MARUYAMA
584fc1651a add empty line after guard clause to ApplicationSystemTestCase
git-svn-id: http://svn.redmine.org/redmine/trunk@20144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-11 12:57:54 +00:00
Toshi MARUYAMA
531879d947 fix source indent of test/application_system_test_case.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-11 12:57:47 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
942eb6e06b detect Chrome downloaded file more strictly
git-svn-id: http://svn.redmine.org/redmine/trunk@18536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 17:30:07 +00:00
Toshi MARUYAMA
7349477b1a code cleanup: rubocop: fix Style/WhileUntilModifier in test/application_system_test_case.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 14:12:18 +00:00
Toshi MARUYAMA
f8379e406f detect strictly Chrome downloaded file
git-svn-id: http://svn.redmine.org/redmine/trunk@18532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 13:24:20 +00:00
Toshi MARUYAMA
15d8e32cbc do not delete Chrome downloaded files on Linux
https://github.com/SeleniumHQ/selenium/issues/5292

git-svn-id: http://svn.redmine.org/redmine/trunk@18531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 13:14:05 +00:00
Toshi MARUYAMA
ddb24a2473 workaround Chrome default_directory ignored on Linux
https://github.com/SeleniumHQ/selenium/issues/5292

git-svn-id: http://svn.redmine.org/redmine/trunk@18530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-25 12:31:40 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
b900ae6107 Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 03:27:53 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Jean-Philippe Lang
46dd7a9ac0 Don't try to open tmp files.
git-svn-id: http://svn.redmine.org/redmine/trunk@16866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 12:46:04 +00:00
Jean-Philippe Lang
530eef9603 Converts UI tests to system tests (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 12:35:32 +00:00