Skip to content

feat: have_turbo_frame .eager and .strict chains (Turbo 8)#39

Merged
eclectic-coding merged 1 commit into
mainfrom
feat/1.6-turbo-frame-eager-strict
Jun 2, 2026
Merged

feat: have_turbo_frame .eager and .strict chains (Turbo 8)#39
eclectic-coding merged 1 commit into
mainfrom
feat/1.6-turbo-frame-eager-strict

Conversation

@eclectic-coding

Copy link
Copy Markdown
Owner

Closes #34.

Summary

Adds two Capybara chains to have_turbo_frame, mirroring the existing .lazy implementation:

  • .eager — asserts loading="eager" (Turbo 8 eager frame loading)
  • .strict — asserts the boolean [strict] attribute (Turbo 8 strict navigation mode)

Both are chainable with all existing constraints (.loaded, .lazy, .with_src, .with_content).

Test plan

  • 314 examples, 0 failures
  • 100% line and branch coverage

🤖 Generated with Claude Code

Closes #34.

Adds two new Capybara chains to have_turbo_frame mirroring the
existing .lazy implementation:
  .eager — asserts loading="eager"
  .strict — asserts the [strict] boolean attribute

Both are Turbo 8 additions for controlling frame loading behaviour.

314 examples, 100% line and branch coverage.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding
eclectic-coding merged commit c1e26f6 into main Jun 2, 2026
11 checks passed
@eclectic-coding
eclectic-coding deleted the feat/1.6-turbo-frame-eager-strict branch June 2, 2026 12:41
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.

feat: have_turbo_frame Capybara .eager and .strict chains

1 participant