Project

General

Profile

Actions

Patch #39109

closed

Improving Test Reliability with Capybara Assertions

Added by Takashi Kato 7 months ago. Updated 6 months ago.

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

0%

Estimated time:

Description

According to Capybara's documentation, Capybara will automatically wait until the HTML condition is met if you use the assertions provided by Capybara.
The current Redmine system test includes a section that is sometimes unreliable, known as a "flaky" part, which may or may not succeed during runtime.

By giving preference to the use of Capybara's assertions, it is possible to mitigate the test's flakiness.


Files

0001-Use-capybara-assertion.patch (2.86 KB) 0001-Use-capybara-assertion.patch patch for r22317 Takashi Kato, 2023-09-24 17:37
Actions #1

Updated by Marius BĂLTEANU 6 months ago

  • Tracker changed from Defect to Patch
  • Status changed from New to Closed
  • Assignee set to Marius BĂLTEANU
  • Target version set to 5.1.0

Committed, thanks!

Actions

Also available in: Atom PDF