Hello,
We are developing a Chrome extension and need to run automated end-to-end integration tests against the real UI. Our tests involve signing in with Google and then interacting with various UI elements in the extension (clicking buttons, filling forms, navigating between views, etc.).
The problem is that these tests are frequently blocked by Google’s security systems during the login flow or even at later stages of clicking through the UI. As a result, it becomes nearly impossible to maintain reliable test coverage of our extension. Without automated UI tests, keeping the product stable and maintainable is very difficult.
We have already tried approaches such as:
Running with Google profiles,
Using Google Workspace accounts,
Slowing down automation steps and using different environments.
Unfortunately, none of these approaches have solved the issue.
From what we found online, it seems that only API-level testing is officially supported, but in our case, we specifically need to test the UI flows of the extension to ensure correct behavior for our users.
Could you please advise:
Is there an officially supported way to run automated UI tests for Chrome extensions that require Google Sign-In?
Are there any recommended practices (e.g., special test accounts, sandbox environments, whitelisted configurations) to avoid triggering security blocks?
If UI automation is not possible, what best practice does Google recommend for testing extensions that depend heavily on signed-in user flows?
Any guidance, documentation, or workarounds would be greatly appreciated.
Thanks in advanced
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/ff392138-1a28-4c24-87a0-a85540ab6742n%40chromium.org.