auth0 / auth0-flutter

Auth0 SDK for Flutter
https://pub.dev/documentation/auth0_flutter/latest/
Apache License 2.0
57 stars 37 forks source link

af: Add macOS smoke tests [SDK-4712] #361

Closed Widcket closed 7 months ago

Widcket commented 7 months ago

📋 Changes

This PR adds smoke tests for the macOS platform. These are not completely equivalent to the iOS smoke tests, given that Flutter support for XCUITests on macOS is much more limited. For example, it's not currently possible to select a view by the label on a macOS Flutter app. Thus we cannot assert that, e.g., the email is present on the screen after login. Still, we managed to perform the whole login/logout flow.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:exclamation: No coverage uploaded for pull request base (feature/macos-support@f0fb53e). Click here to learn what that means.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/macos-support #361 +/- ## ======================================================== Coverage ? 96.30% ======================================================== Files ? 98 Lines ? 1596 Branches ? 340 ======================================================== Hits ? 1537 Misses ? 50 Partials ? 9 ``` | [Flag](https://app.codecov.io/gh/auth0/auth0-flutter/pull/361/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | Coverage Δ | | |---|---|---| | [auth0_flutter](https://app.codecov.io/gh/auth0/auth0-flutter/pull/361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `100.00% <0.00%> (?)` | | | [auth0_flutter_android](https://app.codecov.io/gh/auth0/auth0-flutter/pull/361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `97.35% <0.00%> (?)` | | | [auth0_flutter_ios](https://app.codecov.io/gh/auth0/auth0-flutter/pull/361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `99.70% <0.00%> (?)` | | | [auth0_flutter_platform_interface](https://app.codecov.io/gh/auth0/auth0-flutter/pull/361/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0) | `87.03% <0.00%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=auth0#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.