chore: fix workflow to locate playwright scrip in correct directory

This commit is contained in:
Stevan Freeborn
2025-11-22 07:32:14 -06:00
parent 3d68e5a775
commit a9879b18a1
+3 -3
View File
@@ -33,10 +33,10 @@ jobs:
run: dotnet build --no-restore run: dotnet build --no-restore
- name: Install playwright dependencies - name: Install playwright dependencies
shell: pwsh shell: pwsh
run: ./test/Blog.Tests/bin/Debug/net9.0/playwright.ps1 install-deps run: ./test/Blog.Tests/bin/Debug/net10.0/playwright.ps1 install-deps
- name: Install playwright - name: Install playwright
shell: pwsh shell: pwsh
run: ./test/Blog.Tests/bin/Debug/net9.0/playwright.ps1 install run: ./test/Blog.Tests/bin/Debug/net10.0/playwright.ps1 install
- name: Test project - name: Test project
run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings
- name: Upload test results - name: Upload test results
@@ -49,4 +49,4 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: playwright-traces name: playwright-traces
path: ./test/Blog.Tests/bin/Debug/net9.0/playwright-traces path: ./test/Blog.Tests/bin/Debug/net10.0/playwright-traces