Investigate why WebCrypto platfrom test don't fail if we modify them for failure #4555
Labels
area: webcrypto
bug
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
tests
What?
Originally spotted by @McMastS in #4263 (comment)
It seems like the WebCrypto's web platform tests don't fail if we deliberately modify them for failure.
E.g. the script like
At that state of WebCrypto should fail since
Ed25519
isn't supported, but if we uncomment it ininternal/js/modules/k6/webcrypto/tests/wpt/WebCryptoAPI/generateKey/successes.js
tests still passed 🤔
We need to figure out, why this happens and apply fix if needed.
Why?
Having a working and reliable tests is essential.
The text was updated successfully, but these errors were encountered: