Rayrun
← Back to Discord Forum

use of data-test in ngFor

Usually when we have to select a locator we make use of data-test. I just have a question, can we make of data-test when we are displaying something by the help of loop? Like ngFor?

This thread is trying to answer question "Can we use 'data-test' attribute when displaying items using 'ngFor' loop in Angular?"

0 replies
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].