mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #2901] [Bug] Integration tests are broken on Windows #1272
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @a-wallen on GitHub (Jun 25, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/2901
Bug Description
Some integration tests on Windows have been broken since I started work here, but I needed help figuring out why. While I was working on adding custom fonts to AppFlowy, I realized that there was a problem with the following that I think causes the issue
How to Reproduce
Any integration test that depends on
TestFolderseems to be affected.Expected Behavior
Tests pass on macOS and linux because the platform file separator is
/and not\Operating System
Windows
AppFlowy Version(s)
main
Screenshots
No response
Additional Context
No response
@a-wallen commented on GitHub (Jun 25, 2023):
I just checked whether the platform path separator was the issue, and it turns out that the tests fail because the process cannot delete the test location because the application is still running during the teardown phase and has the test location open.
@a-wallen commented on GitHub (Jun 25, 2023):
AppFlowy.exe can't be terminated to release the file handles because the way that some tests are written require the application to be open.