Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IssuePotential fixRemark
Element cannot be found although it's thereadd a delayquerying fro an element (AbstractMagnoliaUITest#getElementByPath(By)) will explicitly try for 5 seconds - if the test triggers a long running action (e.g. activation) this can take even longer so we might have to add an additional, explicit delay
Element is found although it should be goneadd a delayunlike in the case where we check for existence of an element we don't have any implicit or explicit delay here - if the element needs some time to go away (e.g. Overlay fadeout) we have to add an explicit delay
Input field value cannot be queried with xpathdont use xpathinput[@class = 'classname' and @value = 'form input...'] could be changed to input[@class = 'classname] and use WebElement.getAttribute("value") to query the input value.

Screenshots of each stage of the test

Our framework is rigged to generate a screenshot and save it during the test - this can help debug what went wrong with the test. These images are stored in tests/target/surefire-reports/

Even on hudson you can access these screenshots:

http://hudson.magnolia-cms.com/view/Product_Team/job/magnolia-bundle_trunk-with-selenium_profile/ws/magnolia-integration-tests/tests/target/surefire-reports/