mirror of
https://github.com/codex-storage/codex-marketplace-ui.git
synced 2025-02-23 21:28:26 +00:00
9 lines
486 B
TypeScript
9 lines
486 B
TypeScript
import test, { expect } from "@playwright/test";
|
|
|
|
test('update the log level', async ({ page }) => {
|
|
await page.goto('/dashboard');
|
|
await page.getByRole('link', { name: 'Settings' }).click();
|
|
await page.getByLabel('Log level').selectOption('TRACE');
|
|
await page.getByRole('main').locator('div').filter({ hasText: 'Log' }).getByRole('button').click();
|
|
await expect(page.locator('span').filter({ hasText: 'success ! The log level has' }).locator('b')).toBeVisible();
|
|
}) |