Skip to main content
Glama
check-render.spec.ts822 B
import { test, expect } from '@playwright/test'; import * as fs from 'fs'; test('Check what is actually rendered', async ({ page }) => { await page.goto('/models'); await page.waitForLoadState('networkidle'); // Get the entire body text const bodyHTML = await page.locator('body').innerHTML(); // Save to file for inspection fs.writeFileSync('test-results/models-page.html', bodyHTML); console.log('HTML saved to test-results/models-page.html'); console.log('Body length:', bodyHTML.length); console.log('Contains "Model Layers":', bodyHTML.includes('Model Layers')); console.log('Contains "Add Layer":', bodyHTML.includes('Add Layer')); console.log('Contains "Loading":', bodyHTML.includes('Loading')); console.log('Contains "Error":', bodyHTML.includes('Error')); });

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/babasida246/ai-mcp-gateway'

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