Skip to content

[Feature] Trace viewer - more highlights, show assertions #8955

@A-ZC-Lau

Description

@A-ZC-Lau

TLDR

  1. There should be more highlights on more actions, i.e. getAttribute
  2. 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

  1. 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")

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions