Skip to content

Mobile fixups

Mobile fixups #1711

Triggered via pull request January 24, 2025 06:58
Status Failure
Total duration 55m 16s
Artifacts 3

develop-api.yaml

on: pull_request
Set Version
0s
Set Version
Build API  /  publish-api
3m 49s
Build API / publish-api
Deploy API  /  deploy
Deploy API / deploy
GHA integration tests  /  execute
51m 1s
GHA integration tests / execute
Matrix: Deploy API / verify-published
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

12 errors, 33 warnings, and 1 notice
[firefox] › emailWorkflow.test.ts:74:1 › forgot password: frontend/tests/emailWorkflow.test.ts#L1
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ────────────────────────────────────── Test timeout of 40000ms exceeded while setting up "tempUser".
[firefox] › emailWorkflow.test.ts:74:1 › forgot password: frontend/tests/pages/basePage.ts#L34
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ────────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:6579/register", waiting until "load" at pages/basePage.ts:34 32 | } 33 | > 34 | const response = await this.page.goto(this.url + (urlEnd ?? '')); | ^ 35 | // response is null if same URL, but different hash - and that's okay 36 | if (response) { 37 | if (expectErrorResponse) { at RegisterPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:34:38) at registerUser (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/authHelpers.ts:32:53) at Object.tempUser (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:101:30)
[firefox] › emailWorkflow.test.ts:74:1 › forgot password: frontend/tests/emailWorkflow.test.ts#L1
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 40000ms exceeded while setting up "tempUser".
[firefox] › emailWorkflow.test.ts:74:1 › forgot password: frontend/tests/pages/basePage.ts#L54
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveURL(expected) Locator: locator(':root') Expected pattern: /\/($|\?|#)/ Received string: "http://localhost:6579/register" Call log: - expect.toHaveURL with timeout 10000ms - waiting for locator(':root') 12 × locator resolved to <html lang="en">…</html> - unexpected value "http://localhost:6579/register" at pages/basePage.ts:54 52 | } else { 53 | // first use expect() so we get a good error message > 54 | await expect(this.page).toHaveURL(this.urlPattern, {timeout: 10_000}); | ^ 55 | // still wait to ensure we reach the state we expect 56 | await this.page.waitForURL(this.urlPattern, {waitUntil: 'load'}); 57 | } at UserDashboardPage.waitFor (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:54:31) at registerUser (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/authHelpers.ts:35:37) at Object.tempUser (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:101:24)
[firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page: frontend/tests/errorHandling.test.ts#L1
2) [firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page ────────────────────── Test timeout of 40000ms exceeded.
[firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page: frontend/tests/pages/basePage.ts#L34
2) [firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page ────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:6579/sandbox", waiting until "load" at pages/basePage.ts:34 32 | } 33 | > 34 | const response = await this.page.goto(this.url + (urlEnd ?? '')); | ^ 35 | // response is null if same URL, but different hash - and that's okay 36 | if (response) { 37 | if (expectErrorResponse) { at SandboxPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:34:38) at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:40:31
[firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page: frontend/tests/errorHandling.test.ts#L1
2) [firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 40000ms exceeded.
[firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page: frontend/tests/pages/basePage.ts#L34
2) [firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page ────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:6579/sandbox", waiting until "load" at pages/basePage.ts:34 32 | } 33 | > 34 | const response = await this.page.goto(this.url + (urlEnd ?? '')); | ^ 35 | // response is null if same URL, but different hash - and that's okay 36 | if (response) { 37 | if (expectErrorResponse) { at SandboxPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:34:38) at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:40:31
[firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog: frontend/tests/errorHandling.test.ts#L1
3) [firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog ───────────────────── Test timeout of 40000ms exceeded.
[firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog: frontend/tests/pages/basePage.ts#L34
3) [firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog ───────────────────── Error: page.goto: Test timeout of 40000ms exceeded. Call log: - navigating to "http://localhost:6579/sandbox", waiting until "load" at pages/basePage.ts:34 32 | } 33 | > 34 | const response = await this.page.goto(this.url + (urlEnd ?? '')); | ^ 35 | // response is null if same URL, but different hash - and that's okay 36 | if (response) { 37 | if (expectErrorResponse) { at SandboxPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:34:38) at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:50:31
GHA integration tests / execute
Process completed with exit code 1.
GHA integration tests / execute
Process completed with exit code 1.
Set Version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build API / publish-api
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build API / publish-api: backend/SyncReverseProxy/ProxyKernel.cs#L121
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api: backend/LexData/SeedingData.cs#L18
Parameter 'logger' is unread.
Build API / publish-api: backend/LexBoxApi/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' is unread.
Build API / publish-api: backend/LexBoxApi/Auth/LoggedInContext.cs#L24
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api: backend/LexBoxApi/Auth/JwtTicketDataFormat.cs#L122
'JwtBearerOptions.SecurityTokenValidators' is obsolete: 'SecurityTokenValidators is no longer used by default. Use TokenHandlers instead. To continue using SecurityTokenValidators, set UseSecurityTokenValidators to true. See https://aka.ms/aspnetcore8/security-token-changes'
Build API / publish-api: backend/LexBoxApi/Jobs/LexJob.cs#L58
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api: backend/LexBoxApi/Services/EmailService.cs#L238
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api: backend/LexBoxApi/Services/HgService.cs#L460
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(LexBoxApi.Services.RepoEmptyState)2' is not covered.
Build API / publish-api: backend/LexBoxApi/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
Build API / publish-api: backend/LexBoxApi/GraphQL/CustomTypes/IsLanguageForgeProjectDataLoader.cs#L64
Method referencing lambda parameter is not supported LINQ expression. (https://www.mongodb.com/docs/mongodb-analyzer/current/rules/#MALinq2001)
Build API / publish-api
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api
Parameter 'logger' is unread.
Build API / publish-api
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api
Parameter 'loggedInContext' is unread.
Build API / publish-api
Parameter 'lexAuthService' is unread.
Build API / publish-api
Parameter 'lexBoxDbContext' is unread.
Build API / publish-api
'JwtBearerOptions.SecurityTokenValidators' is obsolete: 'SecurityTokenValidators is no longer used by default. Use TokenHandlers instead. To continue using SecurityTokenValidators, set UseSecurityTokenValidators to true. See https://aka.ms/aspnetcore8/security-token-changes'
Build API / publish-api
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
Build API / publish-api
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(LexBoxApi.Services.RepoEmptyState)2' is not covered.
Slow Test: frontend/[chromium] › errorHandling.test.ts#L1
frontend/[chromium] › errorHandling.test.ts took 18.2s
GHA integration tests / execute: backend/SyncReverseProxy/ProxyKernel.cs#L121
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
GHA integration tests / execute: backend/LexData/SeedingData.cs#L18
Parameter 'logger' is unread.
GHA integration tests / execute: backend/LexBoxApi/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' is unread.
GHA integration tests / execute: backend/LexBoxApi/Auth/LoggedInContext.cs#L24
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
GHA integration tests / execute: backend/LexBoxApi/Jobs/LexJob.cs#L58
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
GHA integration tests / execute: backend/LexBoxApi/Services/EmailService.cs#L238
'ActivityExtensions.RecordException(Activity?, Exception?)' is obsolete: 'Call Activity.AddException instead this method will be removed in a future version.'
GHA integration tests / execute: backend/LexBoxApi/Auth/JwtTicketDataFormat.cs#L122
'JwtBearerOptions.SecurityTokenValidators' is obsolete: 'SecurityTokenValidators is no longer used by default. Use TokenHandlers instead. To continue using SecurityTokenValidators, set UseSecurityTokenValidators to true. See https://aka.ms/aspnetcore8/security-token-changes'
GHA integration tests / execute: backend/LexBoxApi/Services/HgService.cs#L460
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(LexBoxApi.Services.RepoEmptyState)2' is not covered.
GHA integration tests / execute: backend/LexBoxApi/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
GHA integration tests / execute: backend/LexBoxApi/GraphQL/CustomTypes/IsLanguageForgeProjectDataLoader.cs#L64
Method referencing lambda parameter is not supported LINQ expression. (https://www.mongodb.com/docs/mongodb-analyzer/current/rules/#MALinq2001)
🎭 Playwright Run Summary
25 failed [firefox] › emailWorkflow.test.ts:74:1 › forgot password ─────────────────────────────────────── [firefox] › errorHandling.test.ts:39:1 › page load 500 lands on new page ─────────────────────── [firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog ────────────────────── [firefox] › errorHandling.test.ts:60:1 › client-side gql 500 does not break the application ──── [firefox] › errorHandling.test.ts:74:1 › server-side gql 500 does not kill the server ────────── [firefox] › errorHandling.test.ts:83:1 › server page load 401 is redirected to login ─────────── [firefox] › errorHandling.test.ts:90:1 › client page load 401 is redirected to login ─────────── [firefox] › errorHandling.test.ts:105:1 › can catch 403 errors from goto in same tab ─────────── [firefox] › errorHandling.test.ts:115:1 › can catch 403 errors from goto in new tab ──────────── [firefox] › errorHandling.test.ts:124:1 › page load 403 is redirected to home ────────────────── [firefox] › errorHandling.test.ts:131:1 › page load 403 in new tab is redirected to home ─────── [firefox] › errorHandling.test.ts:140:1 › page load 403 on home page is redirected to login ──── [firefox] › errorHandling.test.ts:174:1 › node survives corrupt jwt ──────────────────────────── [firefox] › i18n.test.ts:6:1 › server-side locale does not leak ──────────────────────────────── [firefox] › i18n.test.ts:30:1 › late subscription to locale works ────────────────────────────── [firefox] › loginPage.test.ts:7:1 › can log in ───────────────────────────────────────────────── [firefox] › loginPage.test.ts:14:1 › show error without username ─────────────────────────────── [firefox] › loginPage.test.ts:23:1 › can log in after error ──────────────────────────────────── [firefox] › loginPage.test.ts:40:1 › after login user is sent to original page ───────────────── [firefox] › managerPage.test.ts:6:1 › display dashboard, then project page ───────────────────── [firefox] › recreateProject.test.ts:10:1 › delete and recreate project ───────────────────────── [firefox] › resetProject.test.ts:20:1 › reset project and upload .zip file ───────────────────── [firefox] › userPage.test.ts:10:1 › can update account info ──────────────────────────────────── [firefox] › userPage.test.ts:21:1 › display form errors on invalid data ──────────────────────── [firefox] › userPage.test.ts:30:1 › can reset password ───────────────────────────────────────── 1 flaky [firefox] › emailWorkflow.test.ts:110:1 › register via new-user invitation email ─────────────── 1 skipped 41 passed (32.3m)

Artifacts

Produced during runtime
Name Size
dotnet-unit-test-results
4.21 KB
k8s-logs
628 KB
playwright-traces
112 MB