Merge remote-tracking branch 'origin/develop' #61
Annotations
11 errors, 22 warnings, and 1 notice
|
frontend/tests/fixtures.ts#L37
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:37
35 | context.addListener('response', response => {
36 | const traceparent = response.request().headers()['Traceparent'];
> 37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
| ^
38 | if (response.request().isNavigationRequest()) {
39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
40 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:37:106)
|
frontend/tests/fixtures.ts#L39
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 400
Received: 500
at fixtures.ts:39
37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
38 | if (response.request().isNavigationRequest()) {
> 39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
| ^
40 | }
41 | });
42 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:39:108)
|
frontend/tests/pages/basePage.ts#L39
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Error: expect(received).toBeTruthy()
Received: false
at pages/basePage.ts:39
37 | expect(response.ok()).toBeFalsy();
38 | } else {
> 39 | expect(response.ok()).toBeTruthy();
| ^
40 | }
41 | }
42 | if (!expectRedirect && !expectErrorResponse) {
at UserDashboardPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:39:31)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:87:3
|
frontend/tests/fixtures.ts#L37
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:37
35 | context.addListener('response', response => {
36 | const traceparent = response.request().headers()['Traceparent'];
> 37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
| ^
38 | if (response.request().isNavigationRequest()) {
39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
40 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:37:106)
|
frontend/tests/fixtures.ts#L39
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 400
Received: 500
at fixtures.ts:39
37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
38 | if (response.request().isNavigationRequest()) {
> 39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
| ^
40 | }
41 | });
42 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:39:108)
|
frontend/tests/pages/basePage.ts#L39
1) [chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
at pages/basePage.ts:39
37 | expect(response.ok()).toBeFalsy();
38 | } else {
> 39 | expect(response.ok()).toBeTruthy();
| ^
40 | }
41 | }
42 | if (!expectRedirect && !expectErrorResponse) {
at UserDashboardPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:39:31)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:87:3
|
frontend/tests/errorHandling.test.ts#L102
2) [chromium] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ─────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 401
Received: 302
100 | await adminDashboardPage.clickProject('Sena 3');
101 | const graphqlResponse = await responsePromise;
> 102 | expect(graphqlResponse.status()).toBe(401);
| ^
103 | await new LoginPage(page).waitFor();
104 | });
105 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:102:36
|
frontend/tests/fixtures.ts#L37
2) [chromium] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ─────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:37
35 | context.addListener('response', response => {
36 | const traceparent = response.request().headers()['Traceparent'];
> 37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
| ^
38 | if (response.request().isNavigationRequest()) {
39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
40 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:37:106)
|
frontend/tests/errorHandling.test.ts#L102
2) [chromium] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 401
Received: 302
100 | await adminDashboardPage.clickProject('Sena 3');
101 | const graphqlResponse = await responsePromise;
> 102 | expect(graphqlResponse.status()).toBe(401);
| ^
103 | await new LoginPage(page).waitFor();
104 | });
105 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:102:36
|
frontend/tests/fixtures.ts#L37
2) [chromium] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Unexpected response status: 500. (undefined)
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:37
35 | context.addListener('response', response => {
36 | const traceparent = response.request().headers()['Traceparent'];
> 37 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(500);
| ^
38 | if (response.request().isNavigationRequest()) {
39 | expect.soft(response.status(), `Unexpected response status: ${response.status()}. (${traceparent})`).toBeLessThan(400);
40 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:37:106)
|
backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
|
backend/MiniLcm/InMemoryApi.cs#L195
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.
|
backend/MiniLcm/InMemoryApi.cs#L214
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.
|
backend/LfClassicData/LfClassicLexboxApi.cs#L170
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.
|
backend/harmony/src/Crdt/Changes/ChangeContext.cs#L5
Parameter 'crdtRepository' is unread.
|
backend/LcmCrdt/LcmCrdtKernel.cs#L4
The using directive for 'Crdt' appeared previously in this namespace
|
backend/LcmCrdt/CrdtLexboxApi.cs#L13
Parameter 'timeProvider' is unread.
|
backend/LocalWebApp/BackgroundSyncService.cs#L9
Parameter 'serviceProvider' is unread.
|
backend/LocalWebApp/CrdtHttpSyncService.cs#L58
Parameter 'originDomain' is unread.
|
backend/LocalWebApp/LexboxApiHub.cs#L16
Parameter 'jsonOptions' is unread.
|
|
backend/harmony/src/Crdt/Changes/ChangeContext.cs#L5
Parameter 'crdtRepository' is unread.
|
backend/LcmCrdt/LcmCrdtKernel.cs#L4
The using directive for 'Crdt' appeared previously in this namespace
|
backend/LcmCrdt/CrdtLexboxApi.cs#L13
Parameter 'timeProvider' is unread.
|
backend/LfClassicData/LfClassicLexboxApi.cs#L170
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.
|
backend/LexBoxApi/Services/UserService.cs#L7
Parameter 'lexAuthService' is unread.
|
backend/LexBoxApi/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' is unread.
|
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'
|
backend/LexBoxApi/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
|
backend/LexBoxApi/GraphQL/CustomTypes/IsLanguageForgeProjectDataLoader.cs#L27
Method referencing lambda parameter is not supported LINQ expression. (https://www.mongodb.com/docs/mongodb-analyzer/current/rules/#MALinq2001)
|
frontend/[chromium] › emailWorkflow.test.ts#L1
frontend/[chromium] › emailWorkflow.test.ts took 38.2s
|
frontend/[chromium] › userPage.test.ts#L1
frontend/[chromium] › userPage.test.ts took 18.5s
|
6 failed
[chromium] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ──────────
[chromium] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ──────────
[firefox] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ────────
[firefox] › errorHandling.test.ts:84:1 › server page load 401 is redirected to login ───────────
[firefox] › errorHandling.test.ts:91:1 › client page load 401 is redirected to login ───────────
[firefox] › resetProject.test.ts:20:1 › reset project and upload .zip file ─────────────────────
4 flaky
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[firefox] › emailWorkflow.test.ts:78:1 › forgot password ───────────────────────────────────────
[firefox] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ────
[firefox] › userPage.test.ts:11:1 › can update account info ────────────────────────────────────
50 passed (7.1m)
|
This job failed
Loading