TLDR
- There should be more highlights on more actions, i.e. getAttribute
- Trace viewer should show assertions
It would be nice to have some visual display when getting attributes and making assertions, similarly to Cypress. Currently, the highlighting is limited to certain actions, such as clicking, and there is no information on any assertions (passed or failed).
Highlighting
- Lack of highlighting example
Does highlight
page.locator("button").click()
Does not highlight
page.locator("button").getAttribute("title")
Assertions
Would be nice to assertions as part of the actions tab or just somewhere to have a better understanding of what and where it exactly failed
Cypress
With Cypress's trace viewer, shows what element was located, and then what assertion was also made on it
e.g. cy.get("#username").invoke("attr", "placeholder").should("equal", "please enter your username")
TLDR
It would be nice to have some visual display when getting attributes and making assertions, similarly to Cypress. Currently, the highlighting is limited to certain actions, such as clicking, and there is no information on any assertions (passed or failed).
Highlighting
Does highlight
page.locator("button").click()Does not highlight
page.locator("button").getAttribute("title")Assertions
Would be nice to assertions as part of the actions tab or just somewhere to have a better understanding of what and where it exactly failed
Cypress
With Cypress's trace viewer, shows what element was located, and then what assertion was also made on it
e.g.
cy.get("#username").invoke("attr", "placeholder").should("equal", "please enter your username")