mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
11 lines
470 B
TypeScript
11 lines
470 B
TypeScript
import { test, expect, type Page } from '@playwright/test';
|
|
|
|
export function dismissNewConsolePromotion(page: Page) {
|
|
return test.step('dismiss new Console promotion after onboarding', async () => {
|
|
const dialog = page.getByRole('dialog', { name: 'The new Appwrite Console' });
|
|
await expect(dialog).toBeVisible();
|
|
await dialog.getByRole('button', { name: 'Stay here for now' }).click();
|
|
await expect(dialog).toHaveCount(0);
|
|
});
|
|
}
|