Fixes: https://tracker.ceph.com/issues/55270
Signed-off-by: Sarthak0702 <sarthak.dev.0702@gmail.com>
"mochaFile": "cypress/reports/results-[hash].xml"
}
},
- "retries": 1
+ "retries": 1,
+ "env": {
+ "LOGIN_USER": "admin",
+ "LOGIN_PASSWORD": "admin"
+ }
}
};
Cypress.Commands.add('login', () => {
- const username = Cypress.env('LOGIN_USER') || 'admin';
- const password = Cypress.env('LOGIN_PWD') || 'admin';
+ const username = Cypress.env('LOGIN_USER');
+ const password = Cypress.env('LOGIN_PWD');
if (auth === undefined) {
cy.request({