Skip to content

refactor: use navigateToSessions helper in session-filters spec#837

Open
empiricalrun[bot] wants to merge 1 commit intomainfrom
chat-session_t3BdSUtED8jd
Open

refactor: use navigateToSessions helper in session-filters spec#837
empiricalrun[bot] wants to merge 1 commit intomainfrom
chat-session_t3BdSUtED8jd

Conversation

@empiricalrun
Copy link
Copy Markdown
Contributor

@empiricalrun empiricalrun Bot commented Apr 10, 2026

Summary

session-filters.spec.ts had an inline 4-step navigation sequence that was identical to the existing navigateToSessions helper in tests/pages/sessions.ts, but wasn't importing or using it.

Change

  • Removed the 4 inline navigation steps (goto, expect Lorem Ipsum, click Sessions link, expect URL) from the test
  • Added an import for navigateToSessions from ./pages/sessions
  • Replaced the 4 inline steps with a single await navigateToSessions(page) call

Test Result

The test passed after the refactor: https://reports-r2.empirical.run/test-gen-chat-agent/1775796739694/index.html

PR created from session #114076

Updated at 2026-04-10 04:53:00.041 UTC

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.

0 participants