]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/dashboard/frontend/cypress/integration/visualTests/login.vrt-spec.ts
import ceph 16.2.7
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / cypress / integration / visualTests / login.vrt-spec.ts
CommitLineData
a4b75251
TL
1describe('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});