mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
16 lines
532 B
TypeScript
16 lines
532 B
TypeScript
|
import { test } from '../../playwright/test';
|
||
|
|
||
|
test('Preferences through click', async ({ page }) => {
|
||
|
await page.locator('[data-testid="settings-button"]').click();
|
||
|
await page.locator('text=Insomnia Preferences').first().click();
|
||
|
});
|
||
|
|
||
|
test('Preferences through keyboard shortcut', async ({ page }) => {
|
||
|
if (process.platform === 'darwin') {
|
||
|
await page.locator('.app').press('Meta+,');
|
||
|
} else {
|
||
|
await page.locator('.app').press('Control+,');
|
||
|
}
|
||
|
await page.locator('text=Insomnia Preferences').first().click();
|
||
|
});
|