Summary: | [DOCS] Automated screenshots using Cypress.io testing framework | ||
---|---|---|---|
Product: | Koha | Reporter: | David Nind <david> |
Component: | Documentation | Assignee: | David Nind <david> |
Status: | RESOLVED MOVED | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P4 | CC: | aude.charillon, caroline.cyr-la-rose, jonathan.druart, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://codeberg.org/davidnind/koha-automated-screenshots | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
David Nind
2021-12-16 15:37:14 UTC
I've added a URL for a Git repository and work I had done some time ago. Need to refresh the tooling and see if any other options are available. See also this information on the Wiki: https://wiki.koha-community.org/wiki/Documentation_Automated_Screencapture I've been experimenting with using Cypress.io to generate screenshots - it seems to work OK. It uses Node.js and the Cypress.io testing framework library. See the repository https://codeberg.org/davidnind/koha-automated-screenshots Just some basic examples for the moment, more to add to more comprehensively test and generate a wider range of screenshots. > cy.title().should("eq", "Koha staff interface")
You should not write such tests, it will fail if the interface is translated ;)
|