CASH-176 Removed console.logs from license-plate-lookup.spec.js
This commit is contained in:
Johnny shultz 2025-02-06 16:48:43 -05:00
parent 63a7fd71ea
commit f9b043ca66
4 changed files with 12 additions and 10 deletions

View file

@ -158,8 +158,8 @@ export default {
box-shadow: none; box-shadow: none;
} }
&:focus-visible span { &:focus-visible span {
outline: 2px solid #005FCC; outline: 2px solid #005fcc;
border-radius: .25rem; border-radius: 0.25rem;
} }
&.delay { &.delay {
// fixes flicker while transitioning between states // fixes flicker while transitioning between states

View file

@ -361,7 +361,11 @@ export default {
const phone = this.customerQuestions.emailOrSms.replace(/[()]/g, ""); const phone = this.customerQuestions.emailOrSms.replace(/[()]/g, "");
await this.dispatchStoreAction(storeActions.SAVE_PHONE_NUMBER, phone, false); await this.dispatchStoreAction(storeActions.SAVE_PHONE_NUMBER, phone, false);
} else { } else {
await this.dispatchStoreAction(storeActions.SAVE_EMAIL, this.customerQuestions.emailOrSms, false); await this.dispatchStoreAction(
storeActions.SAVE_EMAIL,
this.customerQuestions.emailOrSms,
false
);
} }
await this.dispatchStoreAction( await this.dispatchStoreAction(

View file

@ -625,8 +625,6 @@ function setupMocks({
licensePlate = null, //"TESTPLATE", licensePlate = null, //"TESTPLATE",
emailAddress = null, //"test@test.com" emailAddress = null, //"test@test.com"
}) { }) {
console.log("======================================================================================================" + emailAddress);
console.log("serviceLocationZipCode" + serviceLocationZipCode);
store.commit(storeMutations.RESET_STATE); store.commit(storeMutations.RESET_STATE);
//Mock api responses //Mock api responses
const apiResponses = { const apiResponses = {

View file

@ -1293,16 +1293,16 @@ export const actions = {
{ payload: { userId, deviceId, sessionKey, pageName, experiment }, pageNameToLog } { payload: { userId, deviceId, sessionKey, pageName, experiment }, pageNameToLog }
) { ) {
const experiments = deepClone(context.getters.applicationUser.experiments); const experiments = deepClone(context.getters.applicationUser.experiments);
const experimentToMarkAsExposed = experiments.find(ex => { const experimentToMarkAsExposed = experiments.find((ex) => {
ex.universeId == experiment.universeId && ex.universeId == experiment.universeId &&
ex.testId == experiment.testIde && ex.testId == experiment.testIde &&
ex.variationId == experiment.variationId && ex.variationId == experiment.variationId &&
ex.assignmentId == experiment.assignmentId ex.assignmentId == experiment.assignmentId;
}); });
if (experimentToMarkAsExposed) { if (experimentToMarkAsExposed) {
experimentToMarkAsExposed.isExposed = true; experimentToMarkAsExposed.isExposed = true;
} }
context.commit(storeMutations.UPDATE_EXPERIMENTS, experiments); context.commit(storeMutations.UPDATE_EXPERIMENTS, experiments);
return globalMethods.callHttpClient({ return globalMethods.callHttpClient({