first commit
This commit is contained in:
13
tests/e2e/features/mcp-auth-config/mcp-auth-config.spec.ts
Normal file
13
tests/e2e/features/mcp-auth-config/mcp-auth-config.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { expect, test } from '../../core/fixtures/base.fixture'
|
||||
|
||||
// MCP Auth Config routes to @enterprise components not present in OSS.
|
||||
// Tests only verify URL routing; do not add UI assertions for enterprise-only content.
|
||||
test.describe('MCP Auth Config', () => {
|
||||
test.beforeEach(async ({ mcpAuthConfigPage }) => {
|
||||
await mcpAuthConfigPage.goto()
|
||||
})
|
||||
|
||||
test('should load MCP auth config page', async ({ mcpAuthConfigPage }) => {
|
||||
await expect(mcpAuthConfigPage.page).toHaveURL(/mcp-auth-config/)
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Page } from '@playwright/test'
|
||||
import { BasePage } from '../../../core/pages/base.page'
|
||||
import { waitForNetworkIdle } from '../../../core/utils/test-helpers'
|
||||
|
||||
export class MCPAuthConfigPage extends BasePage {
|
||||
constructor(page: Page) {
|
||||
super(page)
|
||||
}
|
||||
|
||||
async goto(): Promise<void> {
|
||||
await this.page.goto('/workspace/mcp-auth-config')
|
||||
await waitForNetworkIdle(this.page)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user