Skip to content
Snippets Groups Projects
Commit 556624d6 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-6255: mitigate flaky tests

parent c54e8b20
No related branches found
No related tags found
No related merge requests found
......@@ -321,6 +321,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
});
it('should show red icon', () => {
wait(2000, 'Flaky - wahrscheinlich wegen asynchroner Verarbeitung im BE');
const svgIcon = wiedervorlagenView.getSvgIcon();
shouldHaveAttribute(svgIcon, 'data-test-class', locatorIconIsOverdue);
......@@ -348,6 +350,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
});
it('should show default icon', () => {
wait(2000, 'Flaky - wahrscheinlich wegen asynchroner Verarbeitung im BE');
const icon = wiedervorlagenView.getIcon();
shouldHaveAttribute(icon, 'data-test-class', locatorIconDefault);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment