first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:52:23 +03:00
commit 880f412e2c
2662 changed files with 866266 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
import { Locator, Page } from '@playwright/test'
import { BasePage } from '../../../core/pages/base.page'
import { waitForNetworkIdle } from '../../../core/utils/test-helpers'
export class MCPSettingsPage extends BasePage {
readonly mcpSettingsView: Locator
readonly saveBtn: Locator
readonly maxAgentDepthInput: Locator
readonly toolTimeoutInput: Locator
constructor(page: Page) {
super(page)
this.mcpSettingsView = page.getByTestId('mcp-settings-view')
this.saveBtn = page.getByTestId('mcp-settings-save-btn')
this.maxAgentDepthInput = page.getByTestId('mcp-agent-depth-input').or(page.locator('#mcp-agent-depth'))
this.toolTimeoutInput = page.getByTestId('mcp-tool-timeout-input').or(page.locator('#mcp-tool-execution-timeout'))
}
async goto(): Promise<void> {
await this.page.goto('/workspace/mcp-settings')
await waitForNetworkIdle(this.page)
}
}