[PR #2803] [MERGED] test: import database integration #5429

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2803
Author: @appflowy
Created: 6/15/2023
Status: Merged
Merged: 6/15/2023
Merged by: @appflowy

Base: mainHead: test/import_database_integration


📝 Commits (10+)

  • 9c5d647 feat: support importing database raw data
  • 58ee295 feat: verify import database test
  • aea4858 test: fix test
  • e5546bf ci: update integration test ci config
  • 3a58f0e ci: codecov with os flag
  • 83040eb ci: update docker command
  • e247d1f ci: update docker command
  • ae2772b ci: update docker command
  • d00cdf3 ci: update docker command
  • 7acded2 test: add filter test

📊 Changes

35 files changed (+731 additions, -139 deletions)

View changed files

📝 .github/workflows/flutter_ci.yaml (+2 -1)
📝 .github/workflows/integration_test.yml (+25 -23)
frontend/appflowy_flutter/assets/test/workspaces/database/v020.afdb (+11 -0)
📝 frontend/appflowy_flutter/assets/translations/en.json (+2 -1)
📝 frontend/appflowy_flutter/integration_test/database_field_test.dart (+0 -1)
frontend/appflowy_flutter/integration_test/database_filter_test.dart (+72 -0)
📝 frontend/appflowy_flutter/integration_test/database_row_page_test.dart (+0 -12)
frontend/appflowy_flutter/integration_test/database_share_test.dart (+215 -0)
📝 frontend/appflowy_flutter/integration_test/runner.dart (+14 -0)
📝 frontend/appflowy_flutter/integration_test/util/base.dart (+14 -12)
📝 frontend/appflowy_flutter/integration_test/util/common_operations.dart (+5 -0)
📝 frontend/appflowy_flutter/integration_test/util/database_test_op.dart (+255 -53)
📝 frontend/appflowy_flutter/lib/main.dart (+4 -1)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/choicechip/checkbox.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/create_filter_list.dart (+3 -3)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cell_builder.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/date_cell/date_cell.dart (+36 -11)
📝 frontend/appflowy_flutter/lib/startup/startup.dart (+9 -4)
📝 frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/startup/tasks/windows.dart (+4 -1)

...and 15 more files

📄 Description

  1. Import the database from a file and verify that all data is imported correctly
  2. create filter tests by using the template data

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.

🔄 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/2803 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 6/15/2023 **Status:** ✅ Merged **Merged:** 6/15/2023 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `test/import_database_integration` --- ### 📝 Commits (10+) - [`9c5d647`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c5d647e49e036f768e1a4b26f6422131b61c046) feat: support importing database raw data - [`58ee295`](https://github.com/AppFlowy-IO/AppFlowy/commit/58ee295368eec34767b81c49684104bb269c6a75) feat: verify import database test - [`aea4858`](https://github.com/AppFlowy-IO/AppFlowy/commit/aea485891c4724cd592ca5f18b63bf535216989d) test: fix test - [`e5546bf`](https://github.com/AppFlowy-IO/AppFlowy/commit/e5546bf842fd3db67b8d98df2b8fbc16fb6b54dd) ci: update integration test ci config - [`3a58f0e`](https://github.com/AppFlowy-IO/AppFlowy/commit/3a58f0e6c2ee1cc70e830dffc2054b4da8fb758c) ci: codecov with os flag - [`83040eb`](https://github.com/AppFlowy-IO/AppFlowy/commit/83040eb4c58b6f8d7ad2ad1d2647102144c00a1c) ci: update docker command - [`e247d1f`](https://github.com/AppFlowy-IO/AppFlowy/commit/e247d1fe198fa1b3d0cdc05534c705bb168352e6) ci: update docker command - [`ae2772b`](https://github.com/AppFlowy-IO/AppFlowy/commit/ae2772b243a716db2d79860f8c01d94226a948e6) ci: update docker command - [`d00cdf3`](https://github.com/AppFlowy-IO/AppFlowy/commit/d00cdf3beb7c08a45c20d048a0b3abd6694e51cc) ci: update docker command - [`7acded2`](https://github.com/AppFlowy-IO/AppFlowy/commit/7acded277fe2c0d71b9ea2ce72efe8b1e76ee61e) test: add filter test ### 📊 Changes **35 files changed** (+731 additions, -139 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/flutter_ci.yaml` (+2 -1) 📝 `.github/workflows/integration_test.yml` (+25 -23) ➕ `frontend/appflowy_flutter/assets/test/workspaces/database/v020.afdb` (+11 -0) 📝 `frontend/appflowy_flutter/assets/translations/en.json` (+2 -1) 📝 `frontend/appflowy_flutter/integration_test/database_field_test.dart` (+0 -1) ➕ `frontend/appflowy_flutter/integration_test/database_filter_test.dart` (+72 -0) 📝 `frontend/appflowy_flutter/integration_test/database_row_page_test.dart` (+0 -12) ➕ `frontend/appflowy_flutter/integration_test/database_share_test.dart` (+215 -0) 📝 `frontend/appflowy_flutter/integration_test/runner.dart` (+14 -0) 📝 `frontend/appflowy_flutter/integration_test/util/base.dart` (+14 -12) 📝 `frontend/appflowy_flutter/integration_test/util/common_operations.dart` (+5 -0) 📝 `frontend/appflowy_flutter/integration_test/util/database_test_op.dart` (+255 -53) 📝 `frontend/appflowy_flutter/lib/main.dart` (+4 -1) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/choicechip/checkbox.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/grid/presentation/widgets/filter/create_filter_list.dart` (+3 -3) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cell_builder.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/plugins/database_view/widgets/row/cells/date_cell/date_cell.dart` (+36 -11) 📝 `frontend/appflowy_flutter/lib/startup/startup.dart` (+9 -4) 📝 `frontend/appflowy_flutter/lib/startup/tasks/rust_sdk.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/startup/tasks/windows.dart` (+4 -1) _...and 15 more files_ </details> ### 📄 Description 1. Import the database from a file and verify that all data is imported correctly 2. create filter tests by using the template data #### PR Checklist - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:18:42 +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#5429
No description provided.