feat: register activity bar panel API #303
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)
|