Explorar o código

Wait until the contents of User settings are displayed

Shun Miyazawa %!s(int64=3) %!d(string=hai) anos
pai
achega
8002bae144

+ 3 - 2
packages/app/test/cypress/integration/20-basic-features/access-to-page.spec.ts

@@ -95,8 +95,9 @@ context('Access to /me page', () => {
 
   it('/me is successfully loaded', () => {
     cy.visit('/me');
-    // eslint-disable-next-line cypress/no-unnecessary-waiting
-    cy.wait(500); // wait loading image
+
+    cy.getByTestid('grw-user-settings').should('be.visible');
+
     cy.screenshot(`${ssPrefix}-me`);
   });