]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/visualTests/dashboard.vrt-spec.ts
buildsys: change download over to reef release
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / visualTests / dashboard.vrt-spec.ts
1 import { LoginPageHelper } from '../ui/login.po';
2
3 describe('Dashboard Landing Page', () => {
4 const login = new LoginPageHelper();
5
6 beforeEach(() => {
7 cy.eyesOpen({
8 testName: 'Dashboard Component'
9 });
10 });
11
12 afterEach(() => {
13 cy.eyesClose();
14 });
15
16 it('should take screenshot of dashboard landing page', () => {
17 login.navigateTo();
18 login.doLogin();
19 cy.get('.card-text').should('be.visible');
20 cy.eyesCheckWindow({ tag: 'Dashboard landing page', ignore: { selector: '.card-text' } });
21 });
22 });