Skip to main content
Glama
deleonio
by deleonio
date-in-form.spec.ts895 B
import { expect, test } from '@playwright/test'; test.describe('date-in-form', () => { test.beforeEach(async ({ page }) => { await page.goto('/#/scenarios/date-in-form'); }); test('Enter on date icon', async ({ page }) => { const errorLogs: string[] = []; page.on('console', (msg) => { if (msg.type() === 'error') { errorLogs.push(msg.text()); } }); const kolInputDate = page.locator('.kol-input-date .kol-input'); await expect(kolInputDate).toHaveCount(1); await kolInputDate.focus(); await page.keyboard.press('Enter'); await page.waitForTimeout(500); await expect(errorLogs).toHaveLength(1); await kolInputDate.focus(); await page.keyboard.press('Tab'); await page.keyboard.press('Tab'); await page.keyboard.press('Tab'); await page.keyboard.press('Enter'); await page.waitForTimeout(500); await expect(errorLogs).toHaveLength(1); }); });

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