Passed
Push — develop ( de30ca...419b4a )
by
unknown
01:34
created

functionnal_tests/cypress_test/helpers/index.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 7
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
eloc 6
c 1
b 0
f 0
nc 1
dl 0
loc 7
rs 10
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 0
1
export function login (cy) {
2
    cy.visit('/login')
3
    cy.get('input[type=email]').should('be.visible')
4
    cy.get('input[type=email]').type('[email protected]')
5
    cy.get('input[type=password]').type('[email protected]')
6
    cy.get('.connection__form__btnsubmit').click()
7
}
8