Merge pull request #175 from Safelite/feature/Digital/SSR-226
fixed tests to look specific navigation scenarios
This commit is contained in:
commit
5ee5183ed0
1 changed files with 2 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ describe("vehicle-parts.vue", () => {
|
|||
|
||||
//Assert
|
||||
expect(wrapper.vm.$router.navigate).toHaveBeenCalled();
|
||||
expect(wrapper.vm.$router.navigate).toHaveBeenCalledWith("CLICKED_FORWARD_WITH_MOLDING_QUESTIONS", {"query": {"issPage": "vehicle-parts"}}, {}, {}, expect.anything());
|
||||
});
|
||||
|
||||
test("ForwardButtonAction triggers a router.navigate change if there are capability questions", async () => {
|
||||
|
|
@ -376,6 +377,7 @@ describe("vehicle-parts.vue", () => {
|
|||
|
||||
//Assert
|
||||
expect(wrapper.vm.$router.navigate).toHaveBeenCalled();
|
||||
expect(wrapper.vm.$router.navigate).toHaveBeenCalledWith("CLICKED_FORWARD_WITH_CAPABILITY_QUESTIONS", {"query": {"issPage": "vehicle-parts"}}, {}, {}, expect.anything());
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue