Updating Mudblazor Version

This commit is contained in:
Jonathan
2025-04-27 19:34:50 -04:00
parent 38ff4e3e89
commit e820457176
153 changed files with 5010 additions and 2059 deletions
+5 -5
View File
@@ -8,7 +8,7 @@ namespace TestAutomation.Utils;
public class Website
{
public static readonly DeploymentType DeploymentType =
Environment.GetEnvironmentVariable("TEST_HOOK")!.Contains("localhost")
Environment.GetEnvironmentVariable("TEST_HOOK")!.Contains("localhost")
? DeploymentType.Local
: DeploymentType.Dev;
@@ -19,8 +19,6 @@ public class Website
public readonly ScreenType ScreenType = ScreenType.Desktop;
public TestReport TestReport { get; set; }
public Website(IWebDriver webDriver, TestReport testReport)
{
WebDriver = webDriver;
@@ -38,6 +36,8 @@ public class Website
WebsiteSearchDialog = new WebsiteSearchDialog(this);
}
public TestReport TestReport { get; set; }
public IWebDriver WebDriver { get; }
public HarassCalculatorPage HarassCalculatorPage { get; }
@@ -117,7 +117,7 @@ public class Website
{
return WebDriver.FindElements(By.TagName(tag));
}
public ReadOnlyCollection<IWebElement> FindAllWithTag(IWebElement parent, string tag)
{
return parent.FindElements(By.TagName(tag));
@@ -210,7 +210,7 @@ public class Website
public void Goto(string path)
{
var url = $"{Url}/{path}";
WebDriver.Navigate().GoToUrl($"{url}");
}
}