From 114c4c522df74a73625e3815be7a2a685dbd50f4 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Tue, 10 Dec 2024 22:39:05 -0800 Subject: [PATCH 1/9] Migrate upload-artifact to v4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f5faad..6c487d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,7 +68,7 @@ jobs: run: pytest e2e - name: Upload snapshots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: Snapshots From 07157ff662a1f57a1661ba8cb236971135c3f017 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:16:00 -0800 Subject: [PATCH 2/9] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c487d0..918b685 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,14 +65,14 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: pytest e2e + run: pytest e2e --screenshot only-on-failure --output ./test-results/ - name: Upload snapshots uses: actions/upload-artifact@v4 if: ${{ always() }} with: name: Snapshots - path: e2e/__snapshots__ + path: e2e/test-results if-no-files-found: error - name: Build package From 30b28dc9df0a453d395ade525d003b2850bfb322 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:55:04 -0800 Subject: [PATCH 3/9] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 918b685..d0ad652 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: if: ${{ always() }} with: name: Snapshots - path: e2e/test-results + path: test-results if-no-files-found: error - name: Build package From f08e1fa38fd384528e65a712733774347a2e4754 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:06:00 -0800 Subject: [PATCH 4/9] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0ad652..318a459 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: pytest e2e --screenshot only-on-failure --output ./test-results/ + run: pytest e2e --browser webkit --video retain-on-failure --screenshot only-on-failure --output ./test-results/ -n auto -r aR -v - name: Upload snapshots uses: actions/upload-artifact@v4 From a1c30862997855eb1093970524bd0922ecadd631 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:07:17 -0800 Subject: [PATCH 5/9] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 318a459..18386f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,7 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: pytest e2e --browser webkit --video retain-on-failure --screenshot only-on-failure --output ./test-results/ -n auto -r aR -v + run: pytest e2e --video retain-on-failure --screenshot only-on-failure --output ./test-results/ -n auto -r aR -v - name: Upload snapshots uses: actions/upload-artifact@v4 From 7174e49d33f10d3bdd47ce1c064a135912c7fa45 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:11:52 -0800 Subject: [PATCH 6/9] Update ci.yml --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18386f5..cbdb939 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,7 +65,9 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: pytest e2e --video retain-on-failure --screenshot only-on-failure --output ./test-results/ -n auto -r aR -v + run: | + pytest e2e --video retain-on-failure --screenshot only-on-failure \ + --output ./test-results/ -n auto -r aR -v - name: Upload snapshots uses: actions/upload-artifact@v4 From 9ba3693a49164116d8f366b35ce08e2d802613e3 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:23:54 -0800 Subject: [PATCH 7/9] Update ci.yml --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbdb939..d338b59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,9 +65,14 @@ jobs: run: ./dev.py js-build - name: Run e2e tests - run: | - pytest e2e --video retain-on-failure --screenshot only-on-failure \ - --output ./test-results/ -n auto -r aR -v + run: >- + pytest e2e + --video retain-on-failure + --screenshot only-on-failure + --output ./test-results/ + -n auto + -r aR + -v - name: Upload snapshots uses: actions/upload-artifact@v4 From cd01a30b22b45d5d85433dcba0b337302dfb6a8c Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:27:55 -0800 Subject: [PATCH 8/9] Update ci.yml --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d338b59..38474cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,6 @@ jobs: --video retain-on-failure --screenshot only-on-failure --output ./test-results/ - -n auto -r aR -v From a448ef3f1a49a302e5bbc4ee1ab8670bd333b534 Mon Sep 17 00:00:00 2001 From: Ken McGrady <103003886+sfc-gh-kmcgrady@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:17:32 -0800 Subject: [PATCH 9/9] Update ci.yml --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38474cc..bae4aa3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,6 +69,7 @@ jobs: pytest e2e --video retain-on-failure --screenshot only-on-failure + --update-snapshots --output ./test-results/ -r aR -v