Skip to content

Improve flaky test

Tilmann Becker requested to merge improve-flaky-tests into master

What does this MR do?

FoodsaverVerifyUnverifyHistoryCept sometimes unverified the wrong user. I added a xpath locators to make sure it clicks on the correct button.

I also enabled smartWait and set it to 5 seconds as it makes the tests a bit nicer. Can write see() instead of waitForElement().

How confident are you it won't break things if deployed?

👍

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Peter Tönnies

Merge request reports