• Resolved asafm7

    (@asafm7)


    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 15 replies - 1 through 15 (of 17 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)

    Thread Starter asafm7

    (@asafm7)

    Hi, @domtra, @steffenbew.

    Did you maybe get a chance to review my last message?

    Thanks again for your help.

    Plugin Support domtra

    (@domtra)

    Hi @asafm7,

    thanks for sending the error message. I think this is more a symptom and not the cause of the issue. But it does help debugging a bit.

    Unfortunately, we have not found the real cause yet.

    To clarify, you said that you sometimes make development changes to the site. Does this also include restoring backups or something similar? Or is it just about changing code?

    Thread Starter asafm7

    (@asafm7)

    Thanks, @domtra.

    Both code changes and occasional backup restores.

    Let me know if I can help with more information.

    Thanks again.

    Thread Starter asafm7

    (@asafm7)

    @domtra @steffenbew, in the meantime I tried to reinstall the plugin to reinitiate the tests.

    I now get this message:

    Screenshot 2025-04-08 134331.png

    (Connection failed – Something went wrong while trying to connect to the external service.)

    I also see this on Query Monitor:

    Screenshot 2025-04-08 135049.png

    Maybe it is something you can fix on your end?

    Thanks again.

    • This reply was modified 1 year, 1 month ago by asafm7.
    Plugin Support domtra

    (@domtra)

    Hi @asafm7 ,

    this is very strange. Could you please deactivate and delete the plugin again and try to reinstall?

    Do you have a firewall for outgoing connections by any chance or did anything else change in your setup?

    Plugin Support steffenbew

    (@steffenbew)

    Hey @asafm7, did reinstalling the plugin work for you?

Viewing 15 replies - 1 through 15 (of 17 total)

The topic ‘Tests keeps getting stuck’ is closed to new replies.