Browse Source

Playwright: check test API

Jose Olarte III 4 months ago
parent
commit
11a3e981a6
  1. 8
      test-playwright/00-confirm-test-api.spec.ts
  2. 0
      test-playwright/01-check-activity-feed.spec.ts
  3. 0
      test-playwright/02-check-discover-results.spec.ts

8
test-playwright/00-confirm-test-api.spec.ts

@ -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');
});

0
test-playwright/00-check-activity-feed.spec.ts → test-playwright/01-check-activity-feed.spec.ts

0
test-playwright/01-check-discover-results.spec.ts → test-playwright/02-check-discover-results.spec.ts

Loading…
Cancel
Save