Don't use invalid unit file permissions #56
Annotations
9 errors, 17 warnings, and 1 notice
Integration tests (.NET)
Process completed with exit code 1.
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L39
1) [chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ──────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('[id^=\'row_\']')
Expected: 2
Received: 1
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('[id^=\'row_\']')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
37 |
38 | const inboxPage = await getInbox(page, tempUser.mailinatorId).goto();
> 39 | await expect(inboxPage.emailLocator).toHaveCount(2);
| ^
40 | let emailPage = await inboxPage.openEmail(EmailSubjects.VerifyEmail);
41 | let pagePromise = emailPage.page.context().waitForEvent('page');
42 | await emailPage.clickVerifyEmail();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:39:40
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L58
1) [chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ──────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[id^=\'row_\']').first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[id^=\'row_\']').first()
at pages/basePage.ts:58
56 | }
57 | await BasePage.waitForHydration(this.page); // wait for, e.g., onclick handlers to be attached
> 58 | await Promise.all(this.locators.map(l => expect(l).toBeVisible()));
| ^
59 | return this;
60 | }
61 |
at map (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:58:56)
at MailinatorInboxPage.waitFor (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:58:37)
at MailinatorInboxPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:43:7)
at MailinatorInboxPage.gotoMailbox (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:27:12)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:63:3
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L38
2) [chromium] › userPage.test.ts:31:1 › can reset password ───────────────────────────────────────
Error: Failed to find email: Your password was changed (0)
Timeout 5000ms 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: 5_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/userPage.test.ts:50:37
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L38
2) [chromium] › userPage.test.ts:31:1 › can reset password ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Failed to find email: Your password was changed (0)
Timeout 5000ms 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: 5_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/userPage.test.ts:50:37
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L35
3) [chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ───────────────────
Error: Unexpected response: 500
expect(received).toBeLessThan(expected)
Expected: < 500
Received: 500
at fixtures.ts:35
33 | function addUnexpectedResponseListener(context: BrowserContext): void {
34 | context.addListener('response', response => {
> 35 | expect.soft(response.status(), `Unexpected response: ${response.status()}`).toBeLessThan(500);
| ^
36 | if (response.request().isNavigationRequest()) {
37 | expect.soft(response.status(), `Unexpected response: ${response.status()}`).toBeLessThan(400);
38 | }
at BrowserContext.<anonymous> (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:35:81)
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L58
4) [firefox] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ───────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[id^=\'row_\']').first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[id^=\'row_\']').first()
at pages/basePage.ts:58
56 | }
57 | await BasePage.waitForHydration(this.page); // wait for, e.g., onclick handlers to be attached
> 58 | await Promise.all(this.locators.map(l => expect(l).toBeVisible()));
| ^
59 | return this;
60 | }
61 |
at map (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:58:56)
at MailinatorInboxPage.waitFor (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:58:37)
at MailinatorInboxPage.goto (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/basePage.ts:43:7)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:38:21
|
Integration tests (Playwright):
frontend/tests/pages/mailPages.ts#L38
5) [firefox] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ───
Error: Failed to find email: Forgot your password? (0)
Timeout 5000ms 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: 5_000}); // This auto-retries on a reasonable schedule
| ^
39 | return await this.getEmailPage().waitFor();
40 | }
41 | }
at MailinatorInboxPage.openEmail (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/pages/mailPages.ts:38:55)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:154:37
|
Integration tests (Playwright)
Process completed with exit code 1.
|
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/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
|
Dotnet build:
backend/LfClassicData/LfClassicLexboxApi.cs#L156
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/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' is unread.
|
Dotnet build:
backend/LexBoxApi/Controllers/LoginController.cs#L32
Parameter 'projectService' 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/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.
|
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#L156
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/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' 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/Controllers/IntegrationController.cs#L62
Action method returns undeclared status code '404'
|
Integration tests (Playwright)
2 failed
[chromium] › emailWorkflow.test.ts:28:1 › register, verify, update, verify email address ───────
[chromium] › userPage.test.ts:31:1 › can reset password ────────────────────────────────────────
3 flaky
[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] › errorHandling.test.ts:141:1 › page load 403 on home page is redirected to login ────
55 passed (6.8m)
|
Loading