Patch #18789

UI tests and capybara version

Added by Ondřej Ezr about 3 years ago. Updated about 3 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Code cleanup/refactoring
Target version:2.6.1

Description

I was about to try unlock capybara version - if it would not break some tests.

I discovered, that UI tests does not work in redmine 3.0 ( contains old find_by fetchers ).
In context menu tests there is a time dependend error - the ajax may be triggered after Watcher.count is - on my machine usually does.

But capybara version unlock has no effect, so I post capybara unlock in second patch, if there is no reason to lock capybara, please unlock it, I use rspec for my tests and I can not update it to new version due to this lock. :(

issues_ui_tests.diff Magnifier - UI tests (2.23 KB) Ondřej Ezr, 2015-01-09 11:18

unlock_capybara_version.diff Magnifier - capybara version unlock (333 Bytes) Ondřej Ezr, 2015-01-09 11:19

Associated revisions

Revision 13861
Added by Jean-Philippe Lang about 3 years ago

Time dependend failures in UI tests (#18789).

Patch by Ondřej Ezr.

Revision 13862
Added by Jean-Philippe Lang about 3 years ago

Unlock capybara gem version (#18789).

History

#1 Updated by Jean-Philippe Lang about 3 years ago

  • Target version set to 2.6.1

#2 Updated by Jean-Philippe Lang about 3 years ago

Test errors were already reported in recent #18782.

#3 Updated by Ondřej Ezr about 3 years ago

Ah.. I see I did not noticed. Shall I remove that from my patch and leave only time dependend error fixes in it?

#4 Updated by Jean-Philippe Lang about 3 years ago

I'll take care of it, thanks.

#5 Updated by Jean-Philippe Lang about 3 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang

Changes committed.

#6 Updated by Jean-Philippe Lang about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF