chore: fix workflow to locate playwright scrip in correct directory
This commit is contained in:
@@ -33,10 +33,10 @@ jobs:
|
||||
run: dotnet build --no-restore
|
||||
- name: Install playwright dependencies
|
||||
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
|
||||
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
|
||||
run: dotnet test -e DOTNET_ENVIRONMENT=CI --no-build --verbosity normal -s ./test/Blog.Tests/ci.runsettings
|
||||
- name: Upload test results
|
||||
@@ -49,4 +49,4 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: playwright-traces
|
||||
path: ./test/Blog.Tests/bin/Debug/net9.0/playwright-traces
|
||||
path: ./test/Blog.Tests/bin/Debug/net10.0/playwright-traces
|
||||
|
||||
Reference in New Issue
Block a user