diff --git a/.circleci/config.yml b/.circleci/config.yml index 102686d6c2..ae09ed5fa6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,7 +56,6 @@ commands: - run: command: | source $BASH_ENV - export PERL5OPT="$PERL5OPT -MSyntax::Keyword::Try::Deparse" if [ "x$COVERAGE" == "x1" ] then make devtest TESTS="--no-progress --job-count $JOB_COUNT \"--cover=$DEVEL_COVER_OPTIONS\" t/ xt/" @@ -318,6 +317,7 @@ executors: RELEASE_TESTING: 1 REMOTE_SERVER_ADDR: selenium-hub STARMAN_DEVEL_COVER_OPTIONS: '' + TEST2_UUID_NO_WARN: 'Yes' UIUSER: Jest UIPASSWORD: Tester UITESTS: '*' @@ -329,14 +329,14 @@ jobs: <<: *defaults executor: name: test - perl: '5.34' + perl: '5.36' postgres: '12' browser: chrome selenium: selenium/node-chrome:3.141.59-20210607 # coverage: 1 steps: - prep_env: - perl: '5.34' + perl: '5.36' - start_starman - start_proxy - prove diff --git a/UI/package.json b/UI/package.json index 7cf9f3d547..c92868c455 100644 --- a/UI/package.json +++ b/UI/package.json @@ -121,7 +121,7 @@ "stylelint-webpack-plugin": "5.0.1", "stylelint-z-index-value-constraint": "1.4.0", "tmp": "0.2.3", - "undici": "6.21.0", + "undici": "7.2.0", "unix-timestamp": "1.1.0", "unused-webpack-plugin": "2.4.0", "vue": "3.5.13", diff --git a/UI/tests/common/jest.polyfills.js b/UI/tests/common/jest.polyfills.js index e862f150e1..ebd1760815 100644 --- a/UI/tests/common/jest.polyfills.js +++ b/UI/tests/common/jest.polyfills.js @@ -2,9 +2,12 @@ const { TextEncoder, TextDecoder } = require("node:util"); const { ReadableStream, TransformStream } = require("node:stream/web"); +const { MessageChannel, MessagePort } = require("node:worker_threads"); const { performance } = require("node:perf_hooks"); Object.defineProperties(globalThis, { + MessageChannel: { value: MessageChannel }, + MessagePort: { value: MessagePort }, ReadableStream: { value: ReadableStream }, TextDecoder: { value: TextDecoder }, TextEncoder: { value: TextEncoder }, diff --git a/UI/yarn.lock b/UI/yarn.lock index 727d5ee2eb..d07fd72ff4 100644 --- a/UI/yarn.lock +++ b/UI/yarn.lock @@ -10469,10 +10469,10 @@ undici-types@~6.19.8: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== -undici@6.21.0: - version "6.21.0" - resolved "https://registry.yarnpkg.com/undici/-/undici-6.21.0.tgz#4b3d3afaef984e07b48e7620c34ed8a285ed4cd4" - integrity sha512-BUgJXc752Kou3oOIuU1i+yZZypyZRqNPW0vqoMPl8VaoalSfeR0D8/t4iAS3yirs79SSMTxTag+ZC86uswv+Cw== +undici@7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/undici/-/undici-7.2.0.tgz#446219e2a57cfcbdc2f135fcfa6dc662b3cae169" + integrity sha512-klt+0S55GBViA9nsq48/NSCo4YX5mjydjypxD7UmHh/brMu8h/Mhd/F7qAeoH2NOO8SDTk6kjnTFc4WpzmfYpQ== unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.1" diff --git a/cpanfile b/cpanfile index e60498132b..ef001f6b2d 100644 --- a/cpanfile +++ b/cpanfile @@ -119,6 +119,7 @@ requires 'Text::Markdown'; requires 'URI'; requires 'URI::Escape'; requires 'Workflow', '1.59'; +requires 'Workflow::Action', '1.59'; requires 'Workflow::Condition', '1.59'; requires 'Workflow::Context', '1.59'; requires 'Workflow::Exception', '1.59'; @@ -189,13 +190,7 @@ on 'develop' => sub { requires 'Selenium::Remote::Driver'; requires 'TAP::Parser::SourceHandler::pgTAP', '3.33'; requires 'Test::BDD::Cucumber', '0.86'; - if ($ENV{CI}) { - # Required to suppress a variable re-definition - requires 'Test::Dependencies', '0.30'; - } - else { - requires 'Test::Dependencies', '0.25'; - } + requires 'Test::Dependencies', '0.34'; requires 'Test::Pod', '1.00'; requires 'Test::Pod::Coverage'; requires 'Test2::Harness';