Merge pull request #3010 from Safelite/nation/CASH-2148
Nation/cash 2148
This commit is contained in:
commit
46d1cfed37
3 changed files with 10 additions and 0 deletions
|
|
@ -306,6 +306,12 @@ describe("partQuestions.vue...", () => {
|
|||
//Assert
|
||||
expect(spy).toHaveBeenNthCalledWith(
|
||||
1,
|
||||
storeActions.SAVE_IS_OEM_GLASS_SELECTED,
|
||||
false,
|
||||
false
|
||||
);
|
||||
expect(spy).toHaveBeenNthCalledWith(
|
||||
2,
|
||||
"savePartQuestionAnswers",
|
||||
[
|
||||
{
|
||||
|
|
|
|||
|
|
@ -188,6 +188,8 @@ export default {
|
|||
}
|
||||
});
|
||||
|
||||
this.dispatchStoreAction(this.storeActions.SAVE_IS_OEM_GLASS_SELECTED, false, false);
|
||||
|
||||
// save to vuex store as order.damage.partQuestionAnswers (array)
|
||||
// used in GET_PARTS call following this one
|
||||
await this.dispatchStoreAction(
|
||||
|
|
|
|||
|
|
@ -198,6 +198,8 @@ export default {
|
|||
false
|
||||
);
|
||||
|
||||
this.dispatchStoreAction(this.storeActions.SAVE_IS_OEM_GLASS_SELECTED, false, false);
|
||||
|
||||
// Navigate to the next page
|
||||
this.navigateForward(matchedParts);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue