Increase timeout on new-user invitation test #53
Annotations
11 errors, 24 warnings, and 1 notice
Integration tests (.NET)
Process completed with exit code 1.
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L38
1) [chromium] › emailWorkflow.test.ts:27: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"
36 |
37 | const inboxPage = await getInbox(page, tempUser.mailinatorId).goto();
> 38 | await expect(inboxPage.emailLocator).toHaveCount(2);
| ^
39 | let emailPage = await inboxPage.openEmail();
40 | let pagePromise = emailPage.page.context().waitForEvent('page');
41 | await emailPage.clickVerifyEmail();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:38:40
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L58
1) [chromium] › emailWorkflow.test.ts:27: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 /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:37:21
|
Integration tests (Playwright):
frontend/tests/pages/basePage.ts#L58
2) [chromium] › emailWorkflow.test.ts:79:1 › forgot password ─────────────────────────────────────
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:88:21
|
Integration tests (Playwright):
frontend/tests/emailWorkflow.test.ts#L92
2) [chromium] › emailWorkflow.test.ts:79:1 › forgot password ─────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "resetPassword"
Received string: "https://staging.languagedepot.org/api/login/verifyEmail?jwt=***"
90 | const resetPasswordUrl = await emailPage.getFirstLanguageDepotUrl();
91 | expect(resetPasswordUrl).not.toBeNull();
> 92 | expect(resetPasswordUrl!).toContain('resetPassword');
| ^
93 |
94 | const pagePromise = emailPage.page.context().waitForEvent('page');
95 | await emailPage.clickResetPassword();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/emailWorkflow.test.ts:92:29
|
Integration tests (Playwright):
frontend/tests/errorHandling.test.ts#L168
3) [chromium] › errorHandling.test.ts:140:1 › page load 403 on home page is redirected to login ──
Error: expect(received).toBe(expected) // Object.is equality
Expected: 403
Received: 200
166 | await userAccountPage.clickHome();
167 | const response = await responsePromise;
> 168 | expect(response.status()).toBe(403);
| ^
169 |
170 | // (4) Expect to be redirected to login page
171 | await new LoginPage(page).waitFor();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:168:29
|
Integration tests (Playwright):
frontend/tests/errorHandling.test.ts#L168
3) [chromium] › errorHandling.test.ts:140:1 › page load 403 on home page is redirected to login ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 403
Received: 200
166 | await userAccountPage.clickHome();
167 | const response = await responsePromise;
> 168 | expect(response.status()).toBe(403);
| ^
169 |
170 | // (4) Expect to be redirected to login page
171 | await new LoginPage(page).waitFor();
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:168:29
|
Integration tests (Playwright):
frontend/tests/userPage.test.ts#L49
4) [chromium] › userPage.test.ts:29:1 › can reset password ───────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Your password was changed').first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Your password was changed').first()
47 | const inboxPage = await getInbox(page, tempUser.mailinatorId).goto();
48 | const emailPage = await inboxPage.openEmail();
> 49 | await expect(emailPage.page.getByText('Your password was changed').first()).toBeVisible();
| ^
50 | });
51 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/userPage.test.ts:49:79
|
Integration tests (Playwright):
frontend/tests/userPage.test.ts#L49
4) [chromium] › userPage.test.ts:29:1 › can reset password ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Your password was changed').first()
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Your password was changed').first()
- locator resolved to <td class="ng-binding" onclick="showTheMessage('899d…>↵ Your password was changed↵ …</td>
- unexpected value "hidden"
- locator resolved to <td class="ng-binding" onclick="showTheMessage('899d…>↵ Your password was changed↵ …</td>
- unexpected value "hidden"
- locator resolved to <td class="ng-binding" onclick="showTheMessage('899d…>↵ Your password was changed↵ …</td>
- unexpected value "hidden"
- locator resolved to <td class="ng-binding" onclick="showTheMessage('899d…>↵ Your password was changed↵ …</td>
- unexpected value "hidden"
47 | const inboxPage = await getInbox(page, tempUser.mailinatorId).goto();
48 | const emailPage = await inboxPage.openEmail();
> 49 | await expect(emailPage.page.getByText('Your password was changed').first()).toBeVisible();
| ^
50 | });
51 |
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/userPage.test.ts:49:79
|
Integration tests (Playwright):
frontend/tests/fixtures.ts#L35
5) [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/fixtures.ts#L35
5) [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)
|
Dotnet build:
backend/FixFwData/Program.cs#L1
The variable 'doNothing' is assigned but its value is never used
|
Dotnet build:
backend/MiniLcm/MultiString.cs#L53
Nullability of reference types in type of parameter 'value' doesn't match implemented member 'void IDictionary.Add(object key, object? value)' (possibly because of nullability attributes).
|
Dotnet build:
backend/MiniLcm/WritingSystemId.cs#L30
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Dotnet build:
backend/MiniLcm/WritingSystemId.cs#L31
Non-nullable property 'Abbreviation' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Dotnet build:
backend/MiniLcm/WritingSystemId.cs#L32
Non-nullable property 'Font' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Dotnet build:
backend/MiniLcm/WritingSystemId.cs#L10
Possible null reference argument for parameter 's' in 'WritingSystemId WritingSystemId.Parse(string s, IFormatProvider? provider)'.
|
Dotnet build:
backend/MiniLcm/WritingSystemId.cs#L19
Possible null reference argument for parameter 's' in 'WritingSystemId WritingSystemId.Parse(string s, IFormatProvider? provider)'.
|
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/LexCore/Entities/ProjectUsers.cs#L8
Non-nullable property 'User' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
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/LfClassicConfig.cs#L5
Non-nullable property 'ConnectionString' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
|
Integration tests (.NET):
backend/LfClassicData/Entities/LfId.cs#L123
Dereference of a possibly null reference.
|
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/Auth/Attributes/LexboxAuthAttribute.cs#L15
Nullability of reference types in type of parameter 'value' of 'void LexboxAuthAttribute.Policy.set' doesn't match implicitly implemented member 'void IAuthorizeData.Policy.set' (possibly because of nullability attributes).
|
Integration tests (.NET):
backend/LexBoxApi/Services/EmailService.cs#L102
Cannot convert null literal to non-nullable reference type.
|
Integration tests (.NET):
backend/LexBoxApi/Services/UserService.cs#L7
Parameter 'lexAuthService' is unread.
|
Integration tests (.NET):
backend/LexBoxApi/Jobs/CleanupResetBackupJob.cs#L7
Parameter 'hgService' is unread.
|
Integration tests (.NET):
backend/LexBoxApi/GraphQL/UserMutations.cs#L109
Dereference of a possibly null reference.
|
Integration tests (.NET):
backend/LexBoxApi/GraphQL/UserMutations.cs#L119
Possible null reference argument for parameter 'newAdminEmail' in 'Task EmailService.SendNewAdminEmail(IAsyncEnumerable<User> admins, string newAdminName, string newAdminEmail)'.
|
Build for tests:
backend/Testing/LexCore/LexAuthUserTests.cs#L55
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
|
Build for tests:
backend/Testing/LexCore/LexAuthUserTests.cs#L182
Dereference of a possibly null reference.
|
Build for tests:
backend/Testing/LexCore/LexAuthUserTests.cs#L55
Possible null reference argument for parameter 'value' in 'Claim.Claim(string type, string value)'.
|
Build for tests:
backend/Testing/LexCore/LexAuthUserTests.cs#L182
Dereference of a possibly null reference.
|
Integration tests (Playwright)
4 failed
[chromium] › emailWorkflow.test.ts:27:1 › register, verify, update, verify email address ───────
[chromium] › emailWorkflow.test.ts:79:1 › forgot password ──────────────────────────────────────
[chromium] › errorHandling.test.ts:140:1 › page load 403 on home page is redirected to login ───
[chromium] › userPage.test.ts:29:1 › can reset password ────────────────────────────────────────
5 flaky
[chromium] › resetProject.test.ts:20:1 › reset project and upload .zip file ────────────────────
[firefox] › emailWorkflow.test.ts:27:1 › register, verify, update, verify email address ────────
[firefox] › emailWorkflow.test.ts:79:1 › forgot password ───────────────────────────────────────
[firefox] › errorHandling.test.ts:140:1 › page load 403 on home page is redirected to login ────
[firefox] › userPage.test.ts:29:1 › can reset password ─────────────────────────────────────────
51 passed (7.4m)
|
Loading