[Test] Add an RStudio Git-pane commit/push scenario, validated against live Workbench

Open
#379 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
58/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python, r
Domain
testing-qa

Research direction

Start with the terminal-based Git scenarios from PR #363, the dropped RStudioGitPane page object, and the rstudio_eval entry point. Validate the RStudio Git-pane selectors against the referenced live Workbench, set the working directory in-session, and finish when the GUI commit/push scenario runs successfully.

Written by the indexing model from the issue text.

Description

team: workbench

Context

PR #363 (Git operations from Workbench sessions, closes #306) originally included a "Commit and push using the RStudio Git pane" scenario plus a RStudioGitPane page object. It was dropped before merge because:

  1. The selectors in RStudioGitPane were never validated against a live Workbench instance (the code carried a TODO note to that effect).
  2. The working-directory setup used Rscript -e 'setwd(...)' run in the terminal, which spawns a separate R process and does not change the already-running RStudio session's working directory — so the Git pane would never discover the cloned repo.

The terminal-based Git scenarios (RStudio/VSCode/Positron clone + branch/commit/push) shipped in #363 and work.

What's needed

  • Re-add the RStudio Git-pane GUI scenario, with selectors verified against a live Workbench (e.g. ganso01-staging).
  • Set the session working directory via rstudio_eval(page, 'setwd(...)') (in-session), not a terminal Rscript subprocess.
  • Re-introduce a validated RStudioGitPane page object.

References

  • PR #363
  • Original feature issue #306
Dominant language
Python
Stars
9
Forks
1
Avg merge
15h 31m
Merged PRs (30d)
44

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from posit-dev/vip

All issues in posit-dev/vip

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.