From 0ce8480723d41d68947279544feec3168eb19a13 Mon Sep 17 00:00:00 2001
From: tom pridham <pridham.tom@gmail.com>
Date: Fri, 1 Sep 2023 15:06:12 -0600
Subject: [PATCH] fix: update testing-libary-dom to 9

---
 cypress/e2e/find.cy.js | 2 +-
 package.json           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cypress/e2e/find.cy.js b/cypress/e2e/find.cy.js
index 1516213..f54f5ea 100644
--- a/cypress/e2e/find.cy.js
+++ b/cypress/e2e/find.cy.js
@@ -65,7 +65,7 @@ describe('find* dom-testing-library commands', () => {
   })
 
   it('findAllByRole', () => {
-    cy.findAllByRole(/^dialog/).should('have.length', 2)
+    cy.findAllByRole('dialog').should('have.length', 1)
   })
 
   it('findByTestId', () => {
diff --git a/package.json b/package.json
index 3f9703f..a224a61 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
   "license": "MIT",
   "dependencies": {
     "@babel/runtime": "^7.14.6",
-    "@testing-library/dom": "^8.1.0"
+    "@testing-library/dom": "^9.0.0"
   },
   "devDependencies": {
     "cypress": "^12.0.0",