Open floitschG opened 6 years ago
I'm not sure how that test got added. It seems to have been in an unrelated commit, or at least one where I don't see the relationship. https://dart-review.googlesource.com/c/sdk/+/29020
It doesn't look like there was ever a test like this in html, that it was added directly in lib_2/html. Or else my git is insufficient to find it. But as far as I know, there's really no way to test requesting permission without it being interactive - see comments in notification_test.dart.
This test can be run 3 ways:
/usr/bin/google-chrome --incognito
Not sure if #2 or #3 will work for bot testing . Bill do we have a PREFERENCES file for chrome that is deployed on the bots?
/cc @whesse
At the moment the html/notification_permission_test requires human intervention since there is a popup that the user needs to click. The test therefore times out.
/cc @terrylucas