Skip to main content
Glama
deleonio
by deleonio
playwright.config.ts1.25 kB
import { devices, expect } from '@playwright/test'; import { createConfig, matchers } from '@stencil/playwright'; expect.extend(matchers); const TEST_PORT = '3333'; const TEST_URL = `http://localhost:${TEST_PORT}`; /* See https://playwright.dev/docs/test-configuration */ export default createConfig({ testMatch: /.*\.e2e\.ts$/, fullyParallel: true, forbidOnly: !!process.env.CI, retries: process.env.CI ? 2 : 0, workers: process.env.CI ? 1 : undefined, reporter: [['html', { open: 'never' }]], projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, // { // name: 'firefox', // use: { ...devices['Desktop Firefox'] }, // }, // { // name: 'webkit', // use: { ...devices['Desktop Safari'] }, // }, ], use: { baseURL: TEST_URL, timezoneId: 'Europe/Berlin', screenshot: 'only-on-failure', trace: 'retain-on-failure', }, webServer: { url: TEST_URL, reuseExistingServer: false, /* The builtin Stencil server sometimes fails to serve some assets which leads to intermittent test failures. Use a more stable server (without watcher) for CI: */ ...(process.env.CI ? { command: `stencil build --dev && mv dist/kolibri dist/build && npx serve dist -p ${TEST_PORT} -L` } : {}), }, });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'

If you have feedback or need assistance with the MCP directory API, please join our Discord server