CASH-176
CASH-176 Removed console.logs from license-plate-lookup.spec.js
This commit is contained in:
parent
63a7fd71ea
commit
f9b043ca66
4 changed files with 12 additions and 10 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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(
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue