Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSOE-59: Make UI Testing Toolbox UITestManifest more generic step 1 #114

Merged
merged 60 commits into from
Apr 4, 2022

Conversation

Piedone
Copy link
Member

@Piedone Piedone commented Jan 11, 2022

OSOE-59

Followed up under #148

# Conflicts:
#	Lombiq.Tests.UI/Services/TeamCityMetadataReporter.cs
# Conflicts:
#	Lombiq.Tests.UI/OrchardCoreUITestBase.cs
# Conflicts:
#	Lombiq.Tests.UI/Services/UITestContext.cs
@@ -21,6 +21,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.10.0" />
<PackageReference Include="TeamCity.VSTest.TestAdapter" Version="1.0.34" />
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add this to the wiki if it remains necessary.

Piedone and others added 9 commits February 16, 2022 15:51
# Conflicts:
#	Lombiq.Tests.UI/Lombiq.Tests.UI.csproj
# Conflicts:
#	Lombiq.Tests.UI.Samples/Lombiq.Tests.UI.Samples.csproj
#	Lombiq.Tests.UI.Samples/Tests/BasicTests.cs
#	Lombiq.Tests.UI/Extensions/AccessibilityCheckingUITestContextExtensions.cs
#	Lombiq.Tests.UI/Models/UITestManifest.cs
#	Lombiq.Tests.UI/OrchardCoreUITestBase.cs
#	Lombiq.Tests.UI/Services/TeamCityMetadataReporter.cs
#	Lombiq.Tests.UI/Services/UITestContext.cs
#	Lombiq.Tests.UI/Services/UITestExecutionSession.cs
#	Lombiq.Tests.UI/Services/UITestExecutor.cs
$"##teamcity[testMetadata testName='{Escape(testName)}' name='{Escape(name)}' type='{type}' value='{Escape(value)}']");
public static void Report(UITestManifest uiTestManifest, string name, string type, string value) =>
uiTestManifest.TestOutputHelper.WriteLine(
$"##teamcity[testMetadata testName='Lombiq.Tests.UI.Samples: {Escape(uiTestManifest.Name)}' " +
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug "Lombiq.Tests.UI.Samples:" prefix needs to be removed.

@@ -30,7 +30,7 @@ public BasicTests(ITestOutputHelper testOutputHelper)
{
// Is the title correct?
context
.Get(By.ClassName("navbar-brand"))
.Get(By.ClassName("navbar-brandsdfds"))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug code needs to be removed.

@Piedone Piedone merged commit ec84b85 into dev Apr 4, 2022
@Piedone Piedone changed the title OSOE-59: Fix TeamCity metadata reporting OSOE-59: Make UI Testing Toolbox UITestManifest more generic step 1 Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants