]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/cypress/e2e/visualTests/login.vrt-spec.ts
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / e2e / visualTests / login.vrt-spec.ts
1 describe('Login Page', () => {
2 beforeEach(() => {
3 cy.visit('#/login');
4 cy.eyesOpen({
5 appName: 'Ceph',
6 testName: 'Login Component Check'
7 });
8 });
9
10 afterEach(() => {
11 cy.eyesClose();
12 });
13
14 it('types login credentials and takes screenshot', () => {
15 cy.get('[name=username]').type('admin');
16 cy.get('#password').type('admin');
17 cy.eyesCheckWindow({ tag: 'Login Screen with credentials typed' });
18 });
19 });