Skip to content

Cypress tests for vocab-home page tempate (statistics) #1476

@miguelvaara

Description

@miguelvaara

Description of the enhancement

The statistics on the front page of the vocabulary need to be tested. We need to test and check that the values in the Resource counts by type section are not empty or zero. The values in the Term counts by language section may be zeroes, but not blanks. Work has started and progress can be followed here:
https://github.com/NatLibFi/Skosmos/blob/cypress-tests-vocab-home-statistics/cypress/e2e/vocab-home.cy.js

Who are the users that would benefit from the enhancement and how?

All Skosmos 3 users

(Name specific organizations, roles and/or communities if possible, and/or point to relevant discussion elsewhere)

What new functionalities would the enhancement make possible?

Tests contribute to a better presentation of statistics

Why is the enhancement important?

  • Skosmos is coded according to the Test Driven Development principle.
  • Prevents a developer from coding an implementation that does not work

(Why should this be prioritized, instead of spending energy on something else? Who would do the work to make this happen?)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions