Added missing script to control graylog #337
Annotations
6 errors, 1 warning, and 1 notice
[chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L21
1) [chromium] › end_to_end.spec.js:15: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"
19 |
20 | // note: could also be: await expect(page.getByText('Logging Alert')).toBeVisible();
> 21 | await expect(page.getByRole('button', { name: 'Logging' })).toHaveText('Logging Alert');
| ^
22 | });
23 |
24 |
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:21:63
|
[chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L4
1) [chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
2 | const { test, expect } = require('@playwright/test');
3 |
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('http://127.0.0.1:9000/');
6 | // note: could also be: getByRole('textbox', { name: 'Username' })
7 | await page.getByLabel('Username').fill('admin');
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:4:6
|
[chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L12
1) [chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('×Close')
10 |
11 | // TODO there will most probably be a problem here on the second test: this should only be done once. Find a way to set this state once and for all before (maybe there is some REST API for that...)
> 12 | await page.getByText('×Close').click();
| ^
13 | });
14 |
15 | test('Plugin Logging Alert should be registered (issue #50)', async ({ page }) => {
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:12:34
|
[chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L4
1) [chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
2 | const { test, expect } = require('@playwright/test');
3 |
> 4 | test.beforeEach(async ({ page }) => {
| ^
5 | await page.goto('http://127.0.0.1:9000/');
6 | // note: could also be: getByRole('textbox', { name: 'Username' })
7 | await page.getByLabel('Username').fill('admin');
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:4:6
|
[chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50):
plugin/end_to_end/tests/end_to_end.spec.js#L12
1) [chromium] › end_to_end.spec.js:15:1 › Plugin Logging Alert should be registered (issue #50) ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('×Close')
10 |
11 | // TODO there will most probably be a problem here on the second test: this should only be done once. Find a way to set this state once and for all before (maybe there is some REST API for that...)
> 12 | await page.getByText('×Close').click();
| ^
13 | });
14 |
15 | test('Plugin Logging Alert should be registered (issue #50)', async ({ page }) => {
at /home/runner/work/graylog-plugin-logging-alert/graylog-plugin-logging-alert/plugin/end_to_end/tests/end_to_end.spec.js:12:34
|
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:15:1 › Plugin Logging Alert should be registered (issue #50) ───
|