posit-dev / posit-dev/positron
Automated test for `browseURL` in Workbench
Open
Nobody has claimed this yet.
area: workbench
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 183
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
Once #10893 is fixed, it'd be a good candidate for test automation.
I think what's happening here is that, if you have a real HTML file at some path like
"workspaces/quarto_basic/quarto_basic.html", then:
- on desktop,
browseURL("workspaces/quarto_basic/quarto_basic.html")correctly opens up the HTML file in your default app (which is almost certainly a browser) ✅- on Workbench,
browseURL("workspaces/quarto_basic/quarto_basic.html")does nothing 😩
Originally posted by @juliasilge in #10893
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the behavior and proposed fix in #10893, then investigate the Workbench entry point for browseURL. Add an automated regression test showing that browseURL opens a real HTML file in Workbench, and verify the test passes once #10893 is fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100