Project

General

Profile

Actions

Defect #42200

closed

InlineAutocompleteSystemTest login test fails randomly

Added by Katsuya HIDAKA about 1 month ago. Updated 27 days 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

Currently, the following test in the log_user method within InlineAutocompleteSystemTest fails randomly.

  def log_user(login, password)
    visit '/my/page'
    assert_equal '/login', current_path # <== Here
    within('#login-form form') do
      fill_in 'username', :with => login
    ...
  end
Failure:
InlineAutocompleteSystemTest#test_inline_autocompletion_of_wiki_page_links [test/application_system_test_case.rb:71]:

Expected: "/login" 
  Actual: "/my/page" 

bin/rails test test/system/inline_autocomplete_test.rb:144

https://github.com/hidakatsuya/redmine/actions/runs/13014082081/job/36298727579

This test failure mainly occurs in the InlineAutocompleteSystemTest test, but it can also occur in other tests.


Files

Actions

Also available in: Atom PDF