Blazor Hybrid android #1565
develop-api.yaml
on: pull_request
Set Version
0s
GHA integration tests
/
execute
47m 49s
Matrix: Deploy API / verify-published
Waiting for pending jobs
Annotations
11 errors, 33 warnings, and 1 notice
[firefox] › emailWorkflow.test.ts:74:1 › forgot password:
frontend/tests/email/maildev-mailbox.ts#L25
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ──────────────────────────────────────
Error: apiRequestContext.get: socket hang up
Call log:
- → GET http://localhost:1080/email
- user-agent: Playwright Firefox
- accept: */*
- accept-encoding: gzip,deflate,br
at email/maildev-mailbox.ts:25
23 | async fetchMyEmails(): Promise<MaildevEmail[]> {
24 | // Maildev REST API docs: https://github.com/maildev/maildev/blob/master/docs/rest.md
> 25 | const response = await this.api.get(`http://localhost:1080/email`);
| ^
26 | const emails = await response.json() as MaildevEmail[];
27 | return emails.filter(email => email.to.some(to => to.address === this.email));
28 | }
at MaildevMailbox.fetchMyEmails (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/email/maildev-mailbox.ts:25:37)
at MaildevMailbox.fetchEmails (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/email/maildev-mailbox.ts:18:31)
at Object.expect.poll.intervals (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/email/mailbox.ts:18:33)
|
[firefox] › emailWorkflow.test.ts:74:1 › forgot password:
frontend/tests/utils/authHelpers.ts#L15
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ──────────────────────────────────────
Error: apiRequestContext.post: Request timed out after 5000ms
Call log:
- → POST http://localhost:6579/api/login
- user-agent: Playwright Firefox
- accept: */*
- accept-encoding: gzip,deflate,br
- content-type: application/json
- content-length: 71
at utils/authHelpers.ts:15
13 | preHashedPassword: false,
14 | }
> 15 | const response = await api.post(`${serverBaseUrl}/api/login`, {data: loginData});
| ^
16 | expect(response.ok()).toBeTruthy();
17 | }
18 |
at loginAs (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/authHelpers.ts:15:30)
at Object.tempUser (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/fixtures.ts:111:11)
|
[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#L34
1) [firefox] › emailWorkflow.test.ts:74:1 › forgot password ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog:
frontend/tests/errorHandling.test.ts#L1
2) [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
2) [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
|
[firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog:
frontend/tests/errorHandling.test.ts#L1
2) [firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog ─────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 40000ms exceeded.
|
[firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog:
frontend/tests/pages/basePage.ts#L34
2) [firefox] › errorHandling.test.ts:49:1 › catch fetch 500 and error dialog ─────────────────────
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:50:31
|
[firefox] › errorHandling.test.ts:60:1 › client-side gql 500 does not break the application:
frontend/tests/utils/authHelpers.ts#L15
3) [firefox] › errorHandling.test.ts:60:1 › client-side gql 500 does not break the application ───
Error: apiRequestContext.post: Request timed out after 5000ms
Call log:
- → POST http://localhost:6579/api/login
- user-agent: Playwright Firefox
- accept: */*
- accept-encoding: gzip,deflate,br
- content-type: application/json
- content-length: 71
at utils/authHelpers.ts:15
13 | preHashedPassword: false,
14 | }
> 15 | const response = await api.post(`${serverBaseUrl}/api/login`, {data: loginData});
| ^
16 | expect(response.ok()).toBeTruthy();
17 | }
18 |
at loginAs (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/authHelpers.ts:15:30)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:61:9
|
[firefox] › errorHandling.test.ts:60:1 › client-side gql 500 does not break the application:
frontend/tests/utils/authHelpers.ts#L15
3) [firefox] › errorHandling.test.ts:60:1 › client-side gql 500 does not break the application ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: apiRequestContext.post: Request timed out after 5000ms
Call log:
- → POST http://localhost:6579/api/login
- user-agent: Playwright Firefox
- accept: */*
- accept-encoding: gzip,deflate,br
- content-type: application/json
- content-length: 71
at utils/authHelpers.ts:15
13 | preHashedPassword: false,
14 | }
> 15 | const response = await api.post(`${serverBaseUrl}/api/login`, {data: loginData});
| ^
16 | expect(response.ok()).toBeTruthy();
17 | }
18 |
at loginAs (/home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/utils/authHelpers.ts:15:30)
at /home/runner/work/languageforge-lexbox/languageforge-lexbox/frontend/tests/errorHandling.test.ts:61:9
|
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/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/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' is unread.
|
Build API / publish-api:
backend/LexBoxApi/Jobs/LexJob.cs#L45
'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/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#L459
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 '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
Parameter 'loggedInContext' 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
'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 17.6s
|
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/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/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/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' is unread.
|
GHA integration tests / execute:
backend/LexBoxApi/Jobs/LexJob.cs#L45
'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/Services/HgService.cs#L459
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
24 failed
[firefox] › emailWorkflow.test.ts:74:1 › forgot password ───────────────────────────────────────
[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 skipped
43 passed (30.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dotnet-unit-test-results
|
4.13 KB |
|
k8s-logs
|
638 KB |
|
playwright-traces
|
111 MB |
|