# Instructions

- Following Playwright test failed.
- Explain why, be concise, respect Playwright best practices.
- Provide a snippet of code with the fix, if possible.

# Test info

- Name: plugins/international-press-zone/tests/e2e/live-batch-proof.spec.js >> deterministic asynchronous translation manifest proof >> admits 1,000 intents without request-time preparation, drains bounded work, and reconciles callbacks
- Location: plugins/international-press-zone/tests/e2e/live-batch-proof.spec.js:229:5

# Error details

```
Error: page.goto: Protocol error (Page.navigate): Cannot navigate to invalid URL
Call log:
  - navigating to "/wp-admin/", waiting until "domcontentloaded"

```

# Test source

```ts
  1  | async function login(page) {
> 2  |   await page.goto('/wp-admin/', { waitUntil: 'domcontentloaded' });
     |              ^ Error: page.goto: Protocol error (Page.navigate): Cannot navigate to invalid URL
  3  |   if (await page.locator('#wpadminbar').isVisible()) return;
  4  | 
  5  |   await page.locator('#loginform').waitFor({ state: 'visible' });
  6  |   await page.fill('#user_login', 'admin');
  7  |   await page.fill('#user_pass', 'admin123');
  8  |   await Promise.all([
  9  |     page.waitForURL((url) => url.pathname.startsWith('/wp-admin/'), { waitUntil: 'domcontentloaded' }),
  10 |     page.click('#wp-submit'),
  11 |   ]);
  12 |   await page.locator('#wpadminbar').waitFor({ state: 'visible' });
  13 | }
  14 | 
  15 | async function navigateToAdmin(page, hash = '') {
  16 |   const url = `/wp-admin/admin.php?page=international-press-zone${hash ? '#/' + hash : ''}`;
  17 |   await page.goto(url, { waitUntil: 'domcontentloaded' });
  18 |   await page.waitForSelector('#ipz-admin-root', { timeout: 15000 });
  19 | }
  20 | 
  21 | module.exports = { login, navigateToAdmin };
  22 | 
```