Skip to content

feat: register activity bar panel API #303

feat: register activity bar panel API

feat: register activity bar panel API #303

Triggered via pull request June 6, 2024 15:51
Status Failure
Total duration 10m 41s
Artifacts

e2e-tests.yml

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

Annotations

10 errors and 1 notice
[chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L130
1) [chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 128 | await expect( 129 | page.locator( selectors.explorerPanel ) > 130 | ).toBeVisible(); | ^ 131 | } ); 132 | test( 'should be hidden when deactivated', async ( { page } ) => { 133 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:130:6
[chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L130
1) [chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 128 | await expect( 129 | page.locator( selectors.explorerPanel ) > 130 | ).toBeVisible(); | ^ 131 | } ); 132 | test( 'should be hidden when deactivated', async ( { page } ) => { 133 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:130:6
[chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L130
1) [chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 128 | await expect( 129 | page.locator( selectors.explorerPanel ) > 130 | ).toBeVisible(); | ^ 131 | } ); 132 | test( 'should be hidden when deactivated', async ( { page } ) => { 133 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:130:6
[chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated: tests/e2e/specs/activity-bar-plugins.spec.js#L136
2) [chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 134 | await expect( 135 | page.locator( selectors.explorerPanel ) > 136 | ).toBeVisible(); | ^ 137 | // Click the Docs Explorer button 138 | await page.click( selectors.explorerButton ); 139 | // Assert that the Docs Explorer is now hidden at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:136:6
[chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated: tests/e2e/specs/activity-bar-plugins.spec.js#L136
2) [chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 134 | await expect( 135 | page.locator( selectors.explorerPanel ) > 136 | ).toBeVisible(); | ^ 137 | // Click the Docs Explorer button 138 | await page.click( selectors.explorerButton ); 139 | // Assert that the Docs Explorer is now hidden at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:136:6
[chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated: tests/e2e/specs/activity-bar-plugins.spec.js#L136
2) [chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .docExplorerWrap') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .docExplorerWrap') 134 | await expect( 135 | page.locator( selectors.explorerPanel ) > 136 | ).toBeVisible(); | ^ 137 | // Click the Docs Explorer button 138 | await page.click( selectors.explorerButton ); 139 | // Assert that the Docs Explorer is now hidden at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:136:6
[chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L156
3) [chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .wpgraphql-ide-help-panel') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .wpgraphql-ide-help-panel') 154 | test( 'should be visible when activated', async ( { page } ) => { 155 | // Assert that the Docs Explorer is now visible > 156 | await expect( page.locator( selectors.helpPanel ) ).toBeVisible(); | ^ 157 | } ); 158 | test( 'should be hidden when deactivated', async ( { page } ) => { 159 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:156:56
[chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L156
3) [chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .wpgraphql-ide-help-panel') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .wpgraphql-ide-help-panel') 154 | test( 'should be visible when activated', async ( { page } ) => { 155 | // Assert that the Docs Explorer is now visible > 156 | await expect( page.locator( selectors.helpPanel ) ).toBeVisible(); | ^ 157 | } ); 158 | test( 'should be hidden when deactivated', async ( { page } ) => { 159 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:156:56
[chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated: tests/e2e/specs/activity-bar-plugins.spec.js#L156
3) [chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .wpgraphql-ide-help-panel') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .wpgraphql-ide-help-panel') 154 | test( 'should be visible when activated', async ( { page } ) => { 155 | // Assert that the Docs Explorer is now visible > 156 | await expect( page.locator( selectors.helpPanel ) ).toBeVisible(); | ^ 157 | } ); 158 | test( 'should be hidden when deactivated', async ( { page } ) => { 159 | // Assert that the Docs Explorer is now visible at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:156:56
[chromium] β€Ί activity-bar-plugins.spec.js:158:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be hidden when deactivated: tests/e2e/specs/activity-bar-plugins.spec.js#L160
4) [chromium] β€Ί activity-bar-plugins.spec.js:158:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be hidden when deactivated Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.graphiql-plugin .wpgraphql-ide-help-panel') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.graphiql-plugin .wpgraphql-ide-help-panel') 158 | test( 'should be hidden when deactivated', async ( { page } ) => { 159 | // Assert that the Docs Explorer is now visible > 160 | await expect( page.locator( selectors.helpPanel ) ).toBeVisible(); | ^ 161 | // Click the Docs Explorer button 162 | await page.click( selectors.helpButton ); 163 | // Assert that the Docs Explorer is now hidden at /home/runner/work/wpgraphql-ide/wpgraphql-ide/tests/e2e/specs/activity-bar-plugins.spec.js:160:56
🎭 Playwright Run Summary
11 failed [chromium] β€Ί activity-bar-plugins.spec.js:126:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be visible when activated [chromium] β€Ί activity-bar-plugins.spec.js:132:7 β€Ί Activity Bar Plugins β€Ί Explorer Panel β€Ί should be hidden when deactivated [chromium] β€Ί activity-bar-plugins.spec.js:154:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be visible when activated [chromium] β€Ί activity-bar-plugins.spec.js:158:7 β€Ί Activity Bar Plugins β€Ί Help Panel β€Ί should be hidden when deactivated [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 26 passed (7.8m)