Skip to content

feat: register activity bar panel API #304

feat: register activity bar panel API

feat: register activity bar panel API #304

Triggered via pull request June 6, 2024 18:14
Status Failure
Total duration 8m 56s
Artifacts

e2e-tests.yml

on: pull_request
Matrix: e2e-tests
Fit to window
Zoom out
Zoom in

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)