Skip to content

Experimental "Fast" Visibility #33044

@cacieprins

Description

@cacieprins

What would you like?

I would like to use a config key, experimentalFastVisibility, to enable the faster approach to visibility.

Acceptance Criteria:

  • This config option is available at the root of the Configuration
  • This config option can be enabled on a case-by-case basis in describe, context, and it blocks
  • This config option can be enabled on a case-by-case basis in before/after hooks
    When enabled:
  • The jquery :visible and :hidden selectors will use the optimized approach
  • Actionability checks will use the faster algorithm
  • Visible/Hidden assertions will use the faster algorithm

Why is this needed?

The "fast" algorithm has some functional differences in its semantics, so being able to enable/disable on a case-by-case basis is important.

Other

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions