From 25e8a06b1c1dd412b3209e9b2ba1f21926e8e76a Mon Sep 17 00:00:00 2001 From: Jakub Raczek Date: Thu, 28 Nov 2024 10:01:20 +0100 Subject: [PATCH] Update ExecutingTestsOnDockerAzure.ps1 --- ExecutingTestsOnDockerAzure.ps1 | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ExecutingTestsOnDockerAzure.ps1 b/ExecutingTestsOnDockerAzure.ps1 index 320adf4e..bfbb39c1 100644 --- a/ExecutingTestsOnDockerAzure.ps1 +++ b/ExecutingTestsOnDockerAzure.ps1 @@ -1,11 +1,9 @@ docker info docker ps -a -docker exec ocaramba_selenium bash -c "ls ; sed -i '/Documentation/,+5 d' ./Ocaramba.sln ; dotnet build ./Ocaramba.sln" -docker exec ocaramba_selenium bash -c 'pwsh ./Ocaramba/scripts/set_AppConfig_for_tests.ps1 \"./Ocaramba/Ocaramba.Tests.NUnit/bin/Debug/net8.0\" \"appsettings.Linux.json\" \"appSettings\" \"browser|PathToChromeDriverDirectory\" \"Chrome|/usr/local/bin" -logValues -json' -docker exec ocaramba_selenium bash -c 'dotnet vstest ./Ocaramba/Ocaramba.Tests.NUnit/bin/Debug/net8.0/Ocaramba.Tests.NUnit.dll /TestCaseFilter:\"(TestCategory!=NotImplementedInCoreOrUploadDownload)\" /Parallel --logger:\"trx;LogFileName=Ocaramba.Tests.Docker.xml\"' -/Ocaramba/Ocaramba/bin/Debug/net8.0/ -docker cp ocaramba_selenium:/Ocaramba/Ocaramba/TestResults/Ocaramba.Tests.Docker.xml . +docker exec ocaramba_selenium bash -c 'pwsh ./scripts/set_AppConfig_for_tests.ps1 \"./Ocaramba.Tests.NUnit/bin/Debug/net8.0\" \"appsettings.Linux.json\" \"appSettings\" \"browser|PathToChromeDriverDirectory\" \"Chrome|/usr/local/bin" -logValues -json' +docker exec ocaramba_selenium bash -c 'dotnet vstest ./Ocaramba.Tests.NUnit/bin/Debug/net8.0/Ocaramba.Tests.NUnit.dll /TestCaseFilter:\"(TestCategory!=NotImplementedInCoreOrUploadDownload)\" /Parallel --logger:\"trx;LogFileName=Ocaramba.Tests.Docker.xml\"' +docker cp ocaramba_selenium:/Ocaramba/TestResults/Ocaramba.Tests.Docker.xml . docker rm ocaramba_selenium --force