Revamped: Authentication with Playwright
A guide to using Playwright's new authentication API for testing with multiple user roles, featuring configuration updates and code examples.
Tim Deschryver is a software developer and cloud architect specializing in Azure, DevOps, and web application security.
220 articles from this blog
A guide to using Playwright's new authentication API for testing with multiple user roles, featuring configuration updates and code examples.
Explains how Angular standalone components and the Angular Testing Library simplify and improve component testing by reducing setup complexity.
A guide to automatically assign team reviewers to Azure DevOps pull requests using a PowerShell script and the Azure DevOps API within a pipeline.
A guide on using Zod to simplify and type-safe the parsing of route and query parameters in Angular applications.
A developer shares their experience and results from using the new Angular schematic to migrate an application from NgModules to the standalone API.
Explains how to use Playwright's soft assertions to improve test reports by capturing all failures in a single test run.
A guide to implementing OpenTelemetry for monitoring and observability in an Angular application using the browser SDK.
How to register and use built-in SQL functions like SOUNDEX in Entity Framework Core queries for database-agnostic operations.
Explains how to combine Angular Testing Library and Test Harnesses to write more robust and maintainable tests for components, especially third-party ones.
A technical guide on using Playwright to intercept and mock HTTP requests for testing Angular components and edge cases.
Explains how to use FluentAssertions' Assertion Scopes to see all test failures at once, improving debugging efficiency.
Explores the latest, type-safe NgRx APIs for Angular state management, focusing on improved Actions and Reducers with TypeScript.
A guide to setting up and running Playwright end-to-end tests within an Azure DevOps pipeline, including YAML configuration and artifact publishing.
A guide on using Playwright to test application localization, including setting default and per-test locales and time zones.
Explains how to disable git hooks in an Azure DevOps YAML pipeline by setting the CI environment variable, as it's not set by default.
Discusses security risks in Angular HTTP interceptors, especially when exposing authentication tokens, and provides examples from common implementations.
A guide on how to simulate and test geolocation features using the Playwright browser automation framework.
A guide on integrating zod-fixture with Mock Service Worker (MSW) to automatically generate mocked API responses for frontend development and testing.
Explains how the zod-fixture library uses Zod schemas to generate test data, improving test setup and maintenance.
Explains how to use Playwright's test steps to structure end-to-end tests for better failure reporting and maintainability.