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

OZG-6255: mitigate flaky tests

parent c54e8b20
Branches
Tags
No related merge requests found
...@@ -321,6 +321,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => { ...@@ -321,6 +321,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
}); });
it('should show red icon', () => { it('should show red icon', () => {
wait(2000, 'Flaky - wahrscheinlich wegen asynchroner Verarbeitung im BE');
const svgIcon = wiedervorlagenView.getSvgIcon(); const svgIcon = wiedervorlagenView.getSvgIcon();
shouldHaveAttribute(svgIcon, 'data-test-class', locatorIconIsOverdue); shouldHaveAttribute(svgIcon, 'data-test-class', locatorIconIsOverdue);
...@@ -348,6 +350,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => { ...@@ -348,6 +350,8 @@ describe('Wiedervorlage erledigen/wiedereroeffnen', () => {
}); });
it('should show default icon', () => { it('should show default icon', () => {
wait(2000, 'Flaky - wahrscheinlich wegen asynchroner Verarbeitung im BE');
const icon = wiedervorlagenView.getIcon(); const icon = wiedervorlagenView.getIcon();
shouldHaveAttribute(icon, 'data-test-class', locatorIconDefault); 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