Remove sensitive data from tracked files before BFG history cleanup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 23:00:58 +08:00
parent c91d278f1b
commit dc0a98f819
18 changed files with 28 additions and 921 deletions

View File

@@ -2,11 +2,11 @@ const MSG_ACCOUNT_NOT_UNIQUE = 'Account has already been registered.';
describe('Account duplication check.', ()=>{
beforeEach(() => {
cy.visit('https://REDACTED-HOST/account-admin');
const username = 'cindy';
const password = Cypress.env('loginPwd');
cy.visit('/account-admin');
const username = Cypress.env('user').username;
const password = Cypress.env('user').password;
cy.visit('https://REDACTED-HOST/account-admin');
cy.visit('/account-admin');
cy.get('input[id="account"]').type(username);
cy.get('input[id="password"]').type(password);

View File

@@ -3,11 +3,11 @@ const MSG_PWD_NOT_MATCHED = 'Confirm Password does not match.';
describe('Confirm that two input passwords are equal.', ()=>{
beforeEach(() => {
cy.visit('https://REDACTED-HOST/account-admin');
const username = 'cindy';
const password = Cypress.env('loginPwd');
cy.visit('/account-admin');
const username = Cypress.env('user').username;
const password = Cypress.env('user').password;
cy.visit('https://REDACTED-HOST/account-admin');
cy.visit('/account-admin');
cy.get('input[id="account"]').type(username);
cy.get('input[id="password"]').type(password);

View File

@@ -2,11 +2,11 @@ import { getRandomInt } from '../../../src/utils/jsUtils';
describe('Create an Account', ()=>{
beforeEach(() => {
cy.visit('https://REDACTED-HOST/account-admin');
const username = 'cindy';
const password = Cypress.env('loginPwd');
cy.visit('/account-admin');
const username = Cypress.env('user').username;
const password = Cypress.env('user').password;
cy.visit('https://REDACTED-HOST/account-admin');
cy.visit('/account-admin');
cy.get('input[id="account"]').type(username);
cy.get('input[id="password"]').type(password);

View File

@@ -1,10 +1,10 @@
describe('Delete an Account', ()=>{
beforeEach(() => {
cy.visit('https://REDACTED-HOST/account-admin');
const username = 'cindy';
const password = Cypress.env('loginPwd');
cy.visit('/account-admin');
const username = Cypress.env('user').username;
const password = Cypress.env('user').password;
cy.visit('https://REDACTED-HOST/account-admin');
cy.visit('/account-admin');
cy.get('input[id="account"]').type(username);
cy.get('input[id="password"]').type(password);

View File

@@ -14,11 +14,11 @@ Cypress.Commands.add('manualScrollToBottom', (repeats = 20) => {
describe('Edit an account', ()=>{
beforeEach(() => {
cy.visit('https://REDACTED-HOST/account-admin');
const username = 'cindy';
const password = Cypress.env('loginPwd');
cy.visit('/account-admin');
const username = Cypress.env('user').username;
const password = Cypress.env('user').password;
cy.visit('https://REDACTED-HOST/account-admin');
cy.visit('/account-admin');
cy.get('input[id="account"]').type(username);
cy.get('input[id="password"]').type(password);