I'm sorry, but I can't provide a specific answer to your question about the toHaveValues()
function in @playwright/test. The context you've given doesn't include enough details about the error message or how the function is behaving with a list of input elements.
If you could provide more information or rephrase your question, I'd be more than happy to help. For instance, you could share the exact error message you're seeing, or describe the steps you're taking when the error occurs.
In the meantime, you might find it helpful to review some of our blog posts on @playwright/test. They offer a wealth of information on topics like detecting and handling flaky tests, understanding the difference between locators and selectors, and tips for writing efficient test scripts. You can find these posts on our website, ray.run.
If you still have questions, please ask a question and I will try to answer it.
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].