Skip to content

more rules to disallow flaky locators like allTextContents #362

@eins78

Description

@eins78

I would like to have more rules to disallow flaky locators like .allTextContents().

As far as I can see there is only a rule for .count(), but the docs have warnings for more "flaky text assertions. See Warnings that mention "avoid flakiness" on the docs: https://playwright.dev/docs/api/class-locator#locator-all-text-contents

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions