diff --git a/.azure/pipelines/components-e2e-tests.yml b/.azure/pipelines/components-e2e-tests.yml index ef9c8dcf87b3..7badaca296c6 100644 --- a/.azure/pipelines/components-e2e-tests.yml +++ b/.azure/pipelines/components-e2e-tests.yml @@ -40,7 +40,7 @@ jobs: displayName: Update submodules - script: ./restore.sh displayName: Run restore.sh - - script: npm install --prefix ./src/Components/test/E2ETest + - script: yarn install --frozen-lockfile --cwd ./src/Components/test/E2ETest displayName: NPM install - script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore displayName: Build diff --git a/eng/targets/Npm.Common.targets b/eng/targets/Npm.Common.targets index b236c04baceb..97f7c9cf4dca 100644 --- a/eng/targets/Npm.Common.targets +++ b/eng/targets/Npm.Common.targets @@ -42,7 +42,10 @@ - + diff --git a/src/ProjectTemplates/test/Templates.Blazor.Tests/package.json b/src/ProjectTemplates/test/Templates.Blazor.Tests/package.json index add79d4bdf8c..cf27e5755093 100644 --- a/src/ProjectTemplates/test/Templates.Blazor.Tests/package.json +++ b/src/ProjectTemplates/test/Templates.Blazor.Tests/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "selenium-standalone": "selenium-standalone", - "prepare": "selenium-standalone install --config ../../Shared/E2ETesting/selenium-config.json" + "prepare": "selenium-standalone install --config ../../../Shared/E2ETesting/selenium-config.json" }, "author": "", "license": "MIT", diff --git a/src/ProjectTemplates/test/Templates.Tests/package.json b/src/ProjectTemplates/test/Templates.Tests/package.json index add79d4bdf8c..cf27e5755093 100644 --- a/src/ProjectTemplates/test/Templates.Tests/package.json +++ b/src/ProjectTemplates/test/Templates.Tests/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "selenium-standalone": "selenium-standalone", - "prepare": "selenium-standalone install --config ../../Shared/E2ETesting/selenium-config.json" + "prepare": "selenium-standalone install --config ../../../Shared/E2ETesting/selenium-config.json" }, "author": "", "license": "MIT",