Skip to content

Update playwright (#1323) #1548

Update playwright (#1323)

Update playwright (#1323) #1548

Triggered via push December 19, 2024 03:26
Status Success
Total duration 24m 56s
Artifacts 2

develop-api.yaml

on: push
Set Version
0s
Set Version
Build API  /  publish-api
3m 27s
Build API / publish-api
Deploy API  /  deploy
14s
Deploy API / deploy
GHA integration tests  /  execute
21m 3s
GHA integration tests / execute
Matrix: Deploy API / verify-published
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 35 warnings, and 3 notices
[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:110:1 › register via new-user invitation email: frontend/tests/email/maildev-mailbox.ts#L25
2) [firefox] › emailWorkflow.test.ts:110:1 › register via new-user invitation email ────────────── Error: apiRequestContext.get: socket hang up Call log: - → GET http://localhost:1080/email - user-agent: Playwright Firefox - accept: */* - accept-encoding: gzip,deflate,br - cookie: .LexBoxAuth=*** 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)
GHA integration tests / execute
Process completed with exit code 1.
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/FwLite/MiniLcm/SyncHelpers/SenseSync.cs#L27
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.
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/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' 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/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
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.
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 'loggedInContext' 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 'lexAuthService' is unread.
Build API / publish-api
Parameter 'lexBoxDbContext' 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.'
Deploy API / deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: frontend/[firefox] › errorHandling.test.ts#L1
frontend/[firefox] › errorHandling.test.ts took 28.3s
Slow Test: frontend/[chromium] › errorHandling.test.ts#L1
frontend/[chromium] › errorHandling.test.ts took 16.7s
GHA integration tests / execute: backend/FwLite/MiniLcm/SyncHelpers/SenseSync.cs#L27
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.
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/Hub/CrdtProjectChangeHub.cs#L8
Parameter 'loggedInContext' 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/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'
12 tests found
There are 12 tests, see "Raw output" for the full list of tests.
103 tests found
There are 103 tests, see "Raw output" for the full list of tests.
🎭 Playwright Run Summary
2 flaky [firefox] › emailWorkflow.test.ts:74:1 › forgot password ─────────────────────────────────────── [firefox] › emailWorkflow.test.ts:110:1 › register via new-user invitation email ─────────────── 1 skipped 65 passed (3.6m)

Artifacts

Produced during runtime
Name Size
dotnet-unit-test-results
4.08 KB
playwright-traces
144 MB