Skip to content

update ui tests#1444

Merged
giokur merged 1 commit into
mainfrom
test/update-ui-tests
Jul 14, 2026
Merged

update ui tests#1444
giokur merged 1 commit into
mainfrom
test/update-ui-tests

Conversation

@giokur

@giokur giokur commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Description

Improvements

Summary by CodeRabbit

  • New Features
    • Updated authentication flow coverage for the new Login tab and inline authentication-method selection.
    • Added navigation support for Customers, Worktime, Knowledge Base, and Help Center.
  • Bug Fixes
    • Improved reliability when opening device details and remote desktop links with query parameters.
    • Enhanced login handling for dynamically remounted forms.
  • Tests
    • UI tests now run with a visible browser for easier observation and debugging.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

UI navigation and authentication

Layer / File(s) Summary
Authentication entry and provider flow
openframe-test-service-core/.../pages/AuthEntryPage.java, openframe-test-service-core/.../pages/AuthMethodPage.java
Auth selectors and actions now support the Login tab, remounted email forms, inline provider selection, and updated SSO controls.
Device detail navigation resilience
openframe-test-service-core/.../pages/DeviceDetailsPage.java, openframe-test-service-core/.../pages/DevicesPage.java
Device and remote-desktop URL matching now supports query parameters, filtered device navigation, and retry handling for missed URL transitions.
Sidebar route coverage
openframe-test-service-core/.../pages/NavigationSidebar.java
Sidebar accessors and navigation actions now cover Customers, Worktime, Knowledge Base, and Help Center.
UI flow and execution wiring
openframe-test-service-core/.../pages/SsoLoginPage.java, openframe-test-service-core/.../flow/UILoginFlow.java, openframe-test-service-core/.../tests/ui/BaseUITest.java
SSO redirect documentation and login sequencing were updated, and Chromium UI tests now launch in headed mode.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant UILoginFlow
  participant AuthEntryPage
  participant AuthMethodPage
  participant SsoLoginPage
  UILoginFlow->>AuthEntryPage: navigate and switchToLogin
  AuthEntryPage->>AuthEntryPage: enter email and click Continue
  AuthEntryPage->>AuthMethodPage: show auth-method picker
  AuthMethodPage->>SsoLoginPage: click OpenFrame SSO
  SsoLoginPage-->>UILoginFlow: authenticate and redirect to dashboard
Loading

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title is broadly related to the change set, but it is too generic to convey the main updates. Use a more specific title that mentions the main UI test flow or page-object updates, such as auth/login or navigation sidebar changes.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch test/update-ui-tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@giokur giokur enabled auto-merge (squash) July 14, 2026 16:19

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@openframe-test-service-core/src/main/java/com/openframe/test/tests/ui/BaseUITest.java`:
- Line 49: Update the BrowserType launch configuration in BaseUITest to use
headless execution by default, replacing the hardcoded headed setting with
setHeadless(true). Preserve the existing browser launch flow and avoid
introducing additional configuration.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 817be1a3-e363-4469-8904-47032e5a2535

📥 Commits

Reviewing files that changed from the base of the PR and between 1846d1c and 1192cbd.

📒 Files selected for processing (8)
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/AuthEntryPage.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/AuthMethodPage.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/DeviceDetailsPage.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/DevicesPage.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/NavigationSidebar.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/SsoLoginPage.java
  • openframe-test-service-core/src/main/java/com/openframe/test/pages/flow/UILoginFlow.java
  • openframe-test-service-core/src/main/java/com/openframe/test/tests/ui/BaseUITest.java

@giokur giokur merged commit cfd48fc into main Jul 14, 2026
7 checks passed
@giokur giokur deleted the test/update-ui-tests branch July 14, 2026 17:04
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