Skip to content

No more data-qa-focused? #707

Description

@ettdro

Hi all!

I recently noticed Playwright tests were failing in my app because we were using data-qa-focus HTML attribute to handle actions in the current focused question. Was this recently removed? If so, is there a better way to access the currently focused question, options and next button?

I've been searching and the way I found was using

frame.locator('fieldset[style*="transform: translateY(0%)"]')

or

frame.locator('fieldset[style*="opacity: 1"]')

which is not reliable at all.

Thanks for your answers

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    newFlag for new issues before someone repliesnextquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions