Support auto-quarantining single-line examples and examples without a description
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem
Currently, the automated quarantining of flaky tests only works for full it examples, e.g.
it 'example description' do
expect { subject }.to be(true)
end
Single-line example such as #444694 (closed):
it { is_expected.to eq(secondary_node) }
And example without a description such as
it do
expect { subject }.to be(true)
end
cannot be quarantined.
The problem is that even if we detect the two latter cases, we'll need to reformat them to a full it example, with a description (maybe '' would work as a description...).
Resources
Edited by 🤖 GitLab Bot 🤖