Files
Joseph Doherty 9bd5e340b0 Convert XML list markup to plain numbered text in UI test remarks
Replace <list type="number"><item>...</item></list> with plain numbered
lines in method-level <remarks> blocks across 23 UI test files to match
the codebase convention of using simple text in XML doc comments.
2026-02-10 08:05:42 -05:00

39 lines
1.5 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JdeScoping.Ui.Tests.Support;
namespace JdeScoping.Ui.Tests;
/// <summary>
/// Playwright UI tests for the "Time Span + Operator" search type (TC-050).
/// Validates search form interaction in smoke mode and full submission in strict mode.
/// Requires a running Docker host (Category: RequiresDockerHost).
/// </summary>
public sealed class TimeSpanOperatorSearchTests(PlaywrightFixture fixture) : SearchFlowTestBase(fixture)
{
/// <summary>
/// Verifies the Time Span + Operator search form submits with autocomplete filter (TC-050).
/// </summary>
/// <remarks>
/// Steps (smoke mode stops after step 4; strict mode runs all steps):
/// 1. Navigate to the search page.
/// 2. Enter the search name "MIGRATED-TC-050".
/// 3. Select the "Time Span + Operator" search type from the dropdown.
/// 4. Verify the dropdown displays the selected type.
/// 5. Set the date range to 01/01/2019 12/31/2019 (strict only).
/// 6. Add autocomplete value "ADAMSSN" to the "Filter by Operator" panel (strict only).
/// 7. Click Submit (strict only).
/// 8. Assert no error notification is present (strict only).
/// </remarks>
[Fact]
[Trait("Category", "RequiresDockerHost")]
public Task TimeSpanOperator_Submits()
{
return RunSearchSubmissionAsync(
UiSearchTypes.TimeSpanOperator,
"MIGRATED-TC-050",
"01/01/2019",
"12/31/2019",
[
("Filter by Operator", "ADAMSSN")
]);
}
}