aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/commands.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/support/commands.ts')
-rw-r--r--vid-webpack-master/cypress/support/commands.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/vid-webpack-master/cypress/support/commands.ts b/vid-webpack-master/cypress/support/commands.ts
new file mode 100644
index 000000000..3f72c2339
--- /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)
+// })
+// });