Comments (1)
rmccrear, Re: "many browsers" testing i.e. https://www.lambdatest.com/online-browser-testing ?
From what I understand about lambdatest, is that it requires a deployed site,
then you give lambdatest your deployed url and the tests, and it runs the tests against the deployment.
You could set up render.com to deploy on each commit to main. Then have lambdatest run against your zkemaill.onrender.com (deployed as a static website).
So the workflow could look like this:
- pre-commit: npm run tests:e2e --> get your local results for firefox, chromium webkit printed to command line (and to the junit.xml files)
- on PR...run the tests in three browsers on circleci to record results for firefox, chromium, webkit (but you might need a paid account to run cpu intensive tests)
- On merge to main, automatically deploy to render.com, then run lambdatest or browserstack to run on the environments you choose. (Probably need a paid account.)
But, if firefox, chromium, webkit are enough for you, then you won't need lambdatest/browswerstack, and could get away with just local/circleci. In that case you would just do 1) and 2) and skip 3).
There are a few problems with running perf tests on the cloud, though. One is that you won't have complete control over the instances. You won't know what chip they are running, you are sharing the machine which the VM runs with others, the provider might allow you to "burst" which would change the results. So, pass/fail tests would work fine, but I'm not so sure perf testing on these platforms would be accurate. (I can't find any services that specifically advertise perf testing for web apps.)
I tried to setup the tests on LambdaTest. They ran up until the zkp started running, then get cut off with signal=SIGSEGV.
I actually had a call with a demo sales rep, and he said that something long running like that probably wouldn't run on their servers. You can contact sales about that, if you want to pursue it further. Sorry about that! But, here is a PR with the LambdaTest, if you want to try it yourself.
The PR is here: #37
You just set the env in your bash profile before running yarn test:
export LT_USERNAME="username"
export LT_ACCESS_KEY="lksajdflkjadsfyourkey"
cd e2e-lambdatest
yarn
yarn test
Then go to the LambdaTest console to take a look at the screen recording.
Done with #36
from zk-email-verify.
Related Issues (20)
- Change imports from /dist to index.js in root for npm packages HOT 5
- Retry/Fail Proof if zkey Download Fails in Twitter Demo
- Remove address_plus_one
- Fuzz against independent implementations
- Integration with zk-regex HOT 3
- Script to update Token registry HOT 1
- RSA Add Test for 1024 bit keys with 2048 bit circuit HOT 1
- JS -> TS HOT 3
- Support weird emails in the "to" field
- Make zkp.ts generic HOT 4
- Benchmark constraint diff with O1 and O2 flags from circom
- Unable to generate circuit inputs for email with base64 encoded attachment HOT 5
- Export Rust verifier
- Move twitter example to separate repo
- Refactor DKIM and handle ARC HOT 1
- Fix simple DKIM edge cases HOT 4
- DKIM verification fails due to msg body modification by private relays/transfer agents HOT 5
- Use body hash from regex instead of idx passed in HOT 4
- "TEST" parsed as "TES" or "TE" HOT 1
- Add READMEs to npm packages HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zk-email-verify.