Project

General

Profile

Actions

Defect #29215

closed

Fixture is missing for IssuesTest#test_create_issue_with_new_target_version

Added by Ed Tan almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

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


Files

fix-system-test-issues.diff (7.08 KB) fix-system-test-issues.diff Ed Tan, 2018-07-10 05:25
fix-system-test-issues-v2.diff (641 Bytes) fix-system-test-issues-v2.diff Removed garbages from Ed Tan's patch Go MAEDA, 2018-07-15 04:21
Actions #1

Updated by Go MAEDA almost 6 years ago

Because the patch contains garbage, I attach an updated patch.

Actions #2

Updated by Go MAEDA almost 6 years ago

  • Subject changed from issues_test system test failing to Fixture is missing for IssuesTest#test_create_issue_with_new_target_version
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from Candidate for next major release to 4.0.0
  • Resolution set to Fixed

Committed. Thank you for reporting this issue.

Actions

Also available in: Atom PDF