Просмотр исходного кода

Merge pull request #5316 from weseek/imprv/user-page-access-test

imprv: visit user page test
Yuki Takei 4 лет назад
Родитель
Сommit
a3b669a363

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

@@ -30,6 +30,11 @@ context('Access to page', () => {
     cy.screenshot(`${ssPrefix}-sandbox-headers`, { capture: 'viewport' });
   });
 
+  it('/user/admin is successfully loaded', () => {
+    cy.visit('/user/admin', {  });
+    cy.screenshot(`${ssPrefix}-user-admin`, { capture: 'viewport' });
+  });
+
   it('/Sandbox/Math is successfully loaded', () => {
     cy.visit('/Sandbox/Math');
     cy.screenshot(`${ssPrefix}-sandbox-math`, { capture: 'viewport' });