Starting/stopping graylog directly in the test beforeAll/afterAll hooks #338
Annotations
4 errors, 1 warning, and 1 notice
[chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L32
1) [chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50) ──
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('button', { name: 'Logging' })
Expected string: "Logging Alert"
Received string: "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('button', { name: 'Logging' })
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
30 |
31 | // note: could also be: await expect(page.getByText('Logging Alert')).toBeVisible();
> 32 | await expect(page.getByRole('button', { name: 'Logging' })).toHaveText('Logging Alert');
| ^
33 | });
34 |
35 |
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:32:63
|
[chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L32
1) [chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('button', { name: 'Logging' })
Expected string: "Logging Alert"
Received string: "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('button', { name: 'Logging' })
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
30 |
31 | // note: could also be: await expect(page.getByText('Logging Alert')).toBeVisible();
> 32 | await expect(page.getByRole('button', { name: 'Logging' })).toHaveText('Logging Alert');
| ^
33 | });
34 |
35 |
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:32:63
|
[chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L32
1) [chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('button', { name: 'Logging' })
Expected string: "Logging Alert"
Received string: "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('button', { name: 'Logging' })
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
- locator resolved to <a href="#" role="button" title="com.airbus_cyber_s…>…</a>
- unexpected value "com.airbus_cyber_security.graylog.events.config.LoggingAlertConfig"
30 |
31 | // note: could also be: await expect(page.getByText('Logging Alert')).toBeVisible();
> 32 | await expect(page.getByRole('button', { name: 'Logging' })).toHaveText('Logging Alert');
| ^
33 | });
34 |
35 |
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:32:63
|
build
Process completed with exit code 1.
|
build
No files were found with the provided path: plugin/end_to_end/playwright-report/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 failed
[chromium] › end_to_end.spec.js:26:1 › Plugin Logging Alert should be registered (issue #50) ───
|