From 7c11033de65c35868829daaf7e241978740bc44c Mon Sep 17 00:00:00 2001 From: Youssef1313 Date: Sun, 2 Mar 2025 10:15:58 +0100 Subject: [PATCH 1/4] Migrate from VSTest to MTP --- Directory.Build.props | 7 +++++++ .../CalculatorUITestFramework.csproj | 4 ++-- src/CalculatorUITests/CalculatorUITests.csproj | 8 ++++---- 3 files changed, 13 insertions(+), 6 deletions(-) create mode 100644 Directory.Build.props diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..13dadbad --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,7 @@ + + + true + true + true + + \ No newline at end of file diff --git a/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj b/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj index e16b544a..ea7ea56c 100644 --- a/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj +++ b/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj @@ -1,10 +1,10 @@ - + net6.0 - + diff --git a/src/CalculatorUITests/CalculatorUITests.csproj b/src/CalculatorUITests/CalculatorUITests.csproj index 2b73267c..9ce0acde 100644 --- a/src/CalculatorUITests/CalculatorUITests.csproj +++ b/src/CalculatorUITests/CalculatorUITests.csproj @@ -1,12 +1,12 @@ - + + Exe net8.0 false - - - + + From 199b68ed0df1e0804e6f7d216567f835424e25d4 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 13 Mar 2025 08:47:18 +0100 Subject: [PATCH 2/4] Update action-ci.yml --- .github/workflows/action-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action-ci.yml b/.github/workflows/action-ci.yml index 693dc318..409ba030 100644 --- a/.github/workflows/action-ci.yml +++ b/.github/workflows/action-ci.yml @@ -162,8 +162,8 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken. name: Setup dev tools - run: | - vstest.console.exe ${{ github.workspace }}\download\publish\CalculatorUITests.dll ` + dotnet test ${{ github.workspace }}\download\publish\CalculatorUITests.dll ` /Platform:x64 ` - /Settings:${{ github.workspace }}\download\publish\CalculatorUITests.ci.runsettings + -- --settings ${{ github.workspace }}\download\publish\CalculatorUITests.ci.runsettings shell: pwsh name: Run UI tests From 20281c25a5bfd6ec90da1d4d3ce88dc06dbc9ded Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Thu, 13 Mar 2025 09:04:03 +0100 Subject: [PATCH 3/4] Update CI workflow to run UI tests --- .github/workflows/action-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/action-ci.yml b/.github/workflows/action-ci.yml index 409ba030..b4a49000 100644 --- a/.github/workflows/action-ci.yml +++ b/.github/workflows/action-ci.yml @@ -162,8 +162,7 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 # this is a workaround because microsoft/vstest-action is broken. name: Setup dev tools - run: | - dotnet test ${{ github.workspace }}\download\publish\CalculatorUITests.dll ` - /Platform:x64 ` - -- --settings ${{ github.workspace }}\download\publish\CalculatorUITests.ci.runsettings + ${{ github.workspace }}\download\publish\CalculatorUITests.exe ` + --settings ${{ github.workspace }}\download\publish\CalculatorUITests.ci.runsettings shell: pwsh name: Run UI tests From 35fe03d316985fc5bd76ab628b6a0d2d7b676150 Mon Sep 17 00:00:00 2001 From: Youssef Victor Date: Tue, 8 Jul 2025 22:11:55 +0200 Subject: [PATCH 4/4] Update to 3.9.3 --- .../CalculatorUITestFramework.csproj | 2 +- src/CalculatorUITests/CalculatorUITests.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj b/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj index ea7ea56c..326cff6a 100644 --- a/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj +++ b/src/CalculatorUITestFramework/CalculatorUITestFramework.csproj @@ -4,7 +4,7 @@ - + diff --git a/src/CalculatorUITests/CalculatorUITests.csproj b/src/CalculatorUITests/CalculatorUITests.csproj index 9ce0acde..7ce1daa1 100644 --- a/src/CalculatorUITests/CalculatorUITests.csproj +++ b/src/CalculatorUITests/CalculatorUITests.csproj @@ -5,8 +5,8 @@ false - - + +