Steps to reproduce
The DRT ‘plugin_markup.flash_iframe_redirect_http’ (or other imageverification DRTs) sometimes fail due to a small delay in resize via webdriver.
Added a workaround in Bug 14391179 to make the DRT setup wait for resize to complete before proceeding.
- Remove the workaround fix from bug 14391179.
- Run the DRT 'plugin_markup.flash_iframe_redirect_http with a repeatcount of 100 or 200.
- The DRT fails a couple of times because of resizing problems.
Root-cause for DRT failure:
The Webdriver test setup PerformSanityNavTest() resizes Edge to 800 x 600. The ImageVerification test setup then attempts resizes Edge to 640 x 480 before running the tests and taking a screenshot.
In the failure case, ImageVerification code checks the current size and it returns 640 x 480 (which was the previous size before PerformSanityNavTest() resized it to 800 x 600). So, it doesn’t resize it again. However, the 800 x 600 resize happens some time after this which causes the screenshot that is taken to be of a different size than the reference image. This causes the test to fail.
The expectation is that the resize should have completed by the time get size is called in ImageVerification test setup.
Comments and activity
- Microsoft Edge Team
Changed Status to “Confirmed”
Changed Assigned To to “edgedevtoolstri”
Changed Assigned To from “edgedevtoolstri” to “Clay M.”