Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: Native file Open and Save dialogs on Linux #213763

Closed
2 tasks done
deepak1556 opened this issue May 29, 2024 · 0 comments
Closed
2 tasks done

Test: Native file Open and Save dialogs on Linux #213763

deepak1556 opened this issue May 29, 2024 · 0 comments

Comments

@deepak1556
Copy link
Collaborator

deepak1556 commented May 29, 2024

Refs: #146422

Complexity: 3

Create Issue


This iteration we switched the native file dialog implementation in Electron to use the same component as what Chromium uses for its file dialogs. It helped address a long standing bug of open and save file dialogs appearing behind the application. Although there are no user facing API changes in the new implementation we would like to sanity test some basic bits.

File:

  1. Select File > Open File and cancel the dialog
  2. Select File > Open File and ensure dialog appears in front of the window
  3. Open a file from step 2)
  4. Edit the file and choose File > Save As, ensure the file can be saved

Folder:

  1. Select File > Open Folder and cancel the dialog
  2. Select File > Open Folder and ensure dialog appears in front of the window
  3. In the folder open dialog ensure only folders are allowed to be open and files are inactive

Filters:

  1. Select File > Open Workspace from File
  2. Ensure only files with .code-workspace extension can be opened
  3. Confirm opening a workspace

Filters:

  1. Run Chat: Import Chat...
  2. Confirm file dialog only shows .json files
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants