Endless loading screen when open Allure report using Chrome / Internet explorer browser

Problem:  Endless loading screen when open Allure report using Chrome / Internet explorer browser
This means that report data failed to load. Possible solutions:
  • When opening the report from the local file, either open it in Firefox or launch Chrome with the --allow-file-access-from-files flag. For other browsers, you need to enable cross-origin requests to local files.
  • Windows
    1. Exit any running-instance of chrome.
    2. Find the shortcut you normally use to launch chrome.
    3. Create a copy of it
    4. Right click on the new shortcut, and select Properties
    5. At the very end of the Target: text box, add a space and then the desired command line flags (--allow-file-access-from-files)
  • Upload the report to the web server and open it from there
  • If you get a 404 error from the remote server, check logs in order to verify that the report was built successfully.
  • If your test framework is JUnit, check that you're using version 4. Allure is incompatible with version 3 of JUnit and that's why no data is gathered from tests.


Source: https://github.com/allure-framework/allure-core/wiki/FAQ-and-Troubleshooting

Comments

  1. Hi, If you want to know about all the companies and want to know more about a r travel limited
    . So stay with us, thank you.

    ReplyDelete

Post a Comment

Popular posts from this blog

Software Testing @ Microsoft

Trim / Remove spaces in Xpath?