Just successfully reverse engineered some tricky JWT auth to get it working in #Playwright tests and no one will ever appreciate it, but it’s so slick. It’s ugly, but all the ugliness is hidden in a test fixture.
[#]softwaredevelopment #webdev
=> More informations about this toot | More toots from doowttam@social.lol
@doowttam I did something similar with a Bruno pre-request script where I generate valid JWTs on the fly for different test users and I'm so proud of it and also no one will ever care about it except for me. 😂
=> More informations about this toot | More toots from adamghill@indieweb.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini