Skip to content

e2e: Added Posit AI auth workflow to assistant tests#11760

Open
jonvanausdeln wants to merge 4 commits intomainfrom
jonv-e2e-posit-ai
Open

e2e: Added Posit AI auth workflow to assistant tests#11760
jonvanausdeln wants to merge 4 commits intomainfrom
jonv-e2e-posit-ai

Conversation

@jonvanausdeln
Copy link
Contributor

@jonvanausdeln jonvanausdeln commented Feb 7, 2026

This adds a sign-in test for Posit AI provider in Positron Assistant. This enables other test to use Posit AI as a provider.

  • Add e2e test infrastructure for Posit AI OAuth device code flow authentication
  • Add posit-ai model provider support to the assistant page object with methods to handle OAuth login via a separate browser
  • Add test for Posit AI sign-in and sign-out functionality
  • Add Posit auth domains (login.posit.cloud, login.staging.posit.cloud) to trusted domains to prevent confirmation dialogs during tests

The credentials are pulled from 1Password. For now, they are using mine, but I will update this soon to a test/service account set.

@jmcphers , just checking it's okay to add PositAI login URL to the trusted list.

QA Notes

@:assistant @:win @:web

@jonvanausdeln jonvanausdeln self-assigned this Feb 7, 2026
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:assistant @:win @:web

readme  valid tags

@jonvanausdeln jonvanausdeln marked this pull request as ready for review February 8, 2026 22:14
Copy link
Contributor

@testlabauto testlabauto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants