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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
describe('Performance', ()=>{
|
||||
beforeEach(() => {
|
||||
cy.visit('https://REDACTED-HOST/files');
|
||||
cy.visit('/files');
|
||||
cy.login();
|
||||
cy.visit('https://REDACTED-HOST/files');
|
||||
cy.visit('/files');
|
||||
cy.url().should('include', 'files');
|
||||
cy.contains('li', 'COMPARE').click();
|
||||
});
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
describe('Modal dismissal related navigation button test', ()=>{
|
||||
beforeEach(() => {
|
||||
cy.visit('https://REDACTED-HOST/files');
|
||||
cy.visit('/files');
|
||||
cy.login();
|
||||
cy.visit('https://REDACTED-HOST/files');
|
||||
cy.visit('/files');
|
||||
});
|
||||
|
||||
it("On MAP page, after dismissing modal, active page is still MAP page, not CONFORMANCE page.", () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
const conformanceExampleUrl = "https://REDACTED-HOST/discover/conformance/log/185524797/conformance";
|
||||
const urlUnderTestNotEncoded = `https://REDACTED-HOST/login?return-to=${conformanceExampleUrl}`;
|
||||
const conformanceExampleUrl = "http://localhost:5173/discover/conformance/log/185524797/conformance";
|
||||
const urlUnderTestNotEncoded = `http://localhost:5173/login?return-to=${conformanceExampleUrl}`;
|
||||
const urlsUnderTest = [urlUnderTestNotEncoded,];
|
||||
describe('Conformance url pastetd', ()=>{
|
||||
urlsUnderTest.forEach((curUrl) => {
|
||||
|
||||
Reference in New Issue
Block a user