Skip to content

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

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

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

Triggered via pull request December 4, 2023 15:39
Status Failure
Total duration 20m 34s
Artifacts 1

build-and-test.yml

on: pull_request
Matrix: Build and Test - root solution (larger runners) / Build and Test
Matrix: PowerShell Static Code Analysis / PowerShell Static Code Analysis
Spelling  /  Check Spelling
1m 13s
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

3 errors and 2 warnings
PageChangeAssertionException in Lombiq.Tests.UI.Samples.Tests.DatabaseSnapshotTests.BasicOrchardFeaturesShouldWorkWithExistingDatabase: test/Lombiq.UITestingToolbox/Lombiq.Tests.UI.Samples/Tests/DatabaseSnapshotTests.cs#L31
Lombiq.Tests.UI.Exceptions.PageChangeAssertionException: An assertion during the page change event has failed on page https://localhost:9038/ (Blog - Test Site). ---> 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:6: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 \"9be2c894-9763-4db2-b5aa-6325df1e4b86.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-Source-Orchard-Cor
UI test may be flaky
The Lombiq.Tests.UI.Samples.Tests.DatabaseSnapshotTests.BasicOrchardFeaturesShouldWorkWithExistingDatabase 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.DatabaseSnapshotTests.BasicOrchardFeaturesShouldWorkWithExistingDatabase 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_6e48a7e6-d849-4d6e-9e8b-b57030548f94.binlog Expired
12 MB