Project

General

Profile

Actions

Patch #39109

closed

Improving Test Reliability with Capybara Assertions

Added by Takashi Kato 5 months ago. Updated 4 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

Also available in: Atom PDF