プロジェクト

全般

プロフィール

Vote #79424

完了

Fixture is missing for IssuesTest#test_create_issue_with_new_target_version

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
99
issue_org_id:
29215
author_id:
356556
assigned_to_id:
332
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

After a db:reset, the test_create_issue_with_new_target_version system test fails with the following error:

Error:
IssuesTest#test_create_issue_with_new_target_version:
Capybara::ElementNotFound: Unable to find visible link or button "New version"
test/system/issues_test.rb:161:in block (2 levels) in test_create_issue_with_new_target_version'
test/system/issues_test.rb:158:in
block in test_create_issue_with_new_target_version'
test/system/issues_test.rb:157:in `test_create_issue_with_new_target_version'

The "New version" link is missing because the Versions fixtures aren't loaded. This patch loads the versions fixture so that the test passes.

PostgreSQL 9.5.13
ruby 2.4.3p205
Rails 5.1.6
svn revision 17440


journals

Because the patch contains garbage, I attach an updated patch.
--------------------------------------------------------------------------------
Committed. Thank you for reporting this issue.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリCode cleanup/refactoring_30 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0