From 8dc10298ec75200d68fd23ae10791c1a9b2757d4 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:52:38 +0200 Subject: [PATCH 1/7] Update run_tests.yml --- .github/workflows/run_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 3188bb04..7f850bf8 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -33,6 +33,7 @@ jobs: - name: Wait for app to be ready run: | + sleep 10 echo "Waiting for http://localhost:5132 to respond..." for i in {1..60}; do if curl -sSf http://localhost:5132 >/dev/null; then From 84a98e34025bd04313e525c6b658d7012ad66610 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:59:21 +0200 Subject: [PATCH 2/7] Update run_tests.yml --- .github/workflows/run_tests.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index 7f850bf8..a8707ee7 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -31,22 +31,6 @@ jobs: - name: Start App run: dotnet run --project AudioCuesheetEditor & - - name: Wait for app to be ready - run: | - sleep 10 - echo "Waiting for http://localhost:5132 to respond..." - for i in {1..60}; do - if curl -sSf http://localhost:5132 >/dev/null; then - echo "App is ready" - exit 0 - fi - echo "Waiting for app to start ($i/60)..." - sleep 2 - done - echo "App failed to start after waiting" >&2 - exit 1 - shell: bash - - name: Run tests run: dotnet test From 759d17a86eacc7703294d926d1025a3d7c47b85e Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:59:36 +0200 Subject: [PATCH 3/7] Update run_tests.yml --- .github/workflows/run_tests.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index a8707ee7..3188bb04 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -31,6 +31,21 @@ jobs: - name: Start App run: dotnet run --project AudioCuesheetEditor & + - name: Wait for app to be ready + run: | + echo "Waiting for http://localhost:5132 to respond..." + for i in {1..60}; do + if curl -sSf http://localhost:5132 >/dev/null; then + echo "App is ready" + exit 0 + fi + echo "Waiting for app to start ($i/60)..." + sleep 2 + done + echo "App failed to start after waiting" >&2 + exit 1 + shell: bash + - name: Run tests run: dotnet test From 5e877a580e4f51aa472715fe5beca63a28f153b0 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:10:43 +0200 Subject: [PATCH 4/7] Update BasicTest.cs --- AudioCuesheetEditor.End2EndTests/Tests/Desktop/BasicTest.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/AudioCuesheetEditor.End2EndTests/Tests/Desktop/BasicTest.cs b/AudioCuesheetEditor.End2EndTests/Tests/Desktop/BasicTest.cs index 93206862..f20ee029 100644 --- a/AudioCuesheetEditor.End2EndTests/Tests/Desktop/BasicTest.cs +++ b/AudioCuesheetEditor.End2EndTests/Tests/Desktop/BasicTest.cs @@ -15,8 +15,6 @@ //. using AudioCuesheetEditor.End2EndTests.Models; using Microsoft.Playwright; -using System.Xml.Linq; -using static System.Net.Mime.MediaTypeNames; namespace AudioCuesheetEditor.End2EndTests.Tests.Desktop { From 4ad844af3381a3d489dbc82ae418e1afd4d160e1 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:36:19 +0200 Subject: [PATCH 5/7] Update MSTestSettings.cs --- AudioCuesheetEditor.End2EndTests/MSTestSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs b/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs index aaf278c8..ceea514c 100644 --- a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs +++ b/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs @@ -1 +1 @@ -[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] +[assembly: Parallelize(Scope = ExecutionScope.ClassLevel)] From 1cc4f895b099f1bae152dbe4aa6d0ea9176d0624 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 14:58:03 +0200 Subject: [PATCH 6/7] Update MSTestSettings.cs --- AudioCuesheetEditor.End2EndTests/MSTestSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs b/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs index ceea514c..aaf278c8 100644 --- a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs +++ b/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs @@ -1 +1 @@ -[assembly: Parallelize(Scope = ExecutionScope.ClassLevel)] +[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)] From 5b5c5c733781c974c2b6de8cd8a000611b2c6654 Mon Sep 17 00:00:00 2001 From: Sven <40752681+NeoCoderMatrix86@users.noreply.github.com> Date: Fri, 17 Oct 2025 15:08:15 +0200 Subject: [PATCH 7/7] Delete MSTestSettings.cs --- AudioCuesheetEditor.End2EndTests/MSTestSettings.cs | 1 - 1 file changed, 1 deletion(-) delete mode 100644 AudioCuesheetEditor.End2EndTests/MSTestSettings.cs diff --git a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs b/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs deleted file mode 100644 index aaf278c8..00000000 --- a/AudioCuesheetEditor.End2EndTests/MSTestSettings.cs +++ /dev/null @@ -1 +0,0 @@ -[assembly: Parallelize(Scope = ExecutionScope.MethodLevel)]