Skip to content

Tests: Make tests not trigger Migrate 4.0.0-beta.1 warnings #2364

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgol
Copy link
Member

@mgol mgol commented Aug 11, 2025

Changes:

  • Checkboxradio: Change .attr( "checked", true ) to `.attr( "checked", "checked" )
  • Selectmenu: Disable the boolean-attributes patch for one assertion where it's impossible to avoid

@mgol mgol added this to the 1.14.2 milestone Aug 11, 2025
@mgol mgol requested review from fnagel and timmywil August 11, 2025 22:09
@mgol mgol self-assigned this Aug 11, 2025
Changes:
* Checkboxradio: Change `.attr( "checked", true )` to
  `.attr( "checked", "checked" )
* Selectmenu: Disable the `boolean-attributes` patch for one assertion where
  it's impossible to avoid
@mgol mgol force-pushed the migrate-4-tests branch from eb3167f to ac886c1 Compare August 11, 2025 22:14
Copy link
Member

@fnagel fnagel left a comment

Choose a reason for hiding this comment

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

+1 by reading, but a small typo needs to be fixed


// Migrate 4.x warns about reading boolean attributes when their
// value is not their lowercase name - but that's what happens
// wheh setting the `disabled` property to `true` first; the attribute
Copy link
Member

Choose a reason for hiding this comment

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

Typo: "wheh" instead of "when"

Copy link
Member

@timmywil timmywil left a comment

Choose a reason for hiding this comment

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

LGTM, pending @fnagel's comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants