Skip to content

fix(workbench): test_launch_positron skips (.positron-console not found) though Positron is installed #477

Description

@samcofer

VIP version

0.54

Affected area

Workbench tests

What happened?

test_ide_launch.py::test_launch_positron[chromium] skipped with:

Positron console element not found within timeout — selector may have changed or Positron may not be fully available (Locator.wait_for: Timeout 30000ms exceeded.
Call log:
  - waiting for locator(".positron-console") to be visible
)

Positron is installed and reachable on this deployment — test_ide_extensions.py::test_positron_extensions[chromium] PASSED in the same run — so the launch gate is producing a false negative rather than a genuine "not installed" result.

What did you expect to happen?

test_launch_positron should detect the launched Positron session and run (or fail with an accurate reason), not skip claiming Positron may not be available.

Steps to reproduce

vip verify --workbench-url https://pwb.demo.soleng.posit.it --interactive-auth

Notes

Likely the same .positron-console-visibility launch gate flagged in #390 — the console element is hidden when the Terminal tab is active even though Positron loaded successfully. A more resilient gate (e.g. the Console tab a.action-label[aria-label="Console"]) would avoid the spurious skip. Ref #390.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions