Move UI tests into the Piwik repository, the screenshot testing lib into another repository · Issue #6947 · matomo-org/matomo · GitHub
Skip to content

Move UI tests into the Piwik repository, the screenshot testing lib into another repository #6947

Closed
@tsteur

Description

We should actually move the specs of the UI tests into this Piwik repository. Otherwise we'd always have to create a branch of the UI-test repository when we are working in a branch in Piwik itself and merge later. Also in general we do want to have the test definitions in the Piwik repository similar to JS / PHP tests.

On the contrary the UI test library is in the Piwik repository and could be moved from tests/lib/screenshot-testing into its own repository (or existing UI test repo). Ideally the expected screenshots itself would be in Piwik as well but I presume they are not there to keep the repo size smaller? I would be ok with that but might light to failures when expected screenshots and the specs are separated.

Currently it is the other way around, the lib is in Piwik (which barely changes) and the test definitions are in the UI test repo (which often changes). Goal would be to have specs in Piwik, the lib in a separate repository. I was thinking about this already for a while but I didn't really mind until I got annoyed by not being really able to write the new UI tests in a branch of Piwik

Metadata

Assignees

Labels

TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.c: PlatformFor Matomo platform changes that aren't impacting any of our APIs but improve the core itself.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions