Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

End to End Tests

End to End Tests #5487

Triggered via workflow run November 24, 2023 11:23
@t3chguyt3chguy
completed ee485ff
Status Failure
Total duration 2m 46s
Artifacts 2

end-to-end-tests.yaml

on: workflow_run
Prepare
2s
Prepare
Matrix: tests
Report results
39s
Report results
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 warnings
Run Tests 2/2
The process '/usr/bin/xvfb-run' failed with exit code 1
Run Tests 1/2
The process '/usr/bin/xvfb-run' failed with exit code 1
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/consent.spec.ts:28 26 | 27 | test("should prompt the user to consent to terms when server deems it necessary", async ({ > 28 | context, | ^ 29 | page, 30 | user, 31 | app, at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/consent.spec.ts:19:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/login.spec.ts:28 26 | 27 | test.beforeEach(async ({ page, homeserver }) => { > 28 | await homeserver.registerUser(username, password); | ^ 29 | await page.goto("/#/login"); 30 | }); 31 | at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/login.spec.ts:17:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/soft_logout.spec.ts:28 26 | startHomeserverOpts: ({ oAuthServer }, use) => 27 | use({ > 28 | template: "default", | ^ 29 | oAuthServerPort: oAuthServer.port, 30 | }), 31 | }); at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/soft_logout.spec.ts:19:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at register/email.spec.ts:28 26 | await use(instance); 27 | await mailhog.stop(); > 28 | }, | ^ 29 | startHomeserverOpts: ({ mailhog }, use) => 30 | use({ 31 | template: "email", at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/register/email.spec.ts:17:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at user-onboarding/user-onboarding-new.spec.ts:28 26 | await page.addInitScript(() => { 27 | window.localStorage.setItem("mx_registration_time", "1656633601"); > 28 | }); | ^ 29 | }); 30 | 31 | test.beforeEach(async ({ page, user }) => { at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-new.spec.ts:17:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at user-onboarding/user-onboarding-old.spec.ts:28 26 | window.localStorage.setItem("mx_registration_time", "2"); 27 | }); > 28 | }); | ^ 29 | 30 | test("page and preference are hidden", async ({ page, user, app }) => { 31 | await expect(page.locator(".mx_UserOnboardingPage")).not.toBeVisible(); at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/user-onboarding/user-onboarding-old.spec.ts:17:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/consent.spec.ts:28 26 | 27 | test("should prompt the user to consent to terms when server deems it necessary", async ({ > 28 | context, | ^ 29 | page, 30 | user, 31 | app, at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/consent.spec.ts:19:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/login.spec.ts:28 26 | 27 | test.beforeEach(async ({ page, homeserver }) => { > 28 | await homeserver.registerUser(username, password); | ^ 29 | await page.goto("/#/login"); 30 | }); 31 | at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/login.spec.ts:17:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at login/soft_logout.spec.ts:28 26 | startHomeserverOpts: ({ oAuthServer }, use) => 27 | use({ > 28 | template: "default", | ^ 29 | oAuthServerPort: oAuthServer.port, 30 | }), 31 | }); at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/login/soft_logout.spec.ts:19:1)
Report results
SyntaxError: /home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/element-web-test.ts: Identifier 'OAuthServer' has already been declared. (28:9) 26 | import { OAuthServer } from "./plugins/oauth_server"; 27 | import { ElementAppPage } from "./pages/ElementAppPage"; > 28 | import { OAuthServer } from "./plugins/oauth_server"; | ^ 29 | 30 | const CONFIG_JSON: Partial<IConfigOptions> = { 31 | // This is deliberately quite a minimal config.json, so that we can test that the default settings at register/email.spec.ts:28 26 | await use(instance); 27 | await mailhog.stop(); > 28 | }, | ^ 29 | startHomeserverOpts: ({ mailhog }, use) => 30 | use({ 31 | template: "email", at Object.<anonymous> (/home/runner/work/matrix-react-sdk/matrix-react-sdk/matrix-react-sdk/playwright/e2e/register/email.spec.ts:17:1)
Prepare
The following actions uses node12 which is deprecated and will be forced to run on node16: Sibz/github-status-action@faaa4d96fecf273bd762985e0e7f9f933c774918. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Report results
The following actions uses node12 which is deprecated and will be forced to run on node16: Sibz/github-status-action@faaa4d96fecf273bd762985e0e7f9f933c774918. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
3.2 KB
html-report--attempt-1 Expired
421 KB