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 web app GUI without mock #9368

Open
mmmarcos opened this issue Jan 17, 2025 · 3 comments · May be fixed by #9383
Open

Test web app GUI without mock #9368

mmmarcos opened this issue Jan 17, 2025 · 3 comments · May be fixed by #9383
Assignees
Labels
A-Client Area: Parsec desktop application A-Web Area: Web-related issue C-GUI Category: Graphical User Interface issue

Comments

@mmmarcos
Copy link
Contributor

Test the web GUI without mocking

  • list device
  • login
  • invite user / greet
  • workspace create / share
  • file download

How does the mountpoint behaves? are there any errors? should it be disabled?

@mmmarcos mmmarcos added A-Client Area: Parsec desktop application A-Web Area: Web-related issue C-GUI Category: Graphical User Interface issue labels Jan 17, 2025
@Max-7 Max-7 linked a pull request Jan 20, 2025 that will close this issue
4 tasks
@Max-7
Copy link
Contributor

Max-7 commented Jan 21, 2025

Login it and creating a workspace results in the following errors:

Certificate monitor has crashed: DomException { obj: Object { obj: JsValue(InvalidStateError: 
Failed to execute 'objectStore' on 'IDBTransaction': The transaction has finished.
InvalidStateError: Failed to execute 'objectStore' on 'IDBTransaction': The transaction has finished.
@vite-plugin-wasm-pa…c_bindings_web:3278 Workspace 6ce18aa6-55f4-4050-ab17-169a0aff9ce8: 
stopping due to unexpected error: DomException { obj: Object { obj: JsValue(DataError: Failed to execute 'getAll' on 'IDBIndex': The parameter is not a valid key.
DataError: Failed to execute 'getAll' on 'IDBIndex': The parameter is not a valid key.
@vite-plugin-wasm-pa…c_bindings_web:3278 Certificate monitor has crashed: Cannot poll server for new certificates
Workspaces bootstrap monitor has crashed: Cannot bootstrap workspace
@vite-plugin-wasm-pack@libparsec_bindings_web:3278 Workspace 9df3e2c0-4193-490b-aaaf-9c57213696e3: stopping due to unexpected error: NoRealm

@Max-7
Copy link
Contributor

Max-7 commented Jan 21, 2025

  • clientStop results in infinite loop.
  • clientExportRecoveryDevice results in Error when calling clientExportRecoveryDevice: {"error":"Cannot poll server for new certificates","tag":"ClientExportRecoveryDeviceErrorInternal"}
  • workspaceWatchEntryOneshot sometimes returns [undefined, undefined]
  • clientListUsers returns an empty list.
  • claimerGreeterAbortOperation results in Error when calling claimerGreeterAbortOperation: {"error":"Invalid Handle","tag":"ClaimerGreeterAbortOperationErrorInternal"} (web only, works fine on Electron)
  • clientRenameWorkspace results in Error when calling clientRenameWorkspace: {"error":"Cannot ensure workspace is bootstrapped","tag":"ClientRenameWorkspaceErrorInternal"}
  • workspaceGeneratePathAddr results in Error when calling workspaceGeneratePathAddr: {"error":"There is no key available in this realm for encryption","tag":"WorkspaceGeneratePathAddrErrorNoKey"}
  • workspaceHistoryStatEntry results in Error when calling workspaceHistoryStatEntry: {"error":"cannot resolve path","tag":"WorkspaceHistoryStatEntryErrorInternal"}

Not able to test clientShareWorkspace since I cannot list the users. Same with importRecoveryDevice since I cannot export.

No problems with the mountpoint since the GUI is in charge of mounting the workspaces, and we just dont in web mode.

@Max-7
Copy link
Contributor

Max-7 commented Jan 22, 2025

The claim and greet process for a user, done entirely in browser (with two tabs) seems to work without issues, at least in a normal case.

@FirelightFlagboy FirelightFlagboy self-assigned this Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Client Area: Parsec desktop application A-Web Area: Web-related issue C-GUI Category: Graphical User Interface issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants