passportxyz / passport

Passport allows users to prove their identity through a secure, decentralized UI
Other
988 stars 459 forks source link

[CHORE] Setup load testing #112

Open yonocan opened 2 years ago

yonocan commented 2 years ago

Notes

luke-focusedlabs commented 2 years ago

Deferring this to some future nerds to implement. Learnings:

Playwright and Artillery are cool, but we will not be able to interact with MetaMask in a headless browser and thus won't be able to use that for load testing. There are mocked utilities for metamask wallets in a cypress codebase found here: https://github.com/gitcoinco/web/blob/master/cypress/support/commands.js (~Line 145)

Perhaps we can provide the ceramic network with a fake wallet ID that is mocked to "preauthenticate" with our app, but that's for another day.

luke-focusedlabs commented 2 years ago

WIP is on branch playwright-artillery under the "load-testing" folder on the Passport repository