feat: register activity bar panel API #304
Annotations
10 errors and 1 notice
[chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute:
tests/e2e/specs/environment.spec.js#L23
1) [chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
21 |
22 | // Assert that the defer attribute is present
> 23 | expect( hasDeferAttribute ).toBe( true );
| ^
24 | } );
25 |
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/environment.spec.js:23:30
|
[chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute:
tests/e2e/specs/environment.spec.js#L23
1) [chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
21 |
22 | // Assert that the defer attribute is present
> 23 | expect( hasDeferAttribute ).toBe( true );
| ^
24 | } );
25 |
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/environment.spec.js:23:30
|
[chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute:
tests/e2e/specs/environment.spec.js#L23
1) [chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
21 |
22 | // Assert that the defer attribute is present
> 23 | expect( hasDeferAttribute ).toBe( true );
| ^
24 | } );
25 |
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/environment.spec.js:23:30
|
[chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer:
tests/e2e/specs/query-composer.spec.js#L34
2) [chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
32 |
33 | // open query composer and check if it is visible
> 34 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
35 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
36 |
37 | // close query composer and check if it is hidden
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:34:14
|
[chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer:
tests/e2e/specs/query-composer.spec.js#L34
2) [chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
32 |
33 | // open query composer and check if it is visible
> 34 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
35 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
36 |
37 | // close query composer and check if it is hidden
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:34:14
|
[chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer:
tests/e2e/specs/query-composer.spec.js#L34
2) [chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
32 |
33 | // open query composer and check if it is visible
> 34 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
35 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
36 |
37 | // close query composer and check if it is hidden
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:34:14
|
[chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor:
tests/e2e/specs/query-composer.spec.js#L17
3) [chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
15 | await expect( page.locator( '.graphiql-container' ) ).toBeHidden();
16 | await openDrawer( page );
> 17 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
18 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
19 | }
20 |
at navigateToGraphiQLAndOpenQueryExplorer (/home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:17:13)
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:45:3
|
[chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor:
tests/e2e/specs/query-composer.spec.js#L17
3) [chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
15 | await expect( page.locator( '.graphiql-container' ) ).toBeHidden();
16 | await openDrawer( page );
> 17 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
18 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
19 | }
20 |
at navigateToGraphiQLAndOpenQueryExplorer (/home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:17:13)
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:45:3
|
[chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor:
tests/e2e/specs/query-composer.spec.js#L17
3) [chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
15 | await expect( page.locator( '.graphiql-container' ) ).toBeHidden();
16 | await openDrawer( page );
> 17 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
18 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
19 | }
20 |
at navigateToGraphiQLAndOpenQueryExplorer (/home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:17:13)
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:45:3
|
[chromium] βΊ query-composer.spec.js:62:6 βΊ GraphiQL Query Composer βΊ Selecting a field in the explorer adds that field to the query:
tests/e2e/specs/query-composer.spec.js#L17
4) [chromium] βΊ query-composer.spec.js:62:6 βΊ GraphiQL Query Composer βΊ Selecting a field in the explorer adds that field to the query
TimeoutError: page.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[aria-label="Show GraphiQL Explorer"]')
15 | await expect( page.locator( '.graphiql-container' ) ).toBeHidden();
16 | await openDrawer( page );
> 17 | await page.click( '[aria-label="Show GraphiQL Explorer"]' );
| ^
18 | await expect( page.locator( '.docExplorerWrap' ) ).toBeVisible();
19 | }
20 |
at navigateToGraphiQLAndOpenQueryExplorer (/home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:17:13)
at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/query-composer.spec.js:65:3
|
π Playwright Run Summary
7 failed
[chromium] βΊ environment.spec.js:8:5 βΊ expect the enqueued wpgraphql-ide script to have the defer attribute
[chromium] βΊ query-composer.spec.js:22:6 βΊ GraphiQL Query Composer βΊ Clicking the Query Composer button opens and closes the Query Composer
[chromium] βΊ query-composer.spec.js:42:6 βΊ GraphiQL Query Composer βΊ Changing the name of an operation in the explorer updates the query editor
[chromium] βΊ query-composer.spec.js:62:6 βΊ GraphiQL Query Composer βΊ Selecting a field in the explorer adds that field to the query
[chromium] βΊ query-composer.spec.js:83:6 βΊ GraphiQL Query Composer βΊ Selecting a field in the explorer that has arguments and filling in arguments updates the query
[chromium] βΊ query-composer.spec.js:114:6 βΊ GraphiQL Query Composer βΊ Deleting a query from the explorer removes it from the document
[chromium] βΊ query-composer.spec.js:143:6 βΊ GraphiQL Query Composer βΊ Copying a query from the explorer adds a copy to the document
11 skipped
30 passed (6.2m)
|