From 7ab77be2fa5a39cb0a701cdc786d316e17a14715 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:56:33 -0400 Subject: [PATCH 01/83] Update config.yml --- .circleci/config.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 220fe36..783e8d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,18 +31,9 @@ jobs: # The orb install-packages step will also automatically cache them for faster future runs. - node/install-packages: pkg-manager: "yarn" - - when: - condition: << pipeline.git.base_revision >> - steps: - - run: - name: Run tests - command: yarn run test:unit --changedSince << pipeline.git.base_revision >> - - unless: - condition: << pipeline.git.base_revision >> - steps: - - run: - name: Run tests - command: yarn run test:unit + - run: + name: Run tests + command: yarn run test:unit workflows: # Below is the definition of your workflow. From fe04cb2b6739d8710cc06e044fd765a5a8b8e4f1 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:57:58 -0400 Subject: [PATCH 02/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index a5e6d37..f8af456 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -5,7 +5,7 @@ describe("CartItemCard.vue", () => { it("renders the menuItem prop data", () => { const menuItem = { id: 1, - name: "French Fries", + name: "Fries", description: "Fried potato rectangles", price: "4.99", imageId: "1", From 68d61f73de50cb95deb67c77ccc2545e1ff91ae4 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:59:14 -0400 Subject: [PATCH 03/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index f8af456..7a67d0b 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -5,7 +5,7 @@ describe("CartItemCard.vue", () => { it("renders the menuItem prop data", () => { const menuItem = { id: 1, - name: "Fries", + name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "4.99", imageId: "1", From e7cbf87ef884221f07ac06cd1133cba9553a601a Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 16:59:37 -0400 Subject: [PATCH 04/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index 7a67d0b..165a778 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -7,7 +7,7 @@ describe("CartItemCard.vue", () => { id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", - price: "4.99", + price: "2.99", imageId: "1", }; const wrapper = mount(CartItemCard, { From 776810690f264ef9a07e9786e5c9f6447bc92eae Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:05:03 -0400 Subject: [PATCH 05/83] Update config.yml --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 783e8d5..37dabc0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,10 @@ jobs: pkg-manager: "yarn" - run: name: Run tests - command: yarn run test:unit + command: | + git bisect bad e7cbf87ef884221f07ac06cd1133cba9553a601a + git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 + git bisect run yarn run test:unit workflows: # Below is the definition of your workflow. From e0fd9bb770e62339d51b797fef6ab438716974fb Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:06:52 -0400 Subject: [PATCH 06/83] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 37dabc0..8b53742 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,9 +34,9 @@ jobs: - run: name: Run tests command: | - git bisect bad e7cbf87ef884221f07ac06cd1133cba9553a601a - git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 - git bisect run yarn run test:unit + git bisect bad e7cbf87ef884221f07ac06cd1133cba9553a601a + git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 + git bisect run yarn run test:unit workflows: # Below is the definition of your workflow. From ce8ae8148e11c47542f19c944c18e555567e0370 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:07:43 -0400 Subject: [PATCH 07/83] Updated config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b53742..b9085e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,6 +34,7 @@ jobs: - run: name: Run tests command: | + git bisect start git bisect bad e7cbf87ef884221f07ac06cd1133cba9553a601a git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 git bisect run yarn run test:unit From 4cc587a31d3896e30e19c7f97999f20a48c934f4 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:07:58 -0400 Subject: [PATCH 08/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index 165a778..db5b446 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -15,5 +15,6 @@ describe("CartItemCard.vue", () => { } as any); expect(wrapper.text()).toContain("4.99"); + expect(wrapper.text()).toContain("French"); }); }); From 1b1c353c108964d989d59eba3bcb4abd4a3e944b Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:10:23 -0400 Subject: [PATCH 09/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index db5b446..5ef29a6 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -14,7 +14,6 @@ describe("CartItemCard.vue", () => { props: { menuItem }, } as any); - expect(wrapper.text()).toContain("4.99"); expect(wrapper.text()).toContain("French"); }); }); From 66de945aea055d585861a1677ec7bf1ffb784f80 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:12:16 -0400 Subject: [PATCH 10/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9085e3..89d2fa3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,7 @@ jobs: name: Run tests command: | git bisect start - git bisect bad e7cbf87ef884221f07ac06cd1133cba9553a601a + git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 git bisect run yarn run test:unit From 27e167bab0e59bd2d429bf75438dcc13b553be41 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:27:53 -0400 Subject: [PATCH 11/83] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89d2fa3..f0ac2e4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,10 +34,11 @@ jobs: - run: name: Run tests command: | + echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > french.spec.js git bisect start git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 - git bisect run yarn run test:unit + git bisect jest -- french.spec.js workflows: # Below is the definition of your workflow. From ce9c70a7906b0688fb703d6d28ba9deecaa7bc36 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:29:12 -0400 Subject: [PATCH 12/83] Update config.yml --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0ac2e4..93ada53 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,10 +35,11 @@ jobs: name: Run tests command: | echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > french.spec.js - git bisect start - git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b - git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 - git bisect jest -- french.spec.js + #git bisect start + #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b + #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 + #git bisect jest -- french.spec.js + jest -- french.spec.js workflows: # Below is the definition of your workflow. From 45556e23887023bfebb5de186cd1c57174dbcb8c Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:30:13 -0400 Subject: [PATCH 13/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 93ada53..b59418b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - jest -- french.spec.js + npm test -- french.spec.js workflows: # Below is the definition of your workflow. From 7c301dd678980315c2c93ade28e233ded46468be Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:31:18 -0400 Subject: [PATCH 14/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b59418b..8794f5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - npm test -- french.spec.js + yarn run test:unit -- french.spec.js workflows: # Below is the definition of your workflow. From a15fce6f7faca879beb5fabd11f7d2ec23d5321f Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:34:14 -0400 Subject: [PATCH 15/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8794f5d..6d4a85d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -39,7 +39,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - yarn run test:unit -- french.spec.js + yarn jest french.spec.js workflows: # Below is the definition of your workflow. From 2ccf0b47524661ba4b4292bfbd825d599bfcc388 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:37:34 -0400 Subject: [PATCH 16/83] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d4a85d..ca26337 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,6 +35,7 @@ jobs: name: Run tests command: | echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > french.spec.js + cat french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 From e54fa79651a6ff8ab9ff23473cc1ea9cce6a9fdb Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:38:23 -0400 Subject: [PATCH 17/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ca26337..3f96d3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - yarn jest french.spec.js + #yarn jest french.spec.js workflows: # Below is the definition of your workflow. From e5bf7de4f28ef4c9b50f0b3315502610f175b66f Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:41:39 -0400 Subject: [PATCH 18/83] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3f96d3f..859d7d4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,13 +34,13 @@ jobs: - run: name: Run tests command: | - echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > french.spec.js - cat french.spec.js + echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js + cat ../tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - #yarn jest french.spec.js + yarn jest french.spec.js workflows: # Below is the definition of your workflow. From f9a4644c5b7587d634485b6bd345cbfcec6ec378 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:44:07 -0400 Subject: [PATCH 19/83] Update config.yml --- .circleci/config.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 859d7d4..5577e3e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,6 +34,8 @@ jobs: - run: name: Run tests command: | + ls + touch ../tests/unit/french.spec.js echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js cat ../tests/unit/french.spec.js #git bisect start @@ -50,9 +52,9 @@ workflows: sample: jobs: - test - - cypress/run: - executor: "node-cypress" - command: yarn run test:e2e --headless - yarn: true + # - cypress/run: + # executor: "node-cypress" + # command: yarn run test:e2e --headless + # yarn: true # For running simple node tests, you could optionally instead use the node/test job from the orb to replicate and replace the manually defined "test" job above in fewer lines. # - node/test From da72cb2add9c1a3d797ada81b52e91aab11b85f0 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:45:51 -0400 Subject: [PATCH 20/83] Update config.yml --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5577e3e..2cd14ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,14 +35,18 @@ jobs: name: Run tests command: | ls - touch ../tests/unit/french.spec.js - echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js - cat ../tests/unit/french.spec.js + #touch ../tests/unit/french.spec.js + cd tests + ls + cd unit + ls + #echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js + #cat ../tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect jest -- french.spec.js - yarn jest french.spec.js + #yarn jest french.spec.js workflows: # Below is the definition of your workflow. From 8177c0a27e986a21630577d79936332f72f518ff Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:48:59 -0400 Subject: [PATCH 21/83] Update config.yml --- .circleci/config.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2cd14ae..fe198e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,19 +34,14 @@ jobs: - run: name: Run tests command: | - ls - #touch ../tests/unit/french.spec.js - cd tests - ls - cd unit - ls - #echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js - #cat ../tests/unit/french.spec.js + touch ./tests/unit/french.spec.js + echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js + cat ../tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 - #git bisect jest -- french.spec.js - #yarn jest french.spec.js + #git bisect yarn jest french.spec.js + yarn jest french.spec.js workflows: # Below is the definition of your workflow. From d6f621cbf63c7ff07b2a23a1c41a59c0557bb165 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:49:41 -0400 Subject: [PATCH 22/83] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fe198e0..d546e8f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,8 +35,8 @@ jobs: name: Run tests command: | touch ./tests/unit/french.spec.js - echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ../tests/unit/french.spec.js - cat ../tests/unit/french.spec.js + echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ./tests/unit/french.spec.js + cat ./tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 From 40b5c363ef41b87b19819792b16a3bbbf3280eba Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:52:43 -0400 Subject: [PATCH 23/83] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d546e8f..5322e1a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,6 +34,7 @@ jobs: - run: name: Run tests command: | + yarn add --dev jest-environment-jsdom touch ./tests/unit/french.spec.js echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ./tests/unit/french.spec.js cat ./tests/unit/french.spec.js From c04e6efa6f0e1b5e995040224a3e1b2a2b8a499c Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:03:31 -0400 Subject: [PATCH 24/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5322e1a..b74120d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,7 +36,7 @@ jobs: command: | yarn add --dev jest-environment-jsdom touch ./tests/unit/french.spec.js - echo "import { mount } from "@vue/test-utils";import CartItemCard from "@/components/CartItemCard.vue";describe("CartItemCard.vue", () => {it("renders the menuItem prop data", () => {const menuItem = {id: 1, name: "Sweet Potato Fries", description: "Fried potato rectangles", price: "2.99", imageId: "1",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain("French");});});" > ./tests/unit/french.spec.js + echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.js cat ./tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b From 3106a0587a16f7c62db7edf1501365abe1a774c3 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:05:38 -0400 Subject: [PATCH 25/83] Update menuCard.spec.ts --- tests/unit/menuCard.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/menuCard.spec.ts b/tests/unit/menuCard.spec.ts index 898cc39..1eed989 100644 --- a/tests/unit/menuCard.spec.ts +++ b/tests/unit/menuCard.spec.ts @@ -11,7 +11,7 @@ describe("CartItemCard.vue", () => { imageId: "1", }; const wrapper = mount(MenuItemCard, { - props: { menuItem }, + props: { menuItem } } as any); expect(wrapper.find("ion-card-title").text()).toEqual("French Fries"); From 87f266e9450886ea4d29afd8fb16d5798c94544c Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:07:37 -0400 Subject: [PATCH 26/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b74120d..bc7828e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,7 +36,7 @@ jobs: command: | yarn add --dev jest-environment-jsdom touch ./tests/unit/french.spec.js - echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.js + echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem }} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.js cat ./tests/unit/french.spec.js #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b From 8ff397f7a79cd6dea82f94f7ba5683cab8ec15d5 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:10:27 -0400 Subject: [PATCH 27/83] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bc7828e..51e6b29 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,14 +35,14 @@ jobs: name: Run tests command: | yarn add --dev jest-environment-jsdom - touch ./tests/unit/french.spec.js - echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem }} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.js - cat ./tests/unit/french.spec.js + touch ./tests/unit/french.spec.ts + echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts + cat ./tests/unit/french.spec.ts #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 - #git bisect yarn jest french.spec.js - yarn jest french.spec.js + #git bisect yarn jest french.spec.ts + yarn jest french.spec.ts workflows: # Below is the definition of your workflow. From 6b21f707042063df87c39cd36eeffabb2b31c509 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:14:05 -0400 Subject: [PATCH 28/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 51e6b29..1a78d56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect yarn jest french.spec.ts - yarn jest french.spec.ts + yarn run test:unit french.spec.ts workflows: # Below is the definition of your workflow. From 50f6f1bb057bd046a72e0294368b30fc0e8dee44 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:18:12 -0400 Subject: [PATCH 29/83] Update package.json --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index a2aac25..db3cabe 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ "eslint": "^7.32.0", "eslint-plugin-vue": "^8.0.3", "jest": "^28.0.5", + "jest-environment-jsdom": "^28.0.2", "ts-jest": "^28.0.8", "typescript": "^4.7.4" }, From cabfcaa0794050f995564b553f3797ed0012a542 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:20:11 -0400 Subject: [PATCH 30/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1a78d56..7c9473e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,10 +31,10 @@ jobs: # The orb install-packages step will also automatically cache them for faster future runs. - node/install-packages: pkg-manager: "yarn" + override-ci-command: "yarn install" - run: name: Run tests command: | - yarn add --dev jest-environment-jsdom touch ./tests/unit/french.spec.ts echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts cat ./tests/unit/french.spec.ts From 338c10d2b37a3fac62dd59411e0e842f7f7ee340 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:22:55 -0400 Subject: [PATCH 31/83] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index db3cabe..60a132a 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "cypress": "^10.0.0", "eslint": "^7.32.0", "eslint-plugin-vue": "^8.0.3", - "jest": "^28.0.5", - "jest-environment-jsdom": "^28.0.2", + "jest": "^29.3.1", + "jest-environment-jsdom": "^29.3.1", "ts-jest": "^28.0.8", "typescript": "^4.7.4" }, From 10f07c81d94ef9e86aac5fdbd180be60d217c33d Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:24:18 -0400 Subject: [PATCH 32/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7c9473e..179932e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,7 +42,7 @@ jobs: #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 #git bisect yarn jest french.spec.ts - yarn run test:unit french.spec.ts + yarn run test:unit workflows: # Below is the definition of your workflow. From 5e03126ff8787a715175ba60466530e12dd48dc2 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:26:25 -0400 Subject: [PATCH 33/83] Update package.json --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 60a132a..a2aac25 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,7 @@ "cypress": "^10.0.0", "eslint": "^7.32.0", "eslint-plugin-vue": "^8.0.3", - "jest": "^29.3.1", - "jest-environment-jsdom": "^29.3.1", + "jest": "^28.0.5", "ts-jest": "^28.0.8", "typescript": "^4.7.4" }, From 3ec64291962a8100cc23d97bfec768c8ee8e8eeb Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:28:31 -0400 Subject: [PATCH 34/83] Update cartItemCard.spec.ts --- tests/unit/cartItemCard.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/cartItemCard.spec.ts b/tests/unit/cartItemCard.spec.ts index 5ef29a6..a5e6d37 100644 --- a/tests/unit/cartItemCard.spec.ts +++ b/tests/unit/cartItemCard.spec.ts @@ -5,15 +5,15 @@ describe("CartItemCard.vue", () => { it("renders the menuItem prop data", () => { const menuItem = { id: 1, - name: "Sweet Potato Fries", + name: "French Fries", description: "Fried potato rectangles", - price: "2.99", + price: "4.99", imageId: "1", }; const wrapper = mount(CartItemCard, { props: { menuItem }, } as any); - expect(wrapper.text()).toContain("French"); + expect(wrapper.text()).toContain("4.99"); }); }); From fb40df3e8bc55b05779819da96b1ca45986a032a Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:48:07 -0400 Subject: [PATCH 35/83] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 179932e..96b9669 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,7 +36,7 @@ jobs: name: Run tests command: | touch ./tests/unit/french.spec.ts - echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"Sweet Potato Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts + echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"French Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts cat ./tests/unit/french.spec.ts #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b From c7a0bb38173bdf897aefb7bfb339e658ccfc601a Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:49:32 -0400 Subject: [PATCH 36/83] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 96b9669..444a67d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,9 +35,9 @@ jobs: - run: name: Run tests command: | - touch ./tests/unit/french.spec.ts - echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"French Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts - cat ./tests/unit/french.spec.ts + #touch ./tests/unit/french.spec.ts + #echo "import { mount } from \"@vue/test-utils\";import CartItemCard from \"@/components/CartItemCard.vue\";describe(\"CartItemCard.vue\", () => {it(\"renders the menuItem prop data\", () => {const menuItem = {id: 1, name: \"French Fries\", description: \"Fried potato rectangles\", price: \"2.99\", imageId: \"1\",};const wrapper = mount(CartItemCard, {props: { menuItem },} as any);expect(wrapper.text()).toContain(\"French\");});});" > ./tests/unit/french.spec.ts + #cat ./tests/unit/french.spec.ts #git bisect start #git bisect bad 1b1c353c108964d989d59eba3bcb4abd4a3e944b #git bisect good 7ab77be2fa5a39cb0a701cdc786d316e17a14715 From 3510c176cd8e67fa130d9434febd09a3e177326f Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:50:35 -0400 Subject: [PATCH 37/83] Update CartItemCard.vue --- src/components/CartItemCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CartItemCard.vue b/src/components/CartItemCard.vue index 9876c7a..9cf8322 100644 --- a/src/components/CartItemCard.vue +++ b/src/components/CartItemCard.vue @@ -11,7 +11,7 @@ .cartCard { display: flex; flex-direction: row; - height: 100px; + height: 150px; } .cartCard div { From 7082b03cdac033fff632d80f5a46783cccd96598 Mon Sep 17 00:00:00 2001 From: schurchleycci <82465475+schurchleycci@users.noreply.github.com> Date: Tue, 11 Apr 2023 11:50:58 -0400 Subject: [PATCH 38/83] Update CartItemCard.vue --- src/components/CartItemCard.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/CartItemCard.vue b/src/components/CartItemCard.vue index 9cf8322..d269496 100644 --- a/src/components/CartItemCard.vue +++ b/src/components/CartItemCard.vue @@ -1,7 +1,6 @@