add playwright for e2e testing (#873)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-10-07 17:07:57 +02:00
1 parent c62e1a0eeb
commit a9ee2ef9ae
10 files changed
+777 -54

No files matched your search

+11 -1
View File
@@ -82,8 +82,9 @@ Here is what you need to be able to run Cal.
You will also need Google API credentials. You can get this from the [Google API Console](https://console.cloud.google.com/apis/dashboard). More details on this can be found below under the [Obtaining the Google API Credentials section](#Obtaining-the-Google-API-Credentials).
### Development Setup
## Development
### Setup
#### Quick start with `yarn dx`
> - **Requires Docker to be installed**
@@ -158,6 +159,15 @@ yarn dx
10. Open a browser to [http://localhost:3000](http://localhost:3000) and login with your just created, first user.
11. Set a 32 character random string in your .env file for the CALENDSO_ENCRYPTION_KEY.
#### E2E-Testing
```bash
# In first terminal
yarn dev
# In second terminal
yarn test-playwright
```
### Upgrading from earlier versions
1. Pull the current version: