Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify browser test files and add safari tests #88

Merged
merged 6 commits into from
Mar 4, 2024

Conversation

koji-1009
Copy link
Contributor

@koji-1009 koji-1009 commented Mar 2, 2024

ref #86 (review)

As a test for crypto_subtle.dart, I have combined them into one test file.
By specifying test.testOn, different expectations are expressed in chrome, firefox and safari.

https://pub.dev/documentation/test/latest/test/test.html

I checked and got an OperationError when publicExponent is Uint8List.fromList([0x03]) in macOS + safari. I added a test case to crypto_subtle_dart.dart, but it seems difficult to include macOS + safari in the webcrypto_test.dart test target.
And on macOS, the firefox test cannot be run due to the following issue.

dart-lang/test#2194

Due to these reasons, I have not made any changes to the workflows.

@koji-1009 koji-1009 marked this pull request as ready for review March 3, 2024 03:10
test/crypto_subtle_test.dart Outdated Show resolved Hide resolved
test/crypto_subtle_test.dart Outdated Show resolved Hide resolved
koji-1009 and others added 2 commits March 5, 2024 00:12
@jonasfj jonasfj merged commit 60cf08f into google:master Mar 4, 2024
5 of 6 checks passed
@jonasfj
Copy link
Member

jonasfj commented Mar 4, 2024

Thanks!

This is awesome.

hmm, sad to see the iOS integration tests failing so frequently. I'll file a bug, someday it might be worth fixing.

@koji-1009 koji-1009 deleted the feat/browser_test branch March 4, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants