Skip to content

Tickets and scripts for the opencloud quality assurance

License

Notifications You must be signed in to change notification settings

opencloud-eu/qa

Repository files navigation

OpenCloud CalDAV Integration Tests

Playwright API integration tests for OpenCloud CalDAV (WebDAV extension for calendars) with support for Keycloak authentication and Radicale calendar server.

Overview

This test suite provides comprehensive integration testing for calendar event CRUD operations via the WebDAV protocol, supporting multiple authentication backends:

  • OpenCloud native authentication
  • Keycloak SSO integration
  • Radicale CalDAV server

Quick Start

Prerequisites

  • Node.js and pnpm installed
  • OpenCloud instance running
  • (Optional) Keycloak and Radicale services

Starting OpenCloud

For detailed setup instructions, visit the OpenCloud Compose.

Installation

pnpm install

Configuration

Configure the test suite using environment variables:

Variable Description Default
OC_BASE_URL OpenCloud instance URL https://cloud.opencloud.test
USE_KEYCLOAK Enable Keycloak authentication false
KC_BASE_URL Keycloak instance URL https://keycloak.opencloud.test

Running Tests

With Keycloak + Radicale

USE_KEYCLOAK=true KC_BASE_URL=https://keycloak.opencloud.test pnpm exec playwright test tests/caldav.event.crud.spec.ts --project=api

Without Keycloak (OpenCloud + Radicale)

pnpm exec playwright test tests/caldav.event.crud.spec.ts --project=api

About

Tickets and scripts for the opencloud quality assurance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5