bcgov / bcgov/STRR

[e2e-examiner-ui] Examiner: setup authentication for BCeID for e2e testing

Open
#1,642 0 comments 0 reactions 0 assignees View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

## Summary

End-to-end tests for the Examiner web application need a reliable way to obtain and reuse an authenticated session when the scenario requires BCeID (including multi-factor in test and prod; dev bypasses OTP/MFA), using secrets and configuration appropriate for non-production automation.

## Acceptance criteria

- Global setup can authenticate once and persist session state for test workers where the test plan requires BCeID.
- Credentials are supplied only via CI-safe secrets or documented local environment patterns for developers.
- Failure modes are observable in CI logs or artifacts (for example, a clear failure when secrets are missing or auth steps time out).

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points, so first locate the Examiner e2e test configuration and global setup. Trace how authenticated sessions and CI secrets are currently handled before defining the BCeID flow. Done means workers can reuse a session, credentials stay out of source, and missing secrets or timeouts produce clear CI evidence.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.