. 12 min read.Let's filter out automated UI tests traffic from Google Analytics. We will use Playwright's configuration file to set up a debug_mode variable on browser's localStorage to be picked up by Google Analytics configuration. This way we can run our automated tests in any environment with any client IP and be certain that Google Analytics data is not being polluted.
. Last updated on . 6 min read.We look into ways to write robust end-to-end tests involving navigation between pages in a single page application (pun intended). We evaluate page-specific element selectors approach and come up with the custom "UI is ready" router navigation event in attempt to skip element selectors altogether.