Playwright: check test API
This commit is contained in:
8
test-playwright/00-confirm-test-api.spec.ts
Normal file
8
test-playwright/00-confirm-test-api.spec.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('Confirm usage of test API', async ({ page }) => {
|
||||
// Load app homepage
|
||||
await page.goto('./account');
|
||||
await page.getByRole('heading', { name: 'Advanced' }).click();
|
||||
await expect(page.getByRole('textbox').nth(1)).toHaveValue('https://test-api.endorser.ch');
|
||||
});
|
||||
Reference in New Issue
Block a user