Month: December 2025
-
Automate Microsoft MFA login using Playwright

Introduction During a session at ESPC 25, where I and the awesome Peter Paul Kirschner talked about developing, testing and deploying a SPFx solution, a person asked if Playwright supports MFA: the answer is yes, using a TOTP. This article wants to be an answer to that person and to…
-
Copying Arrays in TypeScript: Spread vs Deep Linking

TLDR: use the spread operator for arrays of non-object items, otherwise you need to copy the array breaking the deep link of the objects using, for example, JSON.parse and JSON.stringify. If you’re interested in knowing more keep reading! With this post I want to remind (mostly to myself) that there…