Skip to content

UI unit tests #4189

@diosmosis

Description

@diosmosis

We should increase our JavaScript code coverage by adding unit tests for individual UI controls. To do this, we need to:

  • Allow JavaScript to be injected before taking screenshots.
  • Create unit tests of all individual UI widgets (eg, site selector, datatable) that compare screenshots after triggering certain events.

Metadata

Metadata

Assignees

Labels

EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.c: Tests & QAFor issues related to automated tests or making it easier to QA & test issues.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions