sonar security hotspots
This commit is contained in:
@@ -8,5 +8,8 @@ module.exports = defineConfig({
|
|||||||
e2e: {
|
e2e: {
|
||||||
specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}",
|
specPattern: "cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}",
|
||||||
},
|
},
|
||||||
includeShadowDom: true
|
includeShadowDom: true,
|
||||||
|
env: {
|
||||||
|
loginPwd: 'REDACTED-PWD',
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ describe('Account duplication check.', ()=>{
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
const username = 'cindy';
|
const username = 'cindy';
|
||||||
const password = 'REDACTED-PWD';
|
const password = Cypress.env('loginPwd');
|
||||||
|
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ describe('Confirm that two input passwords are equal.', ()=>{
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
const username = 'cindy';
|
const username = 'cindy';
|
||||||
const password = 'REDACTED-PWD';
|
const password = Cypress.env('loginPwd');
|
||||||
|
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ describe('Create an Account', ()=>{
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
const username = 'cindy';
|
const username = 'cindy';
|
||||||
const password = 'REDACTED-PWD';
|
const password = Cypress.env('loginPwd');
|
||||||
|
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ describe('Delete an Account', ()=>{
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
const username = 'cindy';
|
const username = 'cindy';
|
||||||
const password = 'REDACTED-PWD';
|
const password = Cypress.env('loginPwd');
|
||||||
|
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ describe('Edit an account', ()=>{
|
|||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
const username = 'cindy';
|
const username = 'cindy';
|
||||||
const password = 'REDACTED-PWD';
|
const password = Cypress.env('loginPwd');
|
||||||
|
|
||||||
cy.visit('https://REDACTED-HOST/account-admin');
|
cy.visit('https://REDACTED-HOST/account-admin');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user