[PR #3250] [MERGED] test: add supabase auth tests #5646

Closed
opened 2026-03-23 22:19:40 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/3250
Author: @appflowy
Created: 8/22/2023
Status: Merged
Merged: 8/22/2023
Merged by: @appflowy

Base: mainHead: supabase_auth_test


📝 Commits (5)

  • 5c41f86 test: add supabase auth tests
  • eeb713f chore: format before test
  • b4522e7 chore: fix warnings
  • a782111 ci: rust test
  • a31bbb9 chore: disable clicking get started button when logining through the google OAuth

📊 Changes

20 files changed (+457 additions, -168 deletions)

View changed files

frontend/appflowy_flutter/integration_test/auth/auth_test.dart (+85 -0)
📝 frontend/appflowy_flutter/integration_test/runner.dart (+6 -0)
frontend/appflowy_flutter/integration_test/util/auth_operation.dart (+64 -0)
📝 frontend/appflowy_flutter/integration_test/util/settings.dart (+8 -0)
📝 frontend/appflowy_flutter/integration_test/util/util.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/env/env.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/startup/deps_resolver.dart (+8 -3)
📝 frontend/appflowy_flutter/lib/startup/startup.dart (+5 -5)
📝 frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/user/application/auth/appflowy_auth_service.dart (+6 -6)
📝 frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart (+5 -5)
📝 frontend/appflowy_flutter/lib/user/application/auth/device_id.dart (+1 -1)
frontend/appflowy_flutter/lib/user/application/auth/mock_auth_service.dart (+110 -0)
📝 frontend/appflowy_flutter/lib/user/application/auth/supabase_auth_service.dart (+11 -32)
📝 frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart (+72 -50)
📝 frontend/appflowy_flutter/lib/user/presentation/skip_log_in_screen.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_file_customize_location_view.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_user_view.dart (+46 -36)
📝 frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dart (+19 -23)
📝 frontend/rust-lib/dart-ffi/.cargo/config.toml (+5 -2)

📄 Description

PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/de4a1b09-5d34-407f-b308-8f29e82294cb

https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/8686b3e2-6ead-4a36-9b57-045f6a231171


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/3250 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 8/22/2023 **Status:** ✅ Merged **Merged:** 8/22/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `supabase_auth_test` --- ### 📝 Commits (5) - [`5c41f86`](https://github.com/AppFlowy-IO/AppFlowy/commit/5c41f8674ad0c1490672c46f9fa3a95d6f48bd78) test: add supabase auth tests - [`eeb713f`](https://github.com/AppFlowy-IO/AppFlowy/commit/eeb713f4a1cd0d99a07d46936035d2b84045aaa9) chore: format before test - [`b4522e7`](https://github.com/AppFlowy-IO/AppFlowy/commit/b4522e7a28e27f8b246ad258befb51387fbb11cc) chore: fix warnings - [`a782111`](https://github.com/AppFlowy-IO/AppFlowy/commit/a78211104f702db98894d30c0265ee7720d2dbcb) ci: rust test - [`a31bbb9`](https://github.com/AppFlowy-IO/AppFlowy/commit/a31bbb95fa6fee681ce53340f9064bf9f07b963c) chore: disable clicking get started button when logining through the google OAuth ### 📊 Changes **20 files changed** (+457 additions, -168 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/integration_test/auth/auth_test.dart` (+85 -0) 📝 `frontend/appflowy_flutter/integration_test/runner.dart` (+6 -0) ➕ `frontend/appflowy_flutter/integration_test/util/auth_operation.dart` (+64 -0) 📝 `frontend/appflowy_flutter/integration_test/util/settings.dart` (+8 -0) 📝 `frontend/appflowy_flutter/integration_test/util/util.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/env/env.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/startup/deps_resolver.dart` (+8 -3) 📝 `frontend/appflowy_flutter/lib/startup/startup.dart` (+5 -5) 📝 `frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/user/application/auth/appflowy_auth_service.dart` (+6 -6) 📝 `frontend/appflowy_flutter/lib/user/application/auth/auth_service.dart` (+5 -5) 📝 `frontend/appflowy_flutter/lib/user/application/auth/device_id.dart` (+1 -1) ➕ `frontend/appflowy_flutter/lib/user/application/auth/mock_auth_service.dart` (+110 -0) 📝 `frontend/appflowy_flutter/lib/user/application/auth/supabase_auth_service.dart` (+11 -32) 📝 `frontend/appflowy_flutter/lib/user/presentation/sign_in_screen.dart` (+72 -50) 📝 `frontend/appflowy_flutter/lib/user/presentation/skip_log_in_screen.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_file_customize_location_view.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_user_view.dart` (+46 -36) 📝 `frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dart` (+19 -23) 📝 `frontend/rust-lib/dart-ffi/.cargo/config.toml` (+5 -2) </details> ### 📄 Description #### PR Checklist - [ ] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/de4a1b09-5d34-407f-b308-8f29e82294cb https://github.com/AppFlowy-IO/AppFlowy/assets/86001920/8686b3e2-6ead-4a36-9b57-045f6a231171 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:19:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#5646
No description provided.