summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/cypress/integration/ui/login.e2e-spec.ts
blob: 29c9e9e10bbb24fdf8e6aabe4a82d5b4a70e38c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { LoginPageHelper } from './login.po';

describe('Login page', () => {
  const login = new LoginPageHelper();

  it('should login and navigate to dashboard page', () => {
    login.navigateTo();
    login.doLogin();
  });

  it('should logout when clicking the button', () => {
    login.navigateTo();
    login.doLogin();

    login.doLogout();
  });
});