Scaffold playwright tests #13
Annotations
4 errors and 1 notice
Run E2E tests:
tests/e2e/utils.js#L39
1) [chromium] βΊ drawer.spec.js:24:1 βΊ should open and close successfully βββββββββββββββββββββββββ
TimeoutError: page.waitForSelector: Timeout 10000ms exceeded.
Call log:
- waiting for locator('#wpadminbar') to be visible
at ../utils.js:39
37 | await page.fill(selectors.loginPassword, 'password');
38 | await page.click(selectors.submitButton);
> 39 | await page.waitForSelector('#wpadminbar'); // Confirm login by waiting for the admin bar
| ^
40 | }
41 |
42 | /**
at loginToWordPressAdmin (/home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/utils.js:39:14)
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/drawer.spec.js:21:3
|
Run E2E tests:
tests/e2e/specs/drawer.spec.js#L25
1) [chromium] βΊ drawer.spec.js:24:1 βΊ should open and close successfully βββββββββββββββββββββββββ
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.EditorDrawerButton')
23 |
24 | test('should open and close successfully', async ({ page }) => {
> 25 | await page.click(selectors.editorDrawerButton);
| ^
26 | await expect(page.locator(selectors.graphiqlContainer)).toBeVisible();
27 | await page.click(selectors.editorDrawerCloseButton);
28 | await expect(page.locator(selectors.graphiqlContainer)).not.toBeVisible();
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/drawer.spec.js:25:14
|
Run E2E tests:
tests/e2e/specs/drawer.spec.js#L25
1) [chromium] βΊ drawer.spec.js:24:1 βΊ should open and close successfully βββββββββββββββββββββββββ
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('.EditorDrawerButton')
23 |
24 | test('should open and close successfully', async ({ page }) => {
> 25 | await page.click(selectors.editorDrawerButton);
| ^
26 | await expect(page.locator(selectors.graphiqlContainer)).toBeVisible();
27 | await page.click(selectors.editorDrawerCloseButton);
28 | await expect(page.locator(selectors.graphiqlContainer)).not.toBeVisible();
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/drawer.spec.js:25:14
|
Run E2E tests
Process completed with exit code 1.
|
Run E2E tests
1 failed
[chromium] βΊ drawer.spec.js:24:1 βΊ should open and close successfully ββββββββββββββββββββββββββ
|
The logs for this run have expired and are no longer available.
Loading