Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/android_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,26 +163,26 @@ jobs:
run: dotnet test TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj --filter "(Category=PRTest)&(Category=Android)" --no-restore

- name: Upload Logs on Failure
#if: failure() # Runs only if a previous step fails
if: always()
uses: actions/upload-artifact@v4
with:
name: android-e2e_tests
path: /home/txnproc/trace/

- name: Upload Appium Logs on Failure
#if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: android-e2e_tests_appium
path: appium.log

- name: Capture emulator logs
#if: failure()
if: always()
run: adb logcat -d > emulator-log.txt

- name: Upload emulator logs
#if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: android-emulator-logs
path: emulator-log.txt
path: emulator-log.txt
6 changes: 3 additions & 3 deletions .github/workflows/android_navigation_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ jobs:
run: dotnet test TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj --filter "(Category=PRNavTest)&(Category=Android)" --no-restore

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: android-software_navigation_tests_appium
Expand Down Expand Up @@ -300,8 +300,8 @@ jobs:
run: dotnet test TransactionProcessor.Mobile.UITests/TransactionProcessor.Mobile.UITests.csproj --filter "(Category=PRHWNavTest)&(Category=Android)" --no-restore

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: android-hardware_navigation_tests_appium
path: appium.log
path: appium.log
4 changes: 2 additions & 2 deletions .github/workflows/ios_e2e_tests - selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
# nunit TransactionProcessor.Mobile.UiTests/bin/Release/net9.0/TransactionProcessor.Mobile.UiTests.dll --where "cat == PRNavTest && cat == iOS" --labels=All --result=TestResult-iOS.xml

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ios-software_navigation_tests_appium
Expand All @@ -204,4 +204,4 @@ jobs:
# name: iOS-Test-Results
# path: TestResult-iOS.xml



4 changes: 2 additions & 2 deletions .github/workflows/ios_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
# nunit TransactionProcessor.Mobile.UiTests/bin/Release/net9.0/TransactionProcessor.Mobile.UiTests.dll --where "cat == PRNavTest && cat == iOS" --labels=All --result=TestResult-iOS.xml

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ios-e2e_tests_appium
Expand All @@ -186,4 +186,4 @@ jobs:
# name: iOS-Test-Results
# path: TestResult-iOS.xml



4 changes: 2 additions & 2 deletions .github/workflows/ios_navigation_tests - selfhosted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
# nunit TransactionProcessor.Mobile.UiTests/bin/Release/net9.0/TransactionProcessor.Mobile.UiTests.dll --where "cat == PRNavTest && cat == iOS" --labels=All --result=TestResult-iOS.xml

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ios-software_navigation_tests_appium
Expand All @@ -204,4 +204,4 @@ jobs:
# name: iOS-Test-Results
# path: TestResult-iOS.xml



4 changes: 2 additions & 2 deletions .github/workflows/ios_navigation_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
# nunit TransactionProcessor.Mobile.UiTests/bin/Release/net9.0/TransactionProcessor.Mobile.UiTests.dll --where "cat == PRNavTest && cat == iOS" --labels=All --result=TestResult-iOS.xml

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ios-software_navigation_tests_appium
Expand All @@ -186,4 +186,4 @@ jobs:
# name: iOS-Test-Results
# path: TestResult-iOS.xml



6 changes: 3 additions & 3 deletions .github/workflows/windows_e2e_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ jobs:
run: dotnet test TransactionProcessor.Mobile.UiTests/TransactionProcessor.Mobile.UiTests.csproj --filter "(Category=PRTest)&(Category=Windows)" --no-restore

- name: Upload Logs on Failure
if: failure() # Runs only if a previous step fails
if: always()
uses: actions/upload-artifact@v4
with:
name: windows-e2e_tests
path: C:\\Users\\runneradmin\\txnproc

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: windows-e2e_tests_appium
path: appium.log



4 changes: 2 additions & 2 deletions .github/workflows/windows_navigation_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ jobs:
run: dotnet test TransactionProcessor.Mobile.UiTests/TransactionProcessor.Mobile.UiTests.csproj --filter "(Category=PRNavTest)&(Category=Windows)" --no-restore

- name: Upload Appium Logs on Failure
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: windows-software_navigation_tests_appium
path: appium.log



Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.6" />
<PackageReference Include="SecurityService.Client" Version="2025.7.2-build90" />
<PackageReference Include="SecurityService.Client" Version="2025.7.2" />
<PackageReference Include="MediatR" Version="12.5.0" />
<PackageReference Include="Refractored.MvvmHelpers" Version="1.6.2" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.11" />
<PackageReference Include="SQLitePCLRaw.provider.sqlite3" Version="2.1.11" />
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.11" />
<PackageReference Include="SQLitePCLRaw.provider.dynamic_cdecl" Version="2.1.11" />
<PackageReference Include="Shared.Results" Version="2025.7.12" />
<PackageReference Include="TransactionProcessorACL.DataTransferObjects" Version="2025.7.2-build67" />
<PackageReference Include="Shared.Results" Version="2025.7.13" />
<PackageReference Include="TransactionProcessorACL.DataTransferObjects" Version="2025.7.2" />
<PackageReference Include="LiveChartsCore.SkiaSharpView" Version="2.0.0-rc2" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/// Initializes a new instance of the <see cref="DockerHelper"/> class.
/// </summary>
/// <param name="logger">The logger.</param>
public DockerHelper()

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable field 'TransactionProcessorClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable field 'SecurityServiceClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable field 'HttpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'TestHostHttpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'ConfigHostContainerName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable property 'LocalIPAddress' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'ProjectionManagementClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'TransactionProcessorClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'SecurityServiceClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 53 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable field 'HttpClient' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
{
this.TestingContext = new TestingContext();
}
Expand Down Expand Up @@ -200,7 +200,7 @@
environmentVariables.Add("AppSettings:InMemoryDatabase=true");
this.ConfigHostContainerName = $"mobileconfighost{this.TestId:N}";

String imageName = "stuartferguson/mobileconfiguration:latest";
String imageName = "stuartferguson/mobileconfiguration:master";

if (FdOs.IsWindows() && Shared.IntegrationTesting.DockerHelper.GetDockerEnginePlatform() == DockerEnginePlatform.Windows){
imageName = "stuartferguson/mobileconfigurationwindows:master";
Expand Down Expand Up @@ -267,7 +267,7 @@
/// <summary>
/// Initializes a new instance of the <see cref="TestingContext"/> class.
/// </summary>
public TestingContext()

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable property 'Logger' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable property 'DockerHelper' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable property 'AccessToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable property 'DockerHelper' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable property 'AccessToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / hardware_navigation_tests

Non-nullable property 'DockerHelper' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 270 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / hardware_navigation_tests

Non-nullable property 'AccessToken' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
{
this.Estates = new List<EstateDetails>();
this.Clients = new List<ClientDetails>();
Expand Down Expand Up @@ -425,7 +425,7 @@
/// <value>
/// The description.
/// </value>
public String Description { get; set; }

Check warning on line 428 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / software_navigation_tests

Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 428 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / end_to_end_tests

Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Check warning on line 428 in TransactionProcessor.Mobile.UITests/Common/DockerHelper.cs

View workflow job for this annotation

GitHub Actions / hardware_navigation_tests

Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

/// <summary>
/// Gets or sets the transaction fee identifier.
Expand Down
5 changes: 2 additions & 3 deletions TransactionProcessor.Mobile.UITests/Steps/SharedSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,14 @@ public async Task GivenTheFollowingClientsExist(DataTable table)
}

[Given(@"I have a token to access the estate management and transaction processor acl resources")]
public async Task GivenIHaveATokenToAccessTheEstateManagementAndTransactionProcessorAclResources(DataTable table)
{
public async Task GivenIHaveATokenToAccessTheEstateManagementAndTransactionProcessorAclResources(DataTable table) {
DataTableRow firstRow = table.Rows.First();
String clientId = ReqnrollTableHelper.GetStringRowValue(firstRow, "ClientId").Replace("[id]", this.TestingContext.DockerHelper.TestId.ToString("N"));
ClientDetails clientDetails = this.TestingContext.GetClientDetails(clientId);

this.TestingContext.AccessToken = await this.SecurityServiceSteps.GetClientToken(clientDetails.ClientId, clientDetails.ClientSecret, CancellationToken.None);
}

[Given(@"I have created the following estates")]
public async Task GivenIHaveCreatedTheFollowingEstates(DataTable table) {
List<CreateEstateRequest> requests = table.Rows.ToCreateEstateRequests();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageReference Include="Appium.WebDriver" Version="7.2.0" />
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="9.0.6" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.6" />
<PackageReference Include="Shared.IntegrationTesting" Version="2025.7.12" />
<PackageReference Include="Shared.IntegrationTesting" Version="2025.7.13" />
<PackageReference Include="Shouldly" Version="4.3.0" />
<PackageReference Include="NUnit.ConsoleRunner" Version="3.20.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
Expand All @@ -28,11 +28,11 @@
<PackageReference Include="NUnit3TestAdapter" Version="5.0.0" />
<PackageReference Include="Reqnroll.NUnit" Version="2.4.1" />
<PackageReference Include="Reqnroll.Tools.MsBuild.Generation" Version="2.4.1" />
<PackageReference Include="TransactionProcessor.Client" Version="2025.7.2-build191" />
<PackageReference Include="TransactionProcessor.IntegrationTesting.Helpers" Version="2025.7.2-build191" />
<PackageReference Include="SecurityService.Client" Version="2025.7.2-build90" />
<PackageReference Include="SecurityService.IntegrationTesting.Helpers" Version="2025.7.2-build90" />
<PackageReference Include="TransactionProcessor.Database" Version="2025.7.2-build191" />
<PackageReference Include="TransactionProcessor.Client" Version="2025.7.2" />
<PackageReference Include="TransactionProcessor.IntegrationTesting.Helpers" Version="2025.7.2" />
<PackageReference Include="SecurityService.Client" Version="2025.7.2" />
<PackageReference Include="SecurityService.IntegrationTesting.Helpers" Version="2025.7.2" />
<PackageReference Include="TransactionProcessor.Database" Version="2025.7.2" />
<PackageReference Include="EventStoreProjections" Version="2023.12.3" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@

<ItemGroup>
<!--<PackageReference Include="Microsoft.Maui.Controls" Version="$(MauiVersion)" />-->
<PackageReference Include="ClientProxyBase" Version="2025.7.12" />
<PackageReference Include="ClientProxyBase" Version="2025.7.13" />
<PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.3.0" />
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.80" />
<PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="9.0.80" />
Expand Down
Loading