lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Add page title assertions to e2e tests

Open bafonins opened this issue 5 years ago • 0 comments

Summary

We should tests page titles within e2e tests. For more details see: https://github.com/TheThingsNetwork/lorawan-stack/pull/3157

Why do we need this?

This allows catching more regressions when adding new views or editing existing ones.

What is already there? What do you see now?

e2e tests

What is missing? What do you want to see?

Assertions on page titles

How do you propose to implement this?

  1. Debug why cy.title has flaky behavior
  2. Make sure cy.title behaves properly
  3. Add title assertions to all e2e cypress tests

How do you propose to test this?

Once cy.title is added to all e2e tests - CI

Can you do this yourself and submit a Pull Request?

yes

bafonins avatar Nov 16 '20 08:11 bafonins