Skip to content

Optimize UI test authentication to avoid repeated login #839

@emmaaroche

Description

@emmaaroche

Description

Current UI login implementation authenticates at function scope, meaning login will run before every test. This can be expensive and isn't scalable.

Solution

  1. Login once at session/module scope
  2. Save browser state (cookies, storage)
  3. Reuse state in subsequent tests

Metadata

Metadata

Assignees

Labels

enhancementImprovement to existing test

Type

No type

Projects

Status

✅ Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions