https://github.com/folio-org/stripes-testing
https://github.com/folio-org/stripes-testing
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/folio-org/stripes-testing
- Owner: folio-org
- License: apache-2.0
- Created: 2018-08-31T13:27:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-12T08:56:38.000Z (about 1 year ago)
- Last Synced: 2025-06-12T09:39:33.958Z (about 1 year ago)
- Language: mIRC Script
- Size: 41.9 MB
- Stars: 20
- Watchers: 28
- Forks: 20
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# stripes-testing
Copyright (C) 2017-2024 The Open Library Foundation
This software is distributed under the terms of the Apache License,
Version 2.0. See the file "[LICENSE](LICENSE)" for more information.
## Introduction
stripes-testing is a toolkit for building integration tests against Stripes
UI modules and platforms. This repository contains:
* `accessibility`: axe helper functions
* `bigtest`: BigTest helper furnctions, compatible with React >= 17
* `cypress`: end-to-end tests
* `interactors`: interactors provide "hooks" into components as rendered in the DOM,
allowing tests written in BigTest, Cypress, etc. to use the interactor's consistent
API regardless of how the component implementation changes.
- [Stripes Component Interactors](doc/interactors.md)
- [Prerequisites](#prerequisites)
## Running
First, install dependencies with npm or yarn.
* To run all Cypress tests at the CLI, run `npx cypress run`.
* To run a specific Cypress test at the CLI, run `npx cypress run --spec ./path/to/spec.cy.js`
* To open the Cypress test-runner in a browser, run `npx cypress open`.
## Prerequisites
- [Node.js](https://nodejs.org/) with an [active LTS version](https://github.com/nodejs/Release#release-schedule)
- [Yarn](https://yarnpkg.com/) JavaScript package manager
## Additional information
See project [UITEST](https://issues.folio.org/browse/UITEST)
at the [FOLIO issue tracker](https://dev.folio.org/guidelines/issue-tracker).
Other FOLIO Developer documentation is at [dev.folio.org](https://dev.folio.org/)