diff --git a/packages/core/admin/admin/src/pages/AuthPage/components/Login/tests/BaseLogin.test.js b/packages/core/admin/admin/src/pages/AuthPage/components/Login/tests/BaseLogin.test.js index 475d7c6500..dc3608183b 100644 --- a/packages/core/admin/admin/src/pages/AuthPage/components/Login/tests/BaseLogin.test.js +++ b/packages/core/admin/admin/src/pages/AuthPage/components/Login/tests/BaseLogin.test.js @@ -401,7 +401,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => { opacity: 1; } - .c19:disabled { + .c19[aria-disabled='true'] { background: inherit; color: inherit; } @@ -439,7 +439,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => { opacity: 1; } - .c20:disabled { + .c20[aria-disabled='true'] { background: inherit; color: inherit; } @@ -600,6 +600,7 @@ describe('ADMIN | PAGES | AUTH | BaseLogin', () => { class="c1 c17 c18" > { class="c1 c17 c18" > { opacity: 1; } - .c29:disabled { + .c29[aria-disabled='true'] { background: inherit; color: inherit; } @@ -445,7 +445,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => { opacity: 1; } - .c30:disabled { + .c30[aria-disabled='true'] { background: inherit; color: inherit; } @@ -690,6 +690,7 @@ describe('ADMIN | PAGES | AUTH | Register', () => { class="c0 c27 c28" > { class="c0 c27 c28" > { class="c0 c27 c28" > { > { class="c0 c27 c28" > { opacity: 1; } - .c23:disabled { + .c23[aria-disabled='true'] { background: inherit; color: inherit; } @@ -554,6 +554,7 @@ describe('ADMIN | PAGES | AUTH | ResetPassword', () => { > { class="c0 c21 c22" > { opacity: 1; } - .c26:disabled { + .c26[aria-disabled='true'] { background: inherit; color: inherit; } @@ -666,6 +666,7 @@ describe('ADMIN | Pages | Profile page', () => { class="c24 c25" > { class="c24 c25" > { class="c24 c25" > { class="c24 c25" > { class="c24 c25" > { class="c24 c25" > renders and matches the snapshot 1`] = ` opacity: 1; } -.c26:disabled { +.c26[aria-disabled='true'] { background: inherit; color: inherit; } @@ -674,6 +674,7 @@ exports[` renders and matches the snapshot 1`] = ` class="c1 c3 c25" > renders and matches the snapshot 1`] = ` opacity: 1; } -.c26:disabled { +.c26[aria-disabled='true'] { background: inherit; color: inherit; } @@ -681,6 +681,7 @@ exports[` renders and matches the snapshot 1`] = ` class="c1 c3 c25" > { opacity: 1; } - .c22:disabled { + .c22[aria-disabled='true'] { background: inherit; color: inherit; } @@ -678,9 +678,9 @@ describe('Email | Pages | Settings', () => { disabled="" > { disabled="" > { class="c20 c35" > { padding-left: 40px; } - .c30 { - background: #212134; - padding: 8px; - border-radius: 4px; - } - .c1 { position: absolute; z-index: 3; @@ -112,31 +106,6 @@ describe('', () => { align-items: center; } - .c33 { - font-weight: 500; - font-size: 0.75rem; - line-height: 1.33; - color: #ffffff; - } - - .c32 { - border: 0; - -webkit-clip: rect(0 0 0 0); - clip: rect(0 0 0 0); - height: 1px; - margin: -1px; - overflow: hidden; - padding: 0; - position: absolute; - width: 1px; - } - - .c31 { - position: absolute; - z-index: 3; - display: revert; - } - .c9 { display: -webkit-box; display: -webkit-flex; @@ -453,28 +422,25 @@ describe('', () => { > Upload assets - - - + + +
{
-
- `); }); diff --git a/packages/plugins/users-permissions/admin/src/components/FormModal/Input/tests/index.test.js b/packages/plugins/users-permissions/admin/src/components/FormModal/Input/tests/index.test.js index 46bb89b45d..f4b75e43e3 100644 --- a/packages/plugins/users-permissions/admin/src/components/FormModal/Input/tests/index.test.js +++ b/packages/plugins/users-permissions/admin/src/components/FormModal/Input/tests/index.test.js @@ -106,7 +106,7 @@ describe('', () => { opacity: 1; } - .c6:disabled { + .c6[aria-disabled='true'] { background: inherit; color: inherit; } @@ -161,6 +161,7 @@ describe('', () => { class="c4 c5" > { opacity: 1; } - .c25:disabled { + .c25[aria-disabled='true'] { background: inherit; color: inherit; } @@ -771,6 +771,7 @@ describe('Admin | containers | RoleEditPage', () => { class="c7 c23 c24" >