1 // Cypress.Commands.add('login', () => {
3 // 'LOGIN_ID': '#loginId',
4 // 'PASSWORD_ID': '#password'
7 // cy.on('fail', (err, runnable) => { return false});
8 // cy.visit('/login_external.htm')
9 // .get(constant.LOGIN_ID).type('16807000')
10 // .get(constant.PASSWORD_ID).type('16807000')
11 // .get('#loginBtn').click()
12 // .getCookies().then((cookies) => {
13 // console.log(cookies[0].value)