]>
Commit | Line | Data |
---|---|---|
a4b75251 TL |
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 | }); |