Backend/e-suite.UnitTest.Core/e-suite.UnitTestCore/TestEnvironment.cs
2026-01-20 21:50:10 +00:00

43 lines
1.2 KiB
C#

namespace e_suite.UnitTestCore;
public class TestEnvironment
{
private string _baseUrl = string.Empty;
public string BaseUrl
{
get => _baseUrl;
set => _baseUrl = value.TrimEnd('/');
}
private string _apiUrl = string.Empty;
public string APIUrl
{
get => _apiUrl;
set => _apiUrl = value.TrimEnd('/');
}
public int ClickWaitSeconds { get; set; } = 60;
public int DebounceDelayMilliseconds { get; set; } = 2500;
public TimeSpan ClickWaitTime => TimeSpan.FromSeconds(ClickWaitSeconds);
public string Username { get; set; } = "testuser1@sun-strategy.com";
public string Password { get; set; } = "12345 Same as my luggage";
public bool HeadlessMode { get; set; } = true;
private string _testMailAppAPIKey = string.Empty;
public string TestMailAppAPIKey {
get => _testMailAppAPIKey;
set => _testMailAppAPIKey = value;
}
private string _testMailAppNamespace = string.Empty;
public string TestMailAppNamespace {
get => _testMailAppNamespace;
set => _testMailAppNamespace = value;
}
}