• Hello.

    Tests sometimes get stuck in the “In progress – Refresh page to see snapshot” waiting stage (see screenshot).

    Screenshot 2025-02-27 084538.png

    I already unstuck this test, but it happened again. Can it be prevented? Alternatively, a mechanism for periodically refreshing tests or alerts of stuck tests may be introduced.

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support steffenbew

    (@steffenbew)

    @asafm7 Thanks for reporting this! We’ll look into why the test got stuck and what can be done to prevent it.

    Thread Starter asafm7

    (@asafm7)

    Thanks, @steffenbew.

    I already unstuck it. I hope it’s not a problem. Let me know if you need me to leave it stuck next time.

    Thread Starter asafm7

    (@asafm7)

    @steffenbew, actually, I see it got stuck again, so you can check it. It is a long page, maybe the issue has something to do with that.

    Thanks again.

    Thread Starter asafm7

    (@asafm7)

    Hi, @steffenbew. Any updates on this by any chance?

    Plugin Support steffenbew

    (@steffenbew)

    Hey @asafm7, we need some more time to investigate this. Thanks for your patience!

    Thread Starter asafm7

    (@asafm7)

    No problem, @steffenbew. Can I try to reset the test in the meantime, or do you need a live example to investigate?

    Plugin Support domtra

    (@domtra)

    Hi @asafm7 , for some reason, your project was deactivated again, on March 1st. But it was running successfully since January, right? Did you by any change do something special recently? Like migrate the site, change something in the database or on the filesystem or something similar?

    Besides that, I could see that the screenshot timed out before. That usually happens when long polling or some other techniques are used so that our script does not know that the site finished loading. I checked this manually now but all seemed to be working. Did you make any changes to the site since it stopped?

    We will see if we can add some retry functionality, manual or automatic. But it would be great to get to the bottom of your specific issue first.

    Thread Starter asafm7

    (@asafm7)

    Thanks, @domtra.

    It is possible there are two separate issues.

    See this screenshot: Screenshot 2025-03-05 110108.png

    There are two tests marked as passed, but which haven’t been running since March 1st.

    A third test is stuck on “In progress Refresh page to see snapshot Waiting” for weeks now.

    I do make development changes to the website sometimes, though nothing that should affect the database or the filesystem.

    In my experience, restoring a website backup can sometimes confuse plugins. It’s the only concrete option I can think of.

    I agree, it would be better to get to the bottom of these specific issues first.

    Let me know if there is anything I can help with.

    Thanks again.

    Thread Starter asafm7

    (@asafm7)

    Hi, @domtra, @steffenbew.

    Maybe this error record will help:

    TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given (/home/asafdevc/hobbies4.life/wp-content/plugins/visual-regression-tests/includes/services/class-test-service.php:111) array_key_exists(/home/asafdevc/hobbies4.life/wp-content/plugins/visual-regression-tests/includes/services/class-test-service.php:111) Vrts\Services\Test_Service::fetch_and_update_tests(/home/asafdevc/hobbies4.life/wp-content/plugins/visual-regression-tests/includes/features/class-cron-jobs.php:46) Vrts\Features\Cron_Jobs::fetch_updates(/home/asafdevc/hobbies4.life/wp-includes/class-wp-hook.php:324) WP_Hook::apply_filters(/home/asafdevc/hobbies4.life/wp-includes/class-wp-hook.php:348) WP_Hook::do_action(/home/asafdevc/hobbies4.life/wp-includes/plugin.php:565) do_action_ref_array(/home/asafdevc/hobbies4.life/wp-cron.php:191)

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.