Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2025-01-08 11:55:42 +01:00
15 Zeilen
475 B
TypeScript
15 Zeilen
475 B
TypeScript
import { test, type FullConfig } from '@playwright/test';
|
|
|
|
const { execSync } = require('node:child_process');
|
|
const utils = require('../../global-utils');
|
|
|
|
utils.loadEnv();
|
|
|
|
test('Keycloak teardown', async () => {
|
|
if( process.env.PW_KEEP_SERVICE_RUNNNING === "true" ) {
|
|
console.log("Keep Keycloak running");
|
|
} else {
|
|
console.log("Keycloak stopping");
|
|
execSync(`docker compose --profile keycloak --env-file test.env stop Keycloak`);
|
|
}
|
|
});
|