From 105e7495b25dd871799ae98eac5852f97c79b43d Mon Sep 17 00:00:00 2001 From: labkey-tchad Date: Mon, 10 Nov 2025 11:07:46 -0800 Subject: [PATCH] Ensure legal random domain name --- experiment/src/client/test/integration/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiment/src/client/test/integration/utils.ts b/experiment/src/client/test/integration/utils.ts index fc49ebb52a8..d6fc55d3081 100644 --- a/experiment/src/client/test/integration/utils.ts +++ b/experiment/src/client/test/integration/utils.ts @@ -548,7 +548,7 @@ export async function checkDomainName(server: IntegrationTestServer, domainType: // spaces should be trimmed before validation await verifyDomainCreateSuccess(server, domainType, ' startWithSpace', folderOptions, userOptions); - const domainName = selectRandomN(alphaNumeric, 2).join('') + selectRandomN(LEGAL_CHARSET, 5).join(''); + const domainName = selectRandomN(alphaNumeric, 2).join('') + selectRandomN(LEGAL_CHARSET, 5).join('').replaceAll(' -', ' _-'); // name may not contain space followed by dash const { domainId, domainURI } = await verifyDomainCreateSuccess(server, domainType, domainName, folderOptions, userOptions); let dataTypeRowId = 0;