Test self-hosted for Mercurial 6 on develop #91
Annotations
11 errors, 18 warnings, and 1 notice
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L53
1) [chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ──────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/user($|\?|#)/
Received string: "https://ltops.cloudflareaccess.com/cdn-cgi/access/login/develop.lexbox.org?kid=c0fc96660e0d5d5355182066a338d53964d78b1072b2a90110c882a6bb9c0967&redirect_url=%2Fapi%2Flogin%2FverifyEmail%3Fjwt%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5ODkyYjA4MyIsInN1YiI6IjA3YmMzYzk5LTY4NjAtNDU5Ny1iYWE4LWZjOTFhZWY1ZWViOCIsImRhdGUiOjE3MTUwNjA1NjMsImVtYWlsIjoiNDgyMzVmN2MtNzllNC00ZDgxLWIxNjQtNWU5NjdkMGNlZTY2QG1haWxpbmF0b3IuY29tIiwibmFtZSI6IlRlc3Q6IHJlZ2lzdGVyLCB2ZXJpZnksIHVwZGF0ZSwgdmVyaWZ5IGVtYWlsIGFkZHJlc3MgLSA0ODIzNWY3Yy03OWU0LTRkODEtYjE2NC01ZTk2N2QwY2VlNjZAbWFpbGluYXRvci5jb20iLCJyb2xlIjoidXNlciIsInByb2oiOiIiLCJsb2NrIjp0cnVlLCJsb2MiOiJlbiIsIm5iZiI6MTcxNTA2MDU2NiwiZXhwIjoxNzE1MzE5NzY2LCJpYXQiOjE3MTUwNjA1NjYsImlzcyI6IkxleGJveEFwaSIsImF1ZCI6IkxleGJveEFwaSJ9.UJtY-RvFktZ3LXegwjBkWvK8EllOhrkXP2u6eMONuS8%26returnTo%3D%2Fuser%3FemailResult%3DverifiedEmail%26email%3D48235f7c-79e4-4d81-b164-5e967d0cee66%40mailinator.com&meta=***"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "https://ltops.cloudflareaccess.com/cdn-cgi/access/login/develop.lexbox.org?kid=c0fc96660e0d5d5355182066a338d53964d78b1072b2a90110c882a6bb9c0967&redirect_url=%2Fapi%2Flogin%2FverifyEmail%3Fjwt%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5ODkyYjA4MyIsInN1YiI6IjA3YmMzYzk5LTY4NjAtNDU5Ny1iYWE4LWZjOTFhZWY1ZWViOCIsImRhdGUiOjE3MTUwNjA1NjMsImVtYWlsIjoiNDgyMzVmN2MtNzllNC00ZDgxLWIxNjQtNWU5NjdkMGNlZTY2QG1haWxpbmF0b3IuY29tIiwibmFtZSI6IlRlc3Q6IHJlZ2lzdGVyLCB2ZXJpZnksIHVwZGF0ZSwgdmVyaWZ5IGVtYWlsIGFkZHJlc3MgLSA0ODIzNWY3Yy03OWU0LTRkODEtYjE2NC01ZTk2N2QwY2VlNjZAbWFpbGluYXRvci5jb20iLCJyb2xlIjoidXNlciIsInByb2oiOiIiLCJsb2NrIjp0cnVlLCJsb2MiOiJlbiIsIm5iZiI6MTcxNTA2MDU2NiwiZXhwIjoxNzE1MzE5NzY2LCJpYXQiOjE3MTUwNjA1NjYsImlzcyI6IkxleGJveEFwaSIsImF1ZCI6IkxleGJveEFwaSJ9.UJtY-RvFktZ3LXegwjBkWvK8EllOhrkXP2u6eMONuS8%26returnTo%3D%2Fuser%3FemailResult%3DverifiedEmail%26email%3D48235f7c-79e4-4d81-b164-5e967d0cee66%40mailinator.com&meta=***"
- locator resolved to <html>…</html>
- unexpected value "https://ltops.cloudflareaccess.com/cdn-cgi/access/login/develop.lexbox.org?kid=c0fc96660e0d5d5355182066a338d53964d78b1072b2a90110c882a6bb9c0967&redirect_url=%2Fapi%2Flogin%2FverifyEmail%3Fjwt%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5ODkyYjA4MyIsInN1YiI6IjA3YmMzYzk5LTY4NjAtNDU5Ny1iYWE4LWZjOTFhZWY1ZWViOCIsImRhdGUiOjE3MTUwNjA1NjMsImVtYWlsIjoiNDgyMzVmN2MtNzllNC00ZDgxLWIxNjQtNWU5NjdkMGNlZTY2QG1haWxpbmF0b3IuY29tIiwibmFtZSI6IlRlc3Q6IHJlZ2lzdGVyLCB2ZXJpZnksIHVwZGF0ZSwgdmVyaWZ5IGVtYWlsIGFkZHJlc3MgLSA0ODIzNWY3Yy03OWU0LTRkODEtYjE2NC01ZTk2N2QwY2VlNjZAbWFpbGluYXRvci5jb20iLCJyb2xlIjoidXNlciIsInByb2oiOiIiLCJsb2NrIjp0cnVlLCJsb2MiOiJlbiIsIm5iZiI6MTcxNTA2MDU2NiwiZXhwIjoxNzE1MzE5NzY2LCJpYXQiOjE3MTUwNjA1NjYsImlzcyI6IkxleGJveEFwaSIsImF1ZCI6IkxleGJveEFwaSJ9.UJtY-RvFktZ3LXegwjBkWvK8EllOhrkXP2u6eMONuS8%26returnTo%3D%2Fuser%3FemailResult%3DverifiedEmail%26email%3D48235f7c-79e4-4d81-b164-5e967d0cee66%40mailinator.com&meta=***"
- locator resolved to <html>…</html>
- unexpected value "https://ltops.cloudflareaccess.com/cdn-cgi/access/login/develop.lexbox.org?kid=c0fc96660e0d5d5355182066a338d53964d78b1072b2a90110c882a6bb9c0967&redirect_url=%2Fapi%2Flogin%2FverifyEmail%3Fjwt%3DeyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI5ODkyYjA4MyIsInN1YiI6IjA3YmMzYzk5LTY4NjAtNDU5Ny1iYWE4LWZjOTFhZWY1ZWViOCIsImRhdGUiOjE3MTUwNjA1NjMsImVtYWlsIjoiNDgyMzVmN2MtNzllNC00ZDgxLWIxNjQtNWU5NjdkMGNlZTY2QG1haWxpbmF0b3IuY29tIiwibmFtZSI6IlRlc3Q6IHJlZ2lzdGVyLCB2ZXJpZnksIHVwZGF0ZSwgdmVyaWZ5IGVtYWlsIGFkZHJlc3MgLSA0ODIzNWY3Yy03OWU0LTRkODEtYjE2NC01ZTk2N2QwY2VlNjZAbWFpbGluYXRvci5jb20iLCJyb2xlIjoidXNlciIsInByb2oiOiIiLCJsb2NrIjp0cnVlLCJsb2MiOiJlbiIsIm5iZiI6MTcxNTA2MDU2NiwiZXhwIjoxNzE1MzE5NzY2LCJpYXQiOjE3MTUwNjA1NjYsImlzcyI6IkxleGJveEFwaSIsImF
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L38
1) [chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 404. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 400
Received: 404
at fixtures.ts:38
36 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
37 | if (response.request().isNavigationRequest()) {
> 38 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
| ^
39 | }
40 | });
41 | }
at BrowserContext.<anonymous> (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:38:108)
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L53
1) [chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/user($|\?|#)/
Received string: "https://www.mailinator.com/v4/public/3D"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
- locator resolved to <html>…</html>
- unexpected value "https://www.mailinator.com/v4/public/3D"
at pages/basePage.ts:53
51 | } else {
52 | // first use expect() so we get a good error message
> 53 | await expect(this.page).toHaveURL(this.urlPattern, {timeout: 10_000});
| ^
54 | // still wait to ensure we reach the state we expect
55 | await this.page.waitForURL(this.urlPattern, {waitUntil: 'load'});
56 | }
at UserAccountSettingsPage.waitFor (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:53:31)
at /runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:43:61
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L38
2) [chromium] › emailWorkflow.test.ts:78:1 › forgot ***word ─────────────────────────────────────
Error: Failed to find email: Forgot your ***word? (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:88:37
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L36
2) [chromium] › emailWorkflow.test.ts:78:1 › forgot ***word ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 502. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 502
at fixtures.ts:36
34 | context.addListener('response', response => {
35 | const traceparent = response.request().headers()['Traceparent'];
> 36 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
| ^
37 | if (response.request().isNavigationRequest()) {
38 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
39 | }
at BrowserContext.<anonymous> (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:36:106)
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L53
2) [chromium] › emailWorkflow.test.ts:78:1 › forgot ***word ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected pattern: /\/forgotPassword\/emailSent($|\?|#)/
Received string: "https://lexbox.dev.languagetechnology.org/forgotPassword"
Call log:
- expect.toHaveURL with timeout 10000ms
- waiting for locator(':root')
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
- locator resolved to <html lang="en">…</html>
- unexpected value "https://lexbox.dev.languagetechnology.org/forgotPassword"
at pages/basePage.ts:53
51 | } else {
52 | // first use expect() so we get a good error message
> 53 | await expect(this.page).toHaveURL(this.urlPattern, {timeout: 10_000});
| ^
54 | // still wait to ensure we reach the state we expect
55 | await this.page.waitForURL(this.urlPattern, {waitUntil: 'load'});
56 | }
at ResetPasswordEmailSentPage.waitFor (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:53:31)
at ForgotPasswordPage.submit (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/forgotPasswordPage.ts:21:60)
at /runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:84:3
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L1
3) [chromium] › emailWorkflow.test.ts:114:1 › register via new-user invitation email ─────────────
Test timeout of 80000ms exceeded.
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L65
3) [chromium] › emailWorkflow.test.ts:114:1 › register via new-user invitation email ─────────────
Error: locator.click: Test timeout of 80000ms exceeded.
Call log:
- waiting for frameLocator('#html_msg_body').locator('body').locator('a[href*=\'https://lexbox.dev.languagetechnology.org\']').first()
at pages/mailPages.ts:65
63 |
64 | clickFirstLanguageDepotUrl(): Promise<void> {
> 65 | return this.bodyLocator.locator(`a[href*='${serverBaseUrl}']`).first().click();
| ^
66 | }
67 | }
68 |
at MailinatorEmailPage.clickFirstLanguageDepotUrl (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:65:76)
at /runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:141:19
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L38
3) [chromium] › emailWorkflow.test.ts:114:1 › register via new-user invitation email ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to find email: Project invitation: (0)
Timeout 10000ms exceeded while waiting on the predicate
at pages/mailPages.ts:38
36 | }
37 | await email.click();
> 38 | }, `Failed to find email: ${subject} (${index})`).toPass({timeout: 10_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:132:37
|
Integration tests (Playwright):
frontend/tests/utils/gqlHelpers.ts#L8
4) [chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ───────────────────
Error: expect(received).toBeFalsy()
Received: [{"__typename": "DbError", "code": "DUPLICATE", "message": "Project already exists"}]
at utils/gqlHelpers.ts:8
6 | expect(json.errors).toBeFalsy();
7 | expect(json.data).toBeDefined();
> 8 | Object.values(json.data as {errors: unknown}[]).forEach(value => expect(value.errors).toBeFalsy());
| ^
9 | }
10 | }
11 |
at forEach (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/gqlHelpers.ts:8:91)
at validateGqlErrors (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/gqlHelpers.ts:8:53)
at executeGql (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/gqlHelpers.ts:17:3)
at Object.tempProject (/runner/_work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:93:25)
|
|
Dotnet build:
backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
|
Dotnet build:
backend/MiniLcm/InMemoryApi.cs#L166
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/MiniLcm/InMemoryApi.cs#L190
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/LfClassicData/LfClassicLexboxApi.cs#L160
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Dotnet build:
backend/LexBoxApi/Services/UserService.cs#L7
Parameter 'lexAuthService' is unread.
|
Dotnet build:
backend/LexBoxApi/Controllers/LoginController.cs#L32
Parameter 'projectService' is unread.
|
Dotnet build:
backend/LexBoxApi/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' is unread.
|
Dotnet build:
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'
|
Dotnet build:
backend/LexBoxApi/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
|
Dotnet build:
backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
|
Integration tests (.NET)
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
|
Integration tests (.NET):
backend/LfClassicData/LfClassicLexboxApi.cs#L160
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Integration tests (.NET):
backend/LexBoxApi/Services/UserService.cs#L7
Parameter 'lexAuthService' is unread.
|
Integration tests (.NET):
backend/LexBoxApi/Controllers/LoginController.cs#L32
Parameter 'projectService' is unread.
|
Integration tests (.NET):
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'
|
Integration tests (.NET):
backend/LexBoxApi/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' is unread.
|
Integration tests (.NET):
backend/LexBoxApi/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
|
Integration tests (Playwright)
10 failed
[chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ───────
[chromium] › emailWorkflow.test.ts:78:1 › forgot ***word ──────────────────────────────────────
[chromium] › emailWorkflow.test.ts:114:1 › register via new-user invitation email ──────────────
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[firefox] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ────────
[firefox] › emailWorkflow.test.ts:78:1 › forgot ***word ───────────────────────────────────────
[firefox] › emailWorkflow.test.ts:114:1 › register via new-user invitation email ───────────────
[firefox] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ────
[firefox] › resetProject.test.ts:20:1 › reset project and upload .zip file ─────────────────────
[firefox] › userPage.test.ts:31:1 › can reset ***word ─────────────────────────────────────────
50 ***ed (13.3m)
|
Loading