New Angular UI from 1806
Change-Id: I39c160db0e0a6ec2e587ccf007ee1b23c6a08666
Issue-ID: VID-208
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
diff --git a/vid-webpack-master/cypress/support/commands.ts b/vid-webpack-master/cypress/support/commands.ts
new file mode 100644
index 0000000..3f72c23
--- /dev/null
+++ b/vid-webpack-master/cypress/support/commands.ts
@@ -0,0 +1,15 @@
+// Cypress.Commands.add('login', () => {
+// const constant = {
+// 'LOGIN_ID': '#loginId',
+// 'PASSWORD_ID': '#password'
+// };
+//
+// cy.on('fail', (err, runnable) => { return false});
+// cy.visit('/login_external.htm')
+// .get(constant.LOGIN_ID).type('16807000')
+// .get(constant.PASSWORD_ID).type('16807000')
+// .get('#loginBtn').click()
+// .getCookies().then((cookies) => {
+// console.log(cookies[0].value)
+// })
+// });