Skip to content

Commit 2e5a5b6

Browse files
authoredFeb 25, 2025··
V15 QA fixed flaky language tests (#18451)
* Added wait for flaky test * Updated version
1 parent ebc38f4 commit 2e5a5b6

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed
 

‎tests/Umbraco.Tests.AcceptanceTest/package-lock.json

+9-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/Umbraco.Tests.AcceptanceTest/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"dependencies": {
2323
"@umbraco/json-models-builders": "^2.0.29",
24-
"@umbraco/playwright-testhelpers": "^15.0.21",
24+
"@umbraco/playwright-testhelpers": "^15.0.23",
2525
"camelize": "^1.0.0",
2626
"dotenv": "^16.3.1",
2727
"node-fetch": "^2.6.7"

‎tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Dictionary/Dictionary.spec.ts

+3
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,13 @@ test('can import a dictionary item with descendants', {tag: '@smoke'}, async ({u
150150
await umbracoUi.dictionary.clickActionsMenuForDictionary(dictionaryName);
151151
await umbracoUi.dictionary.clickImportButton();
152152
await umbracoUi.dictionary.importDictionary(udtFilePath);
153+
// These timeouts are necessary as this test can fail
154+
await umbracoUi.waitForTimeout(500);
153155

154156
// Assert
155157
// Verify the imported dictionary items display in the list
156158
await umbracoUi.reloadPage();
159+
await umbracoUi.waitForTimeout(500);
157160
expect(await umbracoUi.dictionary.doesDictionaryListHaveText(importParentDictionaryName)).toBeTruthy();
158161
expect(await umbracoUi.dictionary.doesDictionaryListHaveText(importChildDictionaryName)).toBeTruthy();
159162
// Verify the imported dictionary items display in the tree

0 commit comments

Comments
 (0)
Please sign in to comment.