Loading...

E2E testing in MFA environment with Playwright auth session

E2E testing in MFA environment with Playwright auth session
A couple of months ago, I found a way to end-to-end test your solutions, which require you to log in on Microsoft with multifactor authentication enabled. The solution is to use a time-based one-time password (TOTP) that you can generate on the fly during your automated tests. info You can read more about the approach in the automating Microsoft 365 login with multi-factor authentication in Playwright tests article.

Published on:

Learn more
Elio Struyf - Office Development MVP
Elio Struyf - Office Development MVP

Microsoft 365 / SharePoint / Search / Development / Branding / Speaker / Blogger

Share post:

Related posts

Keeping GitHub Copilot on script during your demos

Master your demos with `copilot-mock-server` for consistent GitHub Copilot responses and a seamless audience experience.

1 month ago

Is AI taking the joy out of coding, or am I giving it away?

I still love developing. That's the part that makes this hard to write.

2 months ago

Building my own AI cycling coach with Claude and Strava

Discover how to create a personalized AI cycling coach using Claude and Strava for tailored training plans that fit your lifestyle.

2 months ago

Fix invalid Microsoft service API permissions in SharePoint

Learn how to fix invalid Microsoft service API permissions in SharePoint and ensure smooth SPFx solution deployment.

2 months ago

Metered Billing for GitHub Copilot: A Necessary Shift

Explore the implications of GitHub Copilot's metered billing and how it reshapes developer workflows and AI tool usage.

2 months ago

Why GitHub Copilot CLI is my new go-to for heavy lifting

Discover why GitHub Copilot CLI is essential for managing large codebases efficiently, enhancing performance without sacrificing context.

5 months ago

Switching from Apple Watch Ultra to Garmin Venu 4

Why I traded my Apple Watch Ultra for a Garmin Venu 4 to complete my cycling training data.

5 months ago

Control Your Mac with a 3-Button Voice Setup

Discover how to control your Mac effortlessly with a 3-button voice setup for a seamless workflow and enhanced productivity.

5 months ago

Are We Killing Indie Development with AI?

Explore the impact of AI on indie development and the need for a moral compass in coding. Are we sacrificing quality for speed?

6 months ago

Stop typing, start talking

Discover how voice dictation can transform your workflow and boost productivity. Stop typing and start talking today!

6 months ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.