Skip to content

OSOE-748: All UI tests fail in Lombiq.UITestingToolbox #5609

OSOE-748: All UI tests fail in Lombiq.UITestingToolbox

OSOE-748: All UI tests fail in Lombiq.UITestingToolbox #5609

Triggered via pull request December 4, 2023 15:05
Status Failure
Total duration 20m 38s
Artifacts 2

build-and-test.yml

on: pull_request
Matrix: Build and Test - root solution (larger runners) / Build and Test
Matrix: Build and Test - NuGetTest solution / Build and Test
Matrix: PowerShell Static Code Analysis / PowerShell Static Code Analysis
Spelling  /  Check Spelling
1m 14s
Spelling / Check Spelling
Matrix: Build and Test - root solution (standard runners) / Build and Test
Waiting for pending jobs
Add Windows Build Warning Label
0s
Add Windows Build Warning Label
Spelling  /  Comment (PR)
0s
Spelling / Comment (PR)
Post Pull Request Checks Automation  /  Post Pull Request Checks Automation
Post Pull Request Checks Automation / Post Pull Request Checks Automation
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
Build and Test - NuGetTest solution / Build and Test (ubuntu-22.04)
Process completed with exit code 1.
Build and Test - NuGetTest solution / Build and Test (ubuntu-22.04)
The operation was canceled.
PageChangeAssertionException in Lombiq.Tests.UI.Samples.Tests.AzureBlobStorageTests.AnonymousHomePageShouldExistWithAzureBlobStorage: test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Services/UITestContext.cs#L198
Lombiq.Tests.UI.Exceptions.PageChangeAssertionException: An assertion during the page change event has failed on page https://localhost:9065/ (Blog - Lombiq's OSOCE - UI Testing). ---> Atata.Cli.CliCommandException: /usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/lib/cjs/index.js:933 var import_chalk = __toESM(require("chalk")); ^ Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/node_modules/chalk/source/index.js from /usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/lib/cjs/index.js not supported. Instead change the require of /usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/node_modules/chalk/source/index.js in /usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/lib/cjs/index.js to a dynamic import() which is available in all CommonJS modules. at Object.<anonymous> (/usr/local/lib/node_modules/html-validate/node_modules/@sidvind/better-ajv-errors/lib/cjs/index.js:933:28) at Object.<anonymous> (/usr/local/lib/node_modules/html-validate/dist/cjs/core.js:7:23) at Object.<anonymous> (/usr/local/lib/node_modules/html-validate/dist/cjs/html-validate.js:7:12) at Object.<anonymous> (/usr/local/lib/node_modules/html-validate/bin/html-validate.js:4:1) { code: 'ERR_REQUIRE_ESM' } Node.js v18.16.1. CLI command: bash -login -c "html-validate \"2b139595-cb0a-4986-b34c-2522a3029c8d.html\" -f stylish" Working directory: /home/runner/actions-runner/_work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI.Samples/bin/Debug/net6.0/HtmlValidationTemp Exit code: 1 at Atata.Cli.ProgramCli.ValidateResult(CliCommandResult result) at Atata.Cli.ProgramCli.Execute(String arguments) at Atata.Cli.HtmlValidate.HtmlValidateCli.Validate(String path, HtmlValidateOptions options) at Atata.HtmlValidation.HtmlValidator.<>c__DisplayClass18_0.<ExecuteCliCommand>b__0() at Atata.HtmlValidation.HtmlValidator.ExecuteFunction[TResult](String sectionMessage, Func`1 function) at Atata.HtmlValidation.HtmlValidator.ExecuteCliCommand(String workingDirectory, String htmlFileName, String formatter) at Atata.HtmlValidation.HtmlValidator.Validate(String html) at Lombiq.Tests.UI.Extensions.HtmlValidationUITestContextExtensions.ValidateHtml(UITestContext context, Action`1 htmlValidationOptionsAdjuster) in /home/runner/actions-runner/_work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Extensions/HtmlValidationUITestContextExtensions.cs:line 58 at Lombiq.Tests.UI.Extensions.HtmlValidationUITestContextExtensions.AssertHtmlValidityAsync(UITestContext context, Action`1 htmlValidationOptionsAdjuster, Func`2 assertHtmlValidationResultAsync) in /home/runner/actions-runner/_work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Extensions/HtmlValidationUITestContextExtensions.cs:line 28 at Lombiq.Tests.UI.Extensions.HtmlValidationOrchardCoreUITestExecutorConfigurationExtensions.<>c__DisplayClass0_0.<<SetUpHtmlValidationAssertionOnPageChange>b__0>d.MoveNext() in /home/runner/actions-runner/_work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/test/Lombiq.UITestingToolbox/Lombiq.Tests.UI/Extensions/HtmlValidationOrchardCoreUITestExecutorConfigurationExtensions.cs:line 32 --- End of stack trace from previous location --- at System.Collections.Generic.EnumerableExtensions.AwaitEachAsync[TItem](IEnumerable`1 source, Func`2 asyncOperation) in /home/runner/actions-runner/_work/Open-Source-Orchard-Core-Extensions/Open-Source-Orchard-Core-Extensions/src/Libraries/Lombiq.HelpfulLibraries/Lombiq.HelpfulLibraries.Common/Extensions/EnumerableExtensions.cs:line 92 at Lombiq.Tests.UI.Services.UITestContext.TriggerAfterPageChangeEventAsync() in /home/runner/actions-runner/_work/Open-
UI test may be flaky
The Lombiq.Tests.UI.Samples.Tests.AzureBlobStorageTests.AnonymousHomePageShouldExistWithAzureBlobStorage test failed 1 time(s) and will be retried. This may indicate it being flaky.
UI test may be flaky
The Lombiq.Tests.UI.Samples.Tests.AzureBlobStorageTests.AnonymousHomePageShouldExistWithAzureBlobStorage test failed 2 time(s) and will be retried. This may indicate it being flaky.

Artifacts

Produced during runtime
Name Size
build-binary-log-.-Linux-X64-buildjet.com_7933466e-c084-4d96-9c83-abd867b0c8c7.binlog Expired
12.2 MB
ui-test-failure-dump-NuGetTest-Linux-X64-GitHub Actions 4 Expired
134 MB