Skip to content

Attempt to fix flaky Backlogs feature specs#21934

Merged
myabc merged 3 commits into
devfrom
fix/backlogs-flickering-features
Feb 9, 2026
Merged

Attempt to fix flaky Backlogs feature specs#21934
myabc merged 3 commits into
devfrom
fix/backlogs-flickering-features

Conversation

@myabc
Copy link
Copy Markdown
Contributor

@myabc myabc commented Feb 9, 2026

Ticket

N/A

What are you trying to accomplish?

Fix flaky spec modules/backlogs/spec/features/stories_in_backlog_spec.rb:144 which was failing in https://github.com/opf/openproject/actions/runs/21831004728/job/62989007830

What approach did you choose and why?

  • Moved the “details view” current-path assertion into the shared within_details_view helper and removed a turbo-frame complete wait.
  • Updated Backlogs feature specs to run with the default :js driver (Cuprite) by removing :selenium / explicit Firefox driver metadata.
  • Refactored/renamed Backlogs stories feature scenarios into clearer, separate examples.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@myabc myabc added feature flaky-spec Addresses a Flaky Spec labels Feb 9, 2026
@myabc myabc marked this pull request as ready for review February 9, 2026 19:58
Copilot AI review requested due to automatic review settings February 9, 2026 19:58
@myabc myabc changed the title Attempt to fix flickering feature specs Attempt to fix flickering Backlogs feature specs Feb 9, 2026
@myabc myabc force-pushed the fix/backlogs-flickering-features branch from 4281460 to 1d6647f Compare February 9, 2026 20:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts Backlogs feature specs to reduce flickering/flakiness by changing how the “details view” navigation is synchronized and by switching some specs away from Selenium-driven execution.

Changes:

  • Moved the “details view” current-path assertion into the shared within_details_view helper and removed a turbo-frame complete wait.
  • Updated Backlogs feature specs to run with the default :js driver (Cuprite) by removing :selenium / explicit Firefox driver metadata.
  • Refactored/renamed Backlogs stories feature scenarios into clearer, separate examples.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
modules/backlogs/spec/support/pages/backlogs.rb Removes a flaky turbo-frame readiness wait and centralizes the details-view URL assertion in within_details_view.
modules/backlogs/spec/features/stories_in_backlog_spec.rb Drops :selenium metadata (switching to default :js driver) and restructures scenarios into multiple it blocks.
modules/backlogs/spec/features/backlogs/create_story_spec.rb Drops :selenium and the explicit Firefox driver previously used for a regression-focused run.

Comment thread modules/backlogs/spec/features/backlogs/create_story_spec.rb
@myabc myabc changed the title Attempt to fix flickering Backlogs feature specs Attempt to fix flaky Backlogs feature specs Feb 9, 2026
@myabc myabc merged commit 68c9679 into dev Feb 9, 2026
17 checks passed
@myabc myabc deleted the fix/backlogs-flickering-features branch February 9, 2026 20:28
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature flaky-spec Addresses a Flaky Spec

Development

Successfully merging this pull request may close these issues.

2 participants