steffenbew
Forum Replies Created
-
@grex22 We tested various approaches to prevent browsers and password managers from autocompleting the inputs (see PR: Add autocomplete control and multiple-email support to settings fields), but it didn’t reliably work. Sometimes, browsers still choose to ignore the markup instructions when they assume a user/password combination.
That’s why we decided to change the license key field to a text input. This appears to effectively prevent browser autocomplete. The saved license key is masked with XXX–XXX…
The change is now live in VRTs v2.0.7.
Thanks again for bringing this to our attention!
Thanks for bringing this to our attention! We’ll look into this.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Scroll/Fade-in animationsHi Tim,
Thanks for getting in touch about this!
Before taking the screenshot, the screenshotter scrolls down the entire page, scrolls up again, and then captures a full-page screenshot. If sections only become visible when they are currently in the viewport (e.g. fade-in / intersection-observer animations), they can still end up hidden in the final screenshot.
VRTs exposes itself via the user agent string during screenshotting, so you can detect that and adjust rendering specifically for tests. The user agent contains the prefix:
VRTs/<version>You can check for that in JavaScript, for example:
if (navigator.userAgent.includes('VRTs')) {
// Disable animations or reveal hidden sections for visual testing
}This allows you to bypass scroll-triggered animations, IntersectionObserver logic, or other viewport-dependent effects during tests while keeping the normal behavior for real visitors.
You can find the details in the docs here: https://vrts.app/docs/#user-agent
I hope this helps! Let me know if you need any further support with this.
Best
SteffenForum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests have stopped runningThe issue has been resolved by uninstalling and reinstalling the plugin.
It may have been caused by syncing staging, dev and production environments on WP Engine.
While pulling to a staging or dev environment shouldn’t lead to issues, pushing from a staging or dev environment to production would result in problems. This is because the test runs are bound to the specific URLs of a website. When the test URLs on production get overwritten with the test URL from staging, the production tests get unscheduled.
This can be prevented by excluding the VRTs db tables when syncing to production.
See the docs for the specific tables: https://vrts.app/docs/#multiple-environmentsWP Engine can be configured to only sync specific db tables: https://wpengine.com/support/copy-site/#Specific_database_tables_only
And WP Migrate has an option to select tables as well: https://deliciousbrains.com/wp-migrate-db-pro/doc/importing-wordpress-local-development-environment/I’m sorry this happened to you and hope the steps above will help prevent this from happening again!
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] A couple of issues with the testsThanks for your detailed report! And sorry for the late response. It took us a while analysing the page and coming up with next steps.
The alert you’re seeing appears to come from layout shifts that happen after the initial load. The radio button group and CAPTCHA area at the bottom both resize slightly over time, and that creates pixel differences from one test to the next. Because the page is actually rendering differently in some of the tests, the alert keeps coming back even when flagged as a false positive. Fixing those layout shifts on the site side should solve the repeated alert.
About hidden elements: You’re absolutely right. Using
visibility: hiddenpreserves layout space, so if the element changes internal size, it can still trigger differences. That’s why it doesn’t help with layout-shift style issues. We’re looking into offering more control here. We do not offerdisplay: nonefor now, as removing elements from the layout may result in unexpected results.Regarding false positives: currently, the feature only suppresses alerts when screenshot comparisons are a pixel-perfect match. Any other difference will still trigger an alert. That’s why it doesn’t help with more dynamic layout changes.
Based on your feedback, we started working on an AI-assisted guidance for configuring hide selectors and reducing noise in test results. It’s early, but we’re excited about where it’s heading.
Let us know if we can help identify the shifting elements more precisely. We’re happy to support you in stabilizing that page.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Deleting RunsHi Kyle, thanks for your feedback! The data saved in the database is minimal, but I understand that keeping things lean and clean long-term is important. I’ll put deleting runs on our dev backlog!
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests have stopped runningHey there, I’m sorry to hear that. Please send a mail with the URL of the website to [email protected] so we can look into this specifically.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests keeps getting stuck@asafm7 Alright, thanks for letting us know!
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests keeps getting stuckHey @asafm7, did reinstalling the plugin work for you?
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Differences between test and actual frontendClosing due to inactivity.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] PHP Deprecation NoticeThanks for reporting! This was fixed in v2.0.1.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Differences between test and actual frontendHi @nevenjevtic, we’re using Chrome for the screenshots. Can you provide the URL to the website and upload the screenshots?
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests keeps getting stuckHey @asafm7, we need some more time to investigate this. Thanks for your patience!
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Tests keeps getting stuck@asafm7 Thanks for reporting this! We’ll look into why the test got stuck and what can be done to prevent it.
Forum: Plugins
In reply to: [VRTs - Visual Regression Tests] Testing IP