diff --git a/.yarn/cache/@testing-library-dom-npm-10.0.0-708b4ef7e6-d0d0ffffed.zip b/.yarn/cache/@testing-library-dom-npm-10.1.0-720175996f-6d6ef942de.zip similarity index 53% rename from .yarn/cache/@testing-library-dom-npm-10.0.0-708b4ef7e6-d0d0ffffed.zip rename to .yarn/cache/@testing-library-dom-npm-10.1.0-720175996f-6d6ef942de.zip index 33a232dc898e..39a10c264b06 100644 Binary files a/.yarn/cache/@testing-library-dom-npm-10.0.0-708b4ef7e6-d0d0ffffed.zip and b/.yarn/cache/@testing-library-dom-npm-10.1.0-720175996f-6d6ef942de.zip differ diff --git a/.yarn/cache/@testing-library-react-npm-15.0.7-fc23780217-a9342ad09b.zip b/.yarn/cache/@testing-library-react-npm-15.0.7-fc23780217-a9342ad09b.zip deleted file mode 100644 index 4badcb7a4ded..000000000000 Binary files a/.yarn/cache/@testing-library-react-npm-15.0.7-fc23780217-a9342ad09b.zip and /dev/null differ diff --git a/.yarn/cache/@testing-library-react-npm-16.0.0-244d3b3dd4-b32894be94.zip b/.yarn/cache/@testing-library-react-npm-16.0.0-244d3b3dd4-b32894be94.zip new file mode 100644 index 000000000000..34cbe3cc02f4 Binary files /dev/null and b/.yarn/cache/@testing-library-react-npm-16.0.0-244d3b3dd4-b32894be94.zip differ diff --git a/.yarn/cache/@types-aria-query-npm-5.0.1-5c01a56741-0635081bb5.zip b/.yarn/cache/@types-aria-query-npm-5.0.1-5c01a56741-0635081bb5.zip deleted file mode 100644 index 3abcda219b62..000000000000 Binary files a/.yarn/cache/@types-aria-query-npm-5.0.1-5c01a56741-0635081bb5.zip and /dev/null differ diff --git a/.yarn/cache/@types-aria-query-npm-5.0.4-51d2b61619-c0084c389d.zip b/.yarn/cache/@types-aria-query-npm-5.0.4-51d2b61619-c0084c389d.zip new file mode 100644 index 000000000000..136bea2bdbe1 Binary files /dev/null and b/.yarn/cache/@types-aria-query-npm-5.0.4-51d2b61619-c0084c389d.zip differ diff --git a/.yarn/cache/@types-react-dom-npm-18.0.2-9bfae9960a-4d3895f335.zip b/.yarn/cache/@types-react-dom-npm-18.0.2-9bfae9960a-4d3895f335.zip deleted file mode 100644 index 1524fd7aeedd..000000000000 Binary files a/.yarn/cache/@types-react-dom-npm-18.0.2-9bfae9960a-4d3895f335.zip and /dev/null differ diff --git a/.yarn/cache/dom-accessibility-api-npm-0.5.10-74ce83a819-3ce183680c.zip b/.yarn/cache/dom-accessibility-api-npm-0.5.10-74ce83a819-3ce183680c.zip deleted file mode 100644 index f883b3df08ff..000000000000 Binary files a/.yarn/cache/dom-accessibility-api-npm-0.5.10-74ce83a819-3ce183680c.zip and /dev/null differ diff --git a/.yarn/cache/dom-accessibility-api-npm-0.5.16-d3e2310666-377b4a7f9e.zip b/.yarn/cache/dom-accessibility-api-npm-0.5.16-d3e2310666-377b4a7f9e.zip new file mode 100644 index 000000000000..2e247c2d0234 Binary files /dev/null and b/.yarn/cache/dom-accessibility-api-npm-0.5.16-d3e2310666-377b4a7f9e.zip differ diff --git a/package.json b/package.json index 91e078599b65..d40172df7a50 100644 --- a/package.json +++ b/package.json @@ -52,8 +52,9 @@ "@percy/cli": "^1.27.0", "@percy/playwright": "^1.0.4", "@playwright/test": "^1.36.2", + "@testing-library/dom": "^10.1.0", "@testing-library/jest-dom": "^6.0.0", - "@testing-library/react": "^15.0.6", + "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.4.3", "@types/react-is": "~18.3.0", "accessibility-checker": "^3.1.48", diff --git a/yarn.lock b/yarn.lock index 8648a3b64404..e4e5400cd784 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6864,9 +6864,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^10.0.0": - version: 10.0.0 - resolution: "@testing-library/dom@npm:10.0.0" +"@testing-library/dom@npm:^10.1.0": + version: 10.1.0 + resolution: "@testing-library/dom@npm:10.1.0" dependencies: "@babel/code-frame": "npm:^7.10.4" "@babel/runtime": "npm:^7.12.5" @@ -6876,7 +6876,7 @@ __metadata: dom-accessibility-api: "npm:^0.5.9" lz-string: "npm:^1.5.0" pretty-format: "npm:^27.0.2" - checksum: 10/d0d0ffffed0dae705c5c615d8779348743e66704b2da1ce3e2df7c2d038cde55d7f11819e9b50ca53d3ec815050fab928c8845316c2f713141b9fb8ad50921f6 + checksum: 10/6d6ef942deedf547180c76d4cc2c43fe8e52a98ef68be6ba7382a43d3b1e1e5696d9c32ae0b2df12c92ea50023187d132ad2542fc118ba4b900f149e97d019e0 languageName: node linkType: hard @@ -6910,21 +6910,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^15.0.6": - version: 15.0.7 - resolution: "@testing-library/react@npm:15.0.7" +"@testing-library/react@npm:^16.0.0": + version: 16.0.0 + resolution: "@testing-library/react@npm:16.0.0" dependencies: "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^10.0.0" - "@types/react-dom": "npm:^18.0.0" peerDependencies: + "@testing-library/dom": ^10.0.0 "@types/react": ^18.0.0 + "@types/react-dom": ^18.0.0 react: ^18.0.0 react-dom: ^18.0.0 peerDependenciesMeta: "@types/react": optional: true - checksum: 10/a9342ad09b019b0f99688fb50265899bc93adfe23c22aa6743fd920635b43fdc66877e66d95f240923aa6f7d3aa360837f5b053fb363a31975788974dff7bc93 + "@types/react-dom": + optional: true + checksum: 10/b32894be94e31276138decfa6bcea69dfebc0c37cf91499ff6c878f41eb1154a43a7df6eb1e72e7bede78468af6cb67ca59e4acd3206b41f3ecdae2c6efdf67e languageName: node linkType: hard @@ -6991,9 +6993,9 @@ __metadata: linkType: hard "@types/aria-query@npm:^5.0.1": - version: 5.0.1 - resolution: "@types/aria-query@npm:5.0.1" - checksum: 10/0635081bb506576b937899afa8e76e6b8d2faf5662f309d6fdc3fc89c749d63362cd8cb3baa0a6d786fe8664994fbffbb11461fcad62b5394f2663891e722b86 + version: 5.0.4 + resolution: "@types/aria-query@npm:5.0.4" + checksum: 10/c0084c389dc030daeaf0115a92ce43a3f4d42fc8fef2d0e22112d87a42798d4a15aac413019d4a63f868327d52ad6740ab99609462b442fe6b9286b172d2e82e languageName: node linkType: hard @@ -7448,15 +7450,6 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0": - version: 18.0.2 - resolution: "@types/react-dom@npm:18.0.2" - dependencies: - "@types/react": "npm:*" - checksum: 10/4d3895f3358d95cc9d2a506997212e48b3438bd01c28297e9274348459868b2877bf6c8797bd152da190ed2b80a477d0f027bb221ddd6011239d0e278d6a46e1 - languageName: node - linkType: hard - "@types/react-is@npm:~18.3.0": version: 18.3.0 resolution: "@types/react-is@npm:18.3.0" @@ -9947,8 +9940,9 @@ __metadata: "@percy/cli": "npm:^1.27.0" "@percy/playwright": "npm:^1.0.4" "@playwright/test": "npm:^1.36.2" + "@testing-library/dom": "npm:^10.1.0" "@testing-library/jest-dom": "npm:^6.0.0" - "@testing-library/react": "npm:^15.0.6" + "@testing-library/react": "npm:^16.0.0" "@testing-library/user-event": "npm:^14.4.3" "@types/react-is": "npm:~18.3.0" accessibility-checker: "npm:^3.1.48" @@ -12272,9 +12266,9 @@ __metadata: linkType: hard "dom-accessibility-api@npm:^0.5.6, dom-accessibility-api@npm:^0.5.9": - version: 0.5.10 - resolution: "dom-accessibility-api@npm:0.5.10" - checksum: 10/3ce183680c598392f89ec13fd04f495f95890c09d3da45909123ff549a10621ca21eee0258f929e4ed16a2cc73255d649174402b5fb7cd790983aa33b5a6fa3f + version: 0.5.16 + resolution: "dom-accessibility-api@npm:0.5.16" + checksum: 10/377b4a7f9eae0a5d72e1068c369c99e0e4ca17fdfd5219f3abd32a73a590749a267475a59d7b03a891f9b673c27429133a818c44b2e47e32fec024b34274e2ca languageName: node linkType: hard