fix: modify experimental features to app-level (#6823)

This commit is contained in:
Akumatus
2024-05-08 12:21:02 +08:00
committed by GitHub
parent e85548b393
commit 4a032eb260
15 changed files with 94 additions and 49 deletions

View File

@@ -24,6 +24,15 @@ export async function openAboutPanel(page: Page) {
await page.getByTestId('about-panel-trigger').click();
}
export async function openExperimentalFeaturesPanel(page: Page) {
await page.getByTestId('experimental-features-trigger').click();
}
export async function confirmExperimentalPrompt(page: Page) {
await page.getByTestId('experimental-prompt-disclaimer').click();
await page.getByTestId('experimental-confirm-button').click();
}
export async function openWorkspaceSettingPanel(
page: Page,
workspaceName: string