mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 16:09:59 -04:00
added e2e tests (#298)
- added e2e tests for - banner - history - intro - language - link - added e2e workflow - added cypress badge to README
This commit is contained in:
parent
1a5d4f6db8
commit
f0fe7f5ac2
26 changed files with 1332 additions and 77 deletions
13
README.md
13
README.md
|
@ -1,5 +1,7 @@
|
|||
# CodiMD - React Client
|
||||
|
||||

|
||||
|
||||
This is the new, improved and better looking frontend for CodiMD 2.0.
|
||||
Our goal is to recreate the current frontend in react and to improve it.
|
||||
|
||||
|
@ -18,6 +20,17 @@ This should run the app in the development mode and open [http://localhost:3000]
|
|||
The page will reload if you make edits.
|
||||
You will also see any lint errors in the console.
|
||||
|
||||
### Tests
|
||||
|
||||
#### End2End
|
||||
|
||||
We use [cypress](https://cypress.io) for e2e tests.
|
||||
|
||||
1. Run the frontend with `yarn start`
|
||||
2. RUn `yarn cy:open` to open the cypress test loader
|
||||
3. Choose your browser and test
|
||||
4. Let the tests run
|
||||
|
||||
## Production mode
|
||||
|
||||
1. Clone this repo (e.g. `git clone https://github.com/codimd/react-client.git codimd-react-client`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue