collective / collective.cover

A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.
48 stars 55 forks source link

Fix robot tests randomly failing #935

Closed wesleybl closed 1 year ago

wesleybl commented 1 year ago
Test Basic Tile                                                       | FAIL |
  StaleElementReferenceException: Message: The element reference of <a class="" href="http://localhost:33931/plone/title-1/?_authenticator=8fe8b900ec8d49c2a19ba16dd97650a9f4309431"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed

fixes #932

See:

robot_test_cover_Test_CRUD_selenium-screenshot-1

This caused the following error in test robot:

  ==============================================================================
  Test Cover                                                                    
  ==============================================================================
  Test CRUD                                                             | FAIL |
  Page should have contained text 'has been deleted' but did not.
  ------------------------------------------------------------------------------
  Test Cover                                                            | FAIL |
  1 critical test, 0 passed, 1 failed
  1 test total, 0 passed, 1 failed

Fixes: https://github.com/collective/collective.cover/actions/runs/4087391783/jobs/7048099546

codecov-commenter commented 1 year ago

Codecov Report

Merging #935 (91c64fe) into master (8844cf3) will not change coverage. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #935   +/-   ##
=======================================
  Coverage   92.86%   92.86%           
=======================================
  Files          50       50           
  Lines        2930     2930           
=======================================
  Hits         2721     2721           
  Misses        209      209           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8844cf3...91c64fe. Read the comment docs.