mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
Skip FileExplorer tests in CI
This commit is contained in:
parent
5ccc810999
commit
b7ab650f36
1 changed files with 8 additions and 0 deletions
|
|
@ -11,7 +11,15 @@ import (
|
|||
"github.com/wailsapp/wails/v3/internal/fileexplorer"
|
||||
)
|
||||
|
||||
// Credit: https://stackoverflow.com/a/50631395
|
||||
func skipCI(t *testing.T) {
|
||||
if os.Getenv("CI") != "" {
|
||||
t.Skip("Skipping testing in CI environment")
|
||||
}
|
||||
}
|
||||
|
||||
func TestFileExplorer(t *testing.T) {
|
||||
skipCI(t)
|
||||
// TestFileExplorer verifies that the OpenFileManager function correctly handles:
|
||||
// - Opening files in the native file manager across different platforms
|
||||
// - Selecting files when the selectFile parameter is true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue