Skip to main content
Glama
Southclaws

Storyden

by Southclaws
logout.spec.ts867 B
import { expect, test } from "@playwright/test"; test.describe("Logout", () => { test("should logout successfully", async ({ page }) => { const timestamp = Date.now(); const username = `testuser${timestamp}`; const password = "TestPassword123!"; await page.goto("/register"); await page.getByRole("textbox", { name: "username" }).fill(username); await page.getByRole("textbox", { name: "password" }).fill(password); await page.getByRole("button", { name: "Register" }).click(); await expect(page).toHaveURL("/", { timeout: 10000 }); await page.getByRole("button", { name: "Account menu" }).click(); await page.getByRole("link", { name: "Logout" }).click(); await expect(page.getByRole("link", { name: "Register" })).toBeVisible(); await expect(page.getByRole("link", { name: "Login" })).toBeVisible(); }); });

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/Southclaws/storyden'

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