From d0691c339b1cd306d8da3f2284bc7adcd79211b5 Mon Sep 17 00:00:00 2001 From: James Croft Date: Tue, 12 Mar 2024 20:10:08 +0000 Subject: [PATCH] Remove redundant qualifiers --- .../Elements/AndroidElementWrapper.cs | 4 ++-- src/Legerity.Android/Elements/Core/Button.cs | 4 ++-- src/Legerity.Android/Elements/Core/View.cs | 4 ++-- .../AndroidElementWrapperExtensions.cs | 4 ++-- src/Legerity.Core/AppManager.cs | 16 ++++++++-------- src/Legerity.Core/ElementWrapper{TElement}.cs | 4 ++-- src/Legerity.Core/Extensions/PageExtensions.cs | 4 ++-- src/Legerity.Core/Helpers/AppiumServerHelper.cs | 4 ++-- src/Legerity.Core/Helpers/WaitUntilConditions.cs | 2 +- src/Legerity.Core/Pages/BasePage.cs | 6 +++--- .../Windows/Helpers/WinAppDriverHelper.cs | 2 +- .../Windows/WindowsAppManagerOptions.cs | 2 +- src/Legerity.IOS/Elements/Core/Button.cs | 4 ++-- src/Legerity.IOS/Elements/Core/Label.cs | 4 ++-- src/Legerity.IOS/Elements/Core/ProgressView.cs | 4 ++-- src/Legerity.IOS/Elements/Core/Slider.cs | 2 +- src/Legerity.IOS/Elements/Core/Switch.cs | 4 ++-- src/Legerity.IOS/Elements/Core/TextField.cs | 6 +++--- src/Legerity.IOS/Elements/IOSElementWrapper.cs | 4 ++-- .../Extensions/IOSElementWrapperExtensions.cs | 4 ++-- src/Legerity.MADE/DropDownList.cs | 4 ++-- src/Legerity.MADE/InputValidator.cs | 4 ++-- src/Legerity.Telerik.Uwp/RadAutoCompleteBox.cs | 4 ++-- src/Legerity.Telerik.Uwp/RadBulletGraph.cs | 4 ++-- src/Legerity.Telerik.Uwp/RadNumericBox.cs | 4 ++-- src/Legerity.WCT/BladeView.cs | 2 +- src/Legerity.WCT/BladeViewItem.cs | 4 ++-- src/Legerity.WCT/Carousel.cs | 4 ++-- src/Legerity.WCT/Expander.cs | 6 +++--- src/Legerity.WCT/InAppNotification.cs | 4 ++-- src/Legerity.WCT/RadialGauge.cs | 2 +- .../Pages/AzureAdLoginPage.cs | 2 +- .../Pages/FacebookLoginPage.cs | 2 +- .../Pages/GoogleLoginPage.cs | 2 +- src/Legerity.Web/Elements/Core/Button.cs | 4 ++-- src/Legerity.Web/Elements/Core/CheckBox.cs | 4 ++-- src/Legerity.Web/Elements/Core/FileInput.cs | 6 +++--- src/Legerity.Web/Elements/Core/Image.cs | 4 ++-- src/Legerity.Web/Elements/Core/List.cs | 4 ++-- src/Legerity.Web/Elements/Core/Option.cs | 6 +++--- src/Legerity.Web/Elements/Core/RadioButton.cs | 4 ++-- src/Legerity.Web/Elements/Core/Select.cs | 2 +- src/Legerity.Web/Elements/Core/TableRow.cs | 4 ++-- src/Legerity.Web/Elements/Core/TextInput.cs | 6 +++--- src/Legerity.Web/Elements/WebElementWrapper.cs | 4 ++-- .../Extensions/WebElementWrapperExtensions.cs | 4 ++-- src/Legerity.WinUI/InfoBar.cs | 4 ++-- src/Legerity.WinUI/MenuBarItem.cs | 2 +- src/Legerity.WinUI/NavigationView.cs | 2 +- src/Legerity.WinUI/NumberBox.cs | 4 ++-- src/Legerity.WinUI/RatingControl.cs | 2 +- src/Legerity.WinUI/TabView.cs | 4 ++-- .../Elements/Core/AppBarToggleButton.cs | 4 ++-- .../Elements/Core/CalendarDatePicker.cs | 2 +- .../Elements/Core/CalendarView.cs | 2 +- src/Legerity.Windows/Elements/Core/CheckBox.cs | 4 ++-- src/Legerity.Windows/Elements/Core/CommandBar.cs | 2 +- src/Legerity.Windows/Elements/Core/FlipView.cs | 2 +- src/Legerity.Windows/Elements/Core/GridView.cs | 2 +- .../Elements/Core/InkToolbar.ColorFlyoutBase.cs | 4 ++-- src/Legerity.Windows/Elements/Core/ListBox.cs | 2 +- src/Legerity.Windows/Elements/Core/ListView.cs | 2 +- src/Legerity.Windows/Elements/Core/Pivot.cs | 2 +- .../Elements/Core/ProgressBar.cs | 4 ++-- .../Elements/Core/ProgressRing.cs | 4 ++-- .../Elements/Core/RadioButton.cs | 4 ++-- src/Legerity.Windows/Elements/Core/Slider.cs | 2 +- src/Legerity.Windows/Elements/Core/TextBox.cs | 4 ++-- .../Elements/Core/ToggleButton.cs | 4 ++-- .../Elements/Core/ToggleSwitch.cs | 4 ++-- .../Extensions/AttributeExtensions.cs | 4 ++-- .../WindowsElementWrapperExtensions.cs | 4 ++-- tests/Legerity.Core.Tests/Pages/W3SchoolsPage.cs | 4 ++-- tests/Legerity.Core.Tests/Tests/ByNestedTests.cs | 2 +- .../Pages/BaseNavigationPage.cs | 2 +- .../Tests/BaseTestClass.cs | 4 ++-- .../Pages/BaseNavigationPage.cs | 4 ++-- tests/Legerity.WCT.Tests/Tests/BaseTestClass.cs | 4 ++-- .../Pages/W3SchoolsBasePage.cs | 4 ++-- tests/Legerity.Web.Tests/Tests/DateInputTests.cs | 2 +- .../Tests/MultipleSelectTests.cs | 2 +- tests/Legerity.Web.Tests/Tests/TextInputTests.cs | 2 +- .../Tests/W3SchoolsBaseTestClass.cs | 4 ++-- .../Legerity.Web.Tests/Tests/WebByExtraTests.cs | 2 +- .../Pages/BaseNavigationPage.cs | 4 ++-- tests/Legerity.WinUI.Tests/Pages/InfoBarPage.cs | 4 ++-- tests/Legerity.WinUI.Tests/Pages/MenuBarPage.cs | 2 +- .../Legerity.WinUI.Tests/Pages/NumberBoxPage.cs | 4 ++-- .../Pages/RatingControlPage.cs | 4 ++-- tests/Legerity.WinUI.Tests/Pages/TabViewPage.cs | 4 ++-- .../Legerity.WinUI.Tests/Tests/BaseTestClass.cs | 4 ++-- tests/Legerity.WinUI.Tests/Tests/InfoBarTests.cs | 2 +- .../Pages/AppBarToggleButtonPage.cs | 4 ++-- .../Pages/AutoSuggestBoxPage.cs | 4 ++-- .../Pages/CalendarDatePickerPage.cs | 4 ++-- .../Pages/CalendarViewPage.cs | 4 ++-- .../Legerity.Windows.Tests/Pages/ComboBoxPage.cs | 4 ++-- .../Pages/CommandBarPage.cs | 6 +++--- .../Pages/DatePickerPage.cs | 4 ++-- .../Legerity.Windows.Tests/Pages/FlipViewPage.cs | 4 ++-- .../Pages/InkToolbarPage.cs | 6 +++--- .../Legerity.Windows.Tests/Pages/ListBoxPage.cs | 6 +++--- tests/Legerity.Windows.Tests/Pages/SliderPage.cs | 4 ++-- .../Pages/TimePickerPage.cs | 4 ++-- .../Pages/ToggleSwitchPage.cs | 4 ++-- .../Tests/BaseTestClass.cs | 4 ++-- .../Tests/CalendarViewTests.cs | 2 +- .../Legerity.Windows.Tests/Tests/SliderTests.cs | 2 +- .../Android/AxmlPageObjectGenerator.cs | 6 +++--- .../Windows/XamlPageObjectGenerator.cs | 6 +++--- .../Infrastructure/Configuration/Options.cs | 4 ++-- tools/Legerity.PageObjectGenerator/Program.cs | 2 +- .../Tests/SampleTests.cs | 2 +- .../Tests/SampleTests.cs | 2 +- .../Tests/SampleTests.cs | 2 +- .../Tests/SampleTests.cs | 2 +- .../Tests/SampleTests.cs | 2 +- 117 files changed, 213 insertions(+), 213 deletions(-) diff --git a/src/Legerity.Android/Elements/AndroidElementWrapper.cs b/src/Legerity.Android/Elements/AndroidElementWrapper.cs index de924d22..fd17bc86 100644 --- a/src/Legerity.Android/Elements/AndroidElementWrapper.cs +++ b/src/Legerity.Android/Elements/AndroidElementWrapper.cs @@ -2,7 +2,7 @@ namespace Legerity.Android.Elements; using System; -using Legerity.Exceptions; +using Exceptions; using OpenQA.Selenium.Support.UI; /// @@ -97,4 +97,4 @@ protected void VerifyDriverElementsShown(By locator, TimeSpan? timeout) wait.Until(driver => driver.FindElements(locator).Count != 0); } } -} \ No newline at end of file +} diff --git a/src/Legerity.Android/Elements/Core/Button.cs b/src/Legerity.Android/Elements/Core/Button.cs index 9b00b477..9bff460f 100644 --- a/src/Legerity.Android/Elements/Core/Button.cs +++ b/src/Legerity.Android/Elements/Core/Button.cs @@ -1,6 +1,6 @@ namespace Legerity.Android.Elements.Core; -using Legerity.Android.Elements; +using Elements; /// /// Defines a wrapper for the core Android Button control. @@ -31,4 +31,4 @@ public static implicit operator Button(WebElement element) { return new Button(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Android/Elements/Core/View.cs b/src/Legerity.Android/Elements/Core/View.cs index 12bd15cc..c837978f 100644 --- a/src/Legerity.Android/Elements/Core/View.cs +++ b/src/Legerity.Android/Elements/Core/View.cs @@ -1,6 +1,6 @@ namespace Legerity.Android.Elements.Core; -using Legerity.Android.Elements; +using Elements; /// /// Defines a wrapper for the core Android View base control. @@ -31,4 +31,4 @@ public static implicit operator View(WebElement element) { return new View(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Android/Extensions/AndroidElementWrapperExtensions.cs b/src/Legerity.Android/Extensions/AndroidElementWrapperExtensions.cs index 29ff5080..af37ab21 100644 --- a/src/Legerity.Android/Extensions/AndroidElementWrapperExtensions.cs +++ b/src/Legerity.Android/Extensions/AndroidElementWrapperExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.Android.Extensions; using System; -using Legerity.Android.Elements; +using Elements; using OpenQA.Selenium.Support.UI; /// @@ -85,4 +85,4 @@ public static TResult WaitUntil( return WaitUntil(element, condition, timeout, retries - 1); } } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/AppManager.cs b/src/Legerity.Core/AppManager.cs index 0f465eef..9509cb02 100644 --- a/src/Legerity.Core/AppManager.cs +++ b/src/Legerity.Core/AppManager.cs @@ -2,13 +2,13 @@ namespace Legerity; using System; using System.Collections.Generic; -using Legerity.Android; -using Legerity.Exceptions; -using Legerity.Extensions; -using Legerity.Helpers; -using Legerity.IOS; -using Legerity.Web; -using Legerity.Windows; +using Android; +using Exceptions; +using Extensions; +using Helpers; +using IOS; +using Web; +using Windows; using Legerity.Windows.Helpers; using OpenQA.Selenium.Appium.Android; using OpenQA.Selenium.Appium.iOS; @@ -291,4 +291,4 @@ private static void VerifyAppDriver(WebDriver app, AppManagerOptions opts) // Set implicit timeout to 2 seconds to make element search to retry every 500 ms for at most three times. app.Manage().Timeouts().ImplicitWait = opts.ImplicitWait; } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/ElementWrapper{TElement}.cs b/src/Legerity.Core/ElementWrapper{TElement}.cs index ebb83c7e..d03cbd6a 100644 --- a/src/Legerity.Core/ElementWrapper{TElement}.cs +++ b/src/Legerity.Core/ElementWrapper{TElement}.cs @@ -2,7 +2,7 @@ namespace Legerity; using System; -using Legerity.Exceptions; +using Exceptions; using OpenQA.Selenium.Support.UI; /// @@ -185,4 +185,4 @@ public void VerifyElementsShown(By locator, TimeSpan? timeout) wait.Until(driver => driver.FindElements(locator).Count != 0); } } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/Extensions/PageExtensions.cs b/src/Legerity.Core/Extensions/PageExtensions.cs index f4ad2684..6c764996 100644 --- a/src/Legerity.Core/Extensions/PageExtensions.cs +++ b/src/Legerity.Core/Extensions/PageExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.Extensions; using System; -using Legerity.Pages; +using Pages; using OpenQA.Selenium.Support.UI; /// @@ -86,4 +86,4 @@ public static TPage WaitUntil( return page; } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/Helpers/AppiumServerHelper.cs b/src/Legerity.Core/Helpers/AppiumServerHelper.cs index 1ceb3bd9..b6c7e24e 100644 --- a/src/Legerity.Core/Helpers/AppiumServerHelper.cs +++ b/src/Legerity.Core/Helpers/AppiumServerHelper.cs @@ -1,7 +1,7 @@ namespace Legerity.Helpers; using System; -using Legerity.Exceptions; +using Exceptions; using OpenQA.Selenium.Appium.Service; /// @@ -49,4 +49,4 @@ public static void Stop() { } } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/Helpers/WaitUntilConditions.cs b/src/Legerity.Core/Helpers/WaitUntilConditions.cs index cf119dee..0bb12ef0 100644 --- a/src/Legerity.Core/Helpers/WaitUntilConditions.cs +++ b/src/Legerity.Core/Helpers/WaitUntilConditions.cs @@ -1,7 +1,7 @@ namespace Legerity.Helpers; using System; -using Legerity.Pages; +using Pages; /// /// Defines a set of conditions that can be used with the WaitUntil methods of elements and pages. diff --git a/src/Legerity.Core/Pages/BasePage.cs b/src/Legerity.Core/Pages/BasePage.cs index 1c10a427..f290fcd5 100644 --- a/src/Legerity.Core/Pages/BasePage.cs +++ b/src/Legerity.Core/Pages/BasePage.cs @@ -3,8 +3,8 @@ namespace Legerity.Pages; using System; using System.Collections.ObjectModel; using System.Linq; -using Legerity.Exceptions; -using Legerity.Extensions; +using Exceptions; +using Extensions; using OpenQA.Selenium.Appium.Android; using OpenQA.Selenium.Appium.iOS; using OpenQA.Selenium.Appium.Windows; @@ -305,4 +305,4 @@ private static void AttemptWaitForDriverElement(By locator, TimeSpan timeout, IW var wait = new WebDriverWait(appDriver, timeout); wait.Until(driver => driver.FindElement(locator) != null); } -} \ No newline at end of file +} diff --git a/src/Legerity.Core/Windows/Helpers/WinAppDriverHelper.cs b/src/Legerity.Core/Windows/Helpers/WinAppDriverHelper.cs index bd706f85..1a2ad748 100644 --- a/src/Legerity.Core/Windows/Helpers/WinAppDriverHelper.cs +++ b/src/Legerity.Core/Windows/Helpers/WinAppDriverHelper.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Helpers; using System.Diagnostics; using System.IO; using System.Linq; -using Legerity.Windows.Exceptions; +using Exceptions; /// /// Defines a helper class for the WinAppDriver. diff --git a/src/Legerity.Core/Windows/WindowsAppManagerOptions.cs b/src/Legerity.Core/Windows/WindowsAppManagerOptions.cs index f1a6587b..6af8ae35 100644 --- a/src/Legerity.Core/Windows/WindowsAppManagerOptions.cs +++ b/src/Legerity.Core/Windows/WindowsAppManagerOptions.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows; using System.Collections.Generic; -using Legerity.Windows.Helpers; +using Helpers; using OpenQA.Selenium.Appium; /// diff --git a/src/Legerity.IOS/Elements/Core/Button.cs b/src/Legerity.IOS/Elements/Core/Button.cs index d415e6cc..36a1c597 100644 --- a/src/Legerity.IOS/Elements/Core/Button.cs +++ b/src/Legerity.IOS/Elements/Core/Button.cs @@ -1,6 +1,6 @@ namespace Legerity.IOS.Elements.Core; -using Legerity.IOS.Extensions; +using Extensions; /// /// Defines a wrapper for the core iOS Button control. @@ -37,4 +37,4 @@ public static implicit operator Button(WebElement element) { return new Button(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Elements/Core/Label.cs b/src/Legerity.IOS/Elements/Core/Label.cs index c8f32eb7..0e7011c3 100644 --- a/src/Legerity.IOS/Elements/Core/Label.cs +++ b/src/Legerity.IOS/Elements/Core/Label.cs @@ -1,6 +1,6 @@ namespace Legerity.IOS.Elements.Core; -using Legerity.IOS.Extensions; +using Extensions; /// /// Defines a wrapper for the core iOS Label control. @@ -37,4 +37,4 @@ public static implicit operator Label(WebElement element) { return new Label(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Elements/Core/ProgressView.cs b/src/Legerity.IOS/Elements/Core/ProgressView.cs index 2775e6ca..09fa4b83 100644 --- a/src/Legerity.IOS/Elements/Core/ProgressView.cs +++ b/src/Legerity.IOS/Elements/Core/ProgressView.cs @@ -1,6 +1,6 @@ namespace Legerity.IOS.Elements.Core; -using Legerity.IOS.Extensions; +using Extensions; /// /// Defines a wrapper for the core iOS ProgressView control. @@ -37,4 +37,4 @@ public static implicit operator ProgressView(WebElement element) { return new ProgressView(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Elements/Core/Slider.cs b/src/Legerity.IOS/Elements/Core/Slider.cs index cd23f58e..76c201fa 100644 --- a/src/Legerity.IOS/Elements/Core/Slider.cs +++ b/src/Legerity.IOS/Elements/Core/Slider.cs @@ -1,7 +1,7 @@ namespace Legerity.IOS.Elements.Core; using System; -using Legerity.IOS.Extensions; +using Extensions; /// /// Defines a wrapper for the core iOS Slider control. diff --git a/src/Legerity.IOS/Elements/Core/Switch.cs b/src/Legerity.IOS/Elements/Core/Switch.cs index 91c94a7f..8a33758f 100644 --- a/src/Legerity.IOS/Elements/Core/Switch.cs +++ b/src/Legerity.IOS/Elements/Core/Switch.cs @@ -1,6 +1,6 @@ namespace Legerity.IOS.Elements.Core; -using Legerity.IOS.Extensions; +using Extensions; /// /// Defines a wrapper for the core iOS Switch control. @@ -71,4 +71,4 @@ public virtual void ToggleOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Elements/Core/TextField.cs b/src/Legerity.IOS/Elements/Core/TextField.cs index 6edb0cd2..3cdf3237 100644 --- a/src/Legerity.IOS/Elements/Core/TextField.cs +++ b/src/Legerity.IOS/Elements/Core/TextField.cs @@ -1,7 +1,7 @@ namespace Legerity.IOS.Elements.Core; -using Legerity.IOS.Elements; -using Legerity.IOS.Extensions; +using Elements; +using Extensions; /// /// Defines a wrapper for the core iOS TextField control. @@ -80,4 +80,4 @@ public virtual void ClearText() Click(); Element.Clear(); } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Elements/IOSElementWrapper.cs b/src/Legerity.IOS/Elements/IOSElementWrapper.cs index e91539be..d1d5e556 100644 --- a/src/Legerity.IOS/Elements/IOSElementWrapper.cs +++ b/src/Legerity.IOS/Elements/IOSElementWrapper.cs @@ -2,7 +2,7 @@ namespace Legerity.IOS.Elements; using System; -using Legerity.Exceptions; +using Exceptions; using OpenQA.Selenium.Support.UI; /// @@ -97,4 +97,4 @@ protected void VerifyDriverElementsShown(By locator, TimeSpan? timeout) wait.Until(driver => driver.FindElements(locator).Count != 0); } } -} \ No newline at end of file +} diff --git a/src/Legerity.IOS/Extensions/IOSElementWrapperExtensions.cs b/src/Legerity.IOS/Extensions/IOSElementWrapperExtensions.cs index cd463813..5d8cb7bd 100644 --- a/src/Legerity.IOS/Extensions/IOSElementWrapperExtensions.cs +++ b/src/Legerity.IOS/Extensions/IOSElementWrapperExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.IOS.Extensions; using System; -using Legerity.IOS.Elements; +using Elements; using OpenQA.Selenium.Support.UI; /// @@ -85,4 +85,4 @@ public static TResult WaitUntil( return WaitUntil(element, condition, timeout, retries - 1); } } -} \ No newline at end of file +} diff --git a/src/Legerity.MADE/DropDownList.cs b/src/Legerity.MADE/DropDownList.cs index 54f56fe1..0a3ed7fa 100644 --- a/src/Legerity.MADE/DropDownList.cs +++ b/src/Legerity.MADE/DropDownList.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.MADE; using Legerity.Exceptions; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the MADE.NET UWP DropDownList control. @@ -109,4 +109,4 @@ public virtual bool IsDropDownOpen() return isVisible; } -} \ No newline at end of file +} diff --git a/src/Legerity.MADE/InputValidator.cs b/src/Legerity.MADE/InputValidator.cs index f74de48a..110380b8 100644 --- a/src/Legerity.MADE/InputValidator.cs +++ b/src/Legerity.MADE/InputValidator.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.MADE; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the MADE.NET UWP InputValidator control. @@ -77,4 +77,4 @@ public virtual string FeedbackMessage() return message; } -} \ No newline at end of file +} diff --git a/src/Legerity.Telerik.Uwp/RadAutoCompleteBox.cs b/src/Legerity.Telerik.Uwp/RadAutoCompleteBox.cs index 635c59ce..01dac6e3 100644 --- a/src/Legerity.Telerik.Uwp/RadAutoCompleteBox.cs +++ b/src/Legerity.Telerik.Uwp/RadAutoCompleteBox.cs @@ -2,7 +2,7 @@ namespace Legerity.Windows.Elements.Telerik; using System; using Legerity.Exceptions; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the Telerik UWP RadAutoCompleteBox control. @@ -117,4 +117,4 @@ public virtual void SetText(string value) { TextBox.SetText(value); } -} \ No newline at end of file +} diff --git a/src/Legerity.Telerik.Uwp/RadBulletGraph.cs b/src/Legerity.Telerik.Uwp/RadBulletGraph.cs index e9c45eff..1ddc1eef 100644 --- a/src/Legerity.Telerik.Uwp/RadBulletGraph.cs +++ b/src/Legerity.Telerik.Uwp/RadBulletGraph.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Telerik; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the Telerik UWP RadBulletGraph control. @@ -49,4 +49,4 @@ public static implicit operator RadBulletGraph(WebElement element) { return new RadBulletGraph(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Telerik.Uwp/RadNumericBox.cs b/src/Legerity.Telerik.Uwp/RadNumericBox.cs index e1897e49..9863d479 100644 --- a/src/Legerity.Telerik.Uwp/RadNumericBox.cs +++ b/src/Legerity.Telerik.Uwp/RadNumericBox.cs @@ -1,8 +1,8 @@ namespace Legerity.Windows.Elements.Telerik; using System; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Core; +using Extensions; /// /// Defines a wrapper for the Telerik UWP RadNumericBox control. diff --git a/src/Legerity.WCT/BladeView.cs b/src/Legerity.WCT/BladeView.cs index 1b51449f..830e8a6e 100644 --- a/src/Legerity.WCT/BladeView.cs +++ b/src/Legerity.WCT/BladeView.cs @@ -2,7 +2,7 @@ namespace Legerity.Windows.Elements.WCT; using System.Collections.Generic; using System.Linq; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the Windows Community Toolkit BladeView control. diff --git a/src/Legerity.WCT/BladeViewItem.cs b/src/Legerity.WCT/BladeViewItem.cs index 89e3e747..81c0d832 100644 --- a/src/Legerity.WCT/BladeViewItem.cs +++ b/src/Legerity.WCT/BladeViewItem.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.WCT; using System; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the Windows Community Toolkit BladeViewItem control. @@ -84,4 +84,4 @@ public virtual void Close() { CloseButton.Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.WCT/Carousel.cs b/src/Legerity.WCT/Carousel.cs index 8f307aa6..e04bffdd 100644 --- a/src/Legerity.WCT/Carousel.cs +++ b/src/Legerity.WCT/Carousel.cs @@ -4,8 +4,8 @@ namespace Legerity.Windows.Elements.WCT; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Core; +using Extensions; /// /// Defines a wrapper for the Windows Community Toolkit Carousel control. diff --git a/src/Legerity.WCT/Expander.cs b/src/Legerity.WCT/Expander.cs index e42819a4..37dfb630 100644 --- a/src/Legerity.WCT/Expander.cs +++ b/src/Legerity.WCT/Expander.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.WCT; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Core; +using Extensions; /// /// Defines a wrapper for the Windows Community Toolkit Expander control. @@ -78,4 +78,4 @@ public virtual void Collapse() ToggleButton.Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.WCT/InAppNotification.cs b/src/Legerity.WCT/InAppNotification.cs index b62a674a..c1c54ffe 100644 --- a/src/Legerity.WCT/InAppNotification.cs +++ b/src/Legerity.WCT/InAppNotification.cs @@ -2,7 +2,7 @@ namespace Legerity.Windows.Elements.WCT; using System.Linq; using Extensions; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the Windows Community Toolkit InAppNotification control. @@ -60,4 +60,4 @@ public virtual void Dismiss() { DismissButton.Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.WCT/RadialGauge.cs b/src/Legerity.WCT/RadialGauge.cs index 17f3d8fb..e1668045 100644 --- a/src/Legerity.WCT/RadialGauge.cs +++ b/src/Legerity.WCT/RadialGauge.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.WCT; using System; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the Windows Community Toolkit RadialGauge control. diff --git a/src/Legerity.Web.Authentication/Pages/AzureAdLoginPage.cs b/src/Legerity.Web.Authentication/Pages/AzureAdLoginPage.cs index fa9a6b57..fbaff70f 100644 --- a/src/Legerity.Web.Authentication/Pages/AzureAdLoginPage.cs +++ b/src/Legerity.Web.Authentication/Pages/AzureAdLoginPage.cs @@ -4,7 +4,7 @@ namespace Legerity.Web.Authentication.Pages; using Exceptions; using Legerity.Extensions; using Legerity.Pages; -using Legerity.Web.Elements.Core; +using Elements.Core; /// /// Defines a page object for the Azure Active Directory login page. diff --git a/src/Legerity.Web.Authentication/Pages/FacebookLoginPage.cs b/src/Legerity.Web.Authentication/Pages/FacebookLoginPage.cs index f581baa3..573650b0 100644 --- a/src/Legerity.Web.Authentication/Pages/FacebookLoginPage.cs +++ b/src/Legerity.Web.Authentication/Pages/FacebookLoginPage.cs @@ -4,7 +4,7 @@ namespace Legerity.Web.Authentication.Pages; using Exceptions; using Legerity.Extensions; using Legerity.Pages; -using Legerity.Web.Elements.Core; +using Elements.Core; /// /// Defines a page object for the Facebook login page. diff --git a/src/Legerity.Web.Authentication/Pages/GoogleLoginPage.cs b/src/Legerity.Web.Authentication/Pages/GoogleLoginPage.cs index fcb75d6e..2f97842f 100644 --- a/src/Legerity.Web.Authentication/Pages/GoogleLoginPage.cs +++ b/src/Legerity.Web.Authentication/Pages/GoogleLoginPage.cs @@ -4,7 +4,7 @@ namespace Legerity.Web.Authentication.Pages; using Exceptions; using Legerity.Extensions; using Legerity.Pages; -using Legerity.Web.Elements.Core; +using Elements.Core; /// /// Defines a page object for the Google login page. diff --git a/src/Legerity.Web/Elements/Core/Button.cs b/src/Legerity.Web/Elements/Core/Button.cs index 2ca9e212..b21040e6 100644 --- a/src/Legerity.Web/Elements/Core/Button.cs +++ b/src/Legerity.Web/Elements/Core/Button.cs @@ -1,6 +1,6 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Elements; +using Elements; /// /// Defines a wrapper for the core web Button control. @@ -42,4 +42,4 @@ public static implicit operator Button(WebElement element) { return new Button(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/CheckBox.cs b/src/Legerity.Web/Elements/Core/CheckBox.cs index 4c05bc3c..59f11517 100644 --- a/src/Legerity.Web/Elements/Core/CheckBox.cs +++ b/src/Legerity.Web/Elements/Core/CheckBox.cs @@ -1,6 +1,6 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Elements; +using Elements; /// /// Defines a wrapper for the core web Input checkbox control. @@ -80,4 +80,4 @@ public virtual void CheckOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/FileInput.cs b/src/Legerity.Web/Elements/Core/FileInput.cs index 6c951099..95b9343a 100644 --- a/src/Legerity.Web/Elements/Core/FileInput.cs +++ b/src/Legerity.Web/Elements/Core/FileInput.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Elements; -using Legerity.Web.Extensions; +using Elements; +using Extensions; /// /// Defines a wrapper for the core web Input file control. @@ -71,4 +71,4 @@ public virtual void ClearFile() { Element.Clear(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/Image.cs b/src/Legerity.Web/Elements/Core/Image.cs index 47dea4c6..fca274de 100644 --- a/src/Legerity.Web/Elements/Core/Image.cs +++ b/src/Legerity.Web/Elements/Core/Image.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Elements.Core; using Extensions; -using Legerity.Web.Elements; +using Elements; /// /// Defines a wrapper for the core web Image control. @@ -67,4 +67,4 @@ public static implicit operator Image(WebElement element) { return new Image(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/List.cs b/src/Legerity.Web/Elements/Core/List.cs index d3d06530..76f2bb2f 100644 --- a/src/Legerity.Web/Elements/Core/List.cs +++ b/src/Legerity.Web/Elements/Core/List.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Elements.Core; using System.Collections.ObjectModel; -using Legerity.Web.Elements; +using Elements; /// /// Defines a wrapper for the core web ol or ul control. @@ -48,4 +48,4 @@ public static implicit operator List(WebElement element) { return new List(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/Option.cs b/src/Legerity.Web/Elements/Core/Option.cs index 971626a8..dca945bd 100644 --- a/src/Legerity.Web/Elements/Core/Option.cs +++ b/src/Legerity.Web/Elements/Core/Option.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Elements; -using Legerity.Web.Extensions; +using Elements; +using Extensions; /// /// Defines a wrapper for the core web Option control. @@ -72,4 +72,4 @@ public virtual void Select() { Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/RadioButton.cs b/src/Legerity.Web/Elements/Core/RadioButton.cs index 58d8da90..ab1a733f 100644 --- a/src/Legerity.Web/Elements/Core/RadioButton.cs +++ b/src/Legerity.Web/Elements/Core/RadioButton.cs @@ -1,6 +1,6 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Extensions; +using Extensions; /// /// Defines a wrapper for the core web Input radio control. @@ -54,4 +54,4 @@ public static implicit operator RadioButton(WebElement element) { return new RadioButton(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/Select.cs b/src/Legerity.Web/Elements/Core/Select.cs index 1be6a16a..877d977f 100644 --- a/src/Legerity.Web/Elements/Core/Select.cs +++ b/src/Legerity.Web/Elements/Core/Select.cs @@ -5,7 +5,7 @@ namespace Legerity.Web.Elements.Core; using System.Globalization; using System.Linq; using Legerity.Extensions; -using Legerity.Web.Elements; +using Elements; /// /// Defines a wrapper for the core web Select control. diff --git a/src/Legerity.Web/Elements/Core/TableRow.cs b/src/Legerity.Web/Elements/Core/TableRow.cs index ef026721..7ab7fba3 100644 --- a/src/Legerity.Web/Elements/Core/TableRow.cs +++ b/src/Legerity.Web/Elements/Core/TableRow.cs @@ -3,7 +3,7 @@ namespace Legerity.Web.Elements.Core; using System.Collections.Generic; using System.Linq; using Legerity.Extensions; -using Legerity.Web.Extensions; +using Extensions; /// /// Defines a wrapper for the core web Table Row (tr) control. @@ -37,4 +37,4 @@ public TableRow(WebElement element) /// /// Thrown when an element is no longer valid in the document DOM. public virtual IEnumerable Values => this.GetAllChildElements().Select(x => x.GetInnerHtml()); -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/Core/TextInput.cs b/src/Legerity.Web/Elements/Core/TextInput.cs index 557e65b6..c79025d7 100644 --- a/src/Legerity.Web/Elements/Core/TextInput.cs +++ b/src/Legerity.Web/Elements/Core/TextInput.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Elements.Core; -using Legerity.Web.Elements; -using Legerity.Web.Extensions; +using Elements; +using Extensions; /// /// Defines a wrapper for the core web Input text control. @@ -87,4 +87,4 @@ public virtual void ClearText() Click(); Element.Clear(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Elements/WebElementWrapper.cs b/src/Legerity.Web/Elements/WebElementWrapper.cs index 74fa6437..885d2164 100644 --- a/src/Legerity.Web/Elements/WebElementWrapper.cs +++ b/src/Legerity.Web/Elements/WebElementWrapper.cs @@ -2,7 +2,7 @@ namespace Legerity.Web.Elements; using System; using System.Collections.ObjectModel; -using Legerity.Exceptions; +using Exceptions; using Legerity.Extensions; using OpenQA.Selenium.Support.UI; @@ -222,4 +222,4 @@ public void VerifyElementsShown(By locator, TimeSpan? timeout) wait.Until(driver => driver.FindElements(locator).Count != 0); } } -} \ No newline at end of file +} diff --git a/src/Legerity.Web/Extensions/WebElementWrapperExtensions.cs b/src/Legerity.Web/Extensions/WebElementWrapperExtensions.cs index af9dca3f..aac5ef54 100644 --- a/src/Legerity.Web/Extensions/WebElementWrapperExtensions.cs +++ b/src/Legerity.Web/Extensions/WebElementWrapperExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Extensions; using System; -using Legerity.Web.Elements; +using Elements; using OpenQA.Selenium.Support.UI; /// @@ -85,4 +85,4 @@ public static TResult WaitUntil( return WaitUntil(element, condition, timeout, retries - 1); } } -} \ No newline at end of file +} diff --git a/src/Legerity.WinUI/InfoBar.cs b/src/Legerity.WinUI/InfoBar.cs index c585eb6c..357f961b 100644 --- a/src/Legerity.WinUI/InfoBar.cs +++ b/src/Legerity.WinUI/InfoBar.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.WinUI; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the WinUI InfoBar control. @@ -77,4 +77,4 @@ public virtual void Close() { CloseButton.Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.WinUI/MenuBarItem.cs b/src/Legerity.WinUI/MenuBarItem.cs index 77ca978e..2bc73c37 100644 --- a/src/Legerity.WinUI/MenuBarItem.cs +++ b/src/Legerity.WinUI/MenuBarItem.cs @@ -5,7 +5,7 @@ namespace Legerity.Windows.Elements.WinUI; using System.Globalization; using System.Linq; using Legerity.Extensions; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the WinUI MenuBarItem control. diff --git a/src/Legerity.WinUI/NavigationView.cs b/src/Legerity.WinUI/NavigationView.cs index a3271a4d..03188544 100644 --- a/src/Legerity.WinUI/NavigationView.cs +++ b/src/Legerity.WinUI/NavigationView.cs @@ -6,7 +6,7 @@ namespace Legerity.Windows.Elements.WinUI; using System.Linq; using Extensions; using Legerity.Extensions; -using Legerity.Windows.Elements.Core; +using Core; /// /// Defines a wrapper for the WinUI NavigationView control. diff --git a/src/Legerity.WinUI/NumberBox.cs b/src/Legerity.WinUI/NumberBox.cs index c92cf8a9..6a8bf68c 100644 --- a/src/Legerity.WinUI/NumberBox.cs +++ b/src/Legerity.WinUI/NumberBox.cs @@ -1,8 +1,8 @@ namespace Legerity.Windows.Elements.WinUI; using System; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Core; +using Extensions; /// /// Defines a wrapper for the WinUI NumberBox control. diff --git a/src/Legerity.WinUI/RatingControl.cs b/src/Legerity.WinUI/RatingControl.cs index 15710c27..fafc2493 100644 --- a/src/Legerity.WinUI/RatingControl.cs +++ b/src/Legerity.WinUI/RatingControl.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.WinUI; using System; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the WinUI Rating control. diff --git a/src/Legerity.WinUI/TabView.cs b/src/Legerity.WinUI/TabView.cs index 107e07c5..29aed26a 100644 --- a/src/Legerity.WinUI/TabView.cs +++ b/src/Legerity.WinUI/TabView.cs @@ -4,8 +4,8 @@ namespace Legerity.Windows.Elements.WinUI; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Core; +using Extensions; /// /// Defines a wrapper for the WinUI TabView control. diff --git a/src/Legerity.Windows/Elements/Core/AppBarToggleButton.cs b/src/Legerity.Windows/Elements/Core/AppBarToggleButton.cs index 44088570..1eff2315 100644 --- a/src/Legerity.Windows/Elements/Core/AppBarToggleButton.cs +++ b/src/Legerity.Windows/Elements/Core/AppBarToggleButton.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP AppBarToggleButton control. @@ -69,4 +69,4 @@ public virtual void ToggleOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/CalendarDatePicker.cs b/src/Legerity.Windows/Elements/Core/CalendarDatePicker.cs index 9b61858f..91b1a496 100644 --- a/src/Legerity.Windows/Elements/Core/CalendarDatePicker.cs +++ b/src/Legerity.Windows/Elements/Core/CalendarDatePicker.cs @@ -3,7 +3,7 @@ namespace Legerity.Windows.Elements.Core; using System; using Legerity.Exceptions; using Legerity.Extensions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP CalendarDatePicker control. diff --git a/src/Legerity.Windows/Elements/Core/CalendarView.cs b/src/Legerity.Windows/Elements/Core/CalendarView.cs index 77e479ae..e956ad64 100644 --- a/src/Legerity.Windows/Elements/Core/CalendarView.cs +++ b/src/Legerity.Windows/Elements/Core/CalendarView.cs @@ -6,7 +6,7 @@ namespace Legerity.Windows.Elements.Core; using System.Linq; using System.Threading; using Legerity.Extensions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP CalendarView control. diff --git a/src/Legerity.Windows/Elements/Core/CheckBox.cs b/src/Legerity.Windows/Elements/Core/CheckBox.cs index fe1943b3..cbf11131 100644 --- a/src/Legerity.Windows/Elements/Core/CheckBox.cs +++ b/src/Legerity.Windows/Elements/Core/CheckBox.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP CheckBox control. @@ -75,4 +75,4 @@ public virtual void CheckOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/CommandBar.cs b/src/Legerity.Windows/Elements/Core/CommandBar.cs index 4ff9b97a..f576b1f0 100644 --- a/src/Legerity.Windows/Elements/Core/CommandBar.cs +++ b/src/Legerity.Windows/Elements/Core/CommandBar.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Collections.Generic; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP CommandBar control. diff --git a/src/Legerity.Windows/Elements/Core/FlipView.cs b/src/Legerity.Windows/Elements/Core/FlipView.cs index 9a9c0316..3868ca56 100644 --- a/src/Legerity.Windows/Elements/Core/FlipView.cs +++ b/src/Legerity.Windows/Elements/Core/FlipView.cs @@ -5,7 +5,7 @@ namespace Legerity.Windows.Elements.Core; using System.Globalization; using System.Linq; using Legerity.Extensions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP FlipView control. diff --git a/src/Legerity.Windows/Elements/Core/GridView.cs b/src/Legerity.Windows/Elements/Core/GridView.cs index 1337fdb6..8db9b2ee 100644 --- a/src/Legerity.Windows/Elements/Core/GridView.cs +++ b/src/Legerity.Windows/Elements/Core/GridView.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP GridView control. diff --git a/src/Legerity.Windows/Elements/Core/InkToolbar.ColorFlyoutBase.cs b/src/Legerity.Windows/Elements/Core/InkToolbar.ColorFlyoutBase.cs index 2f6b22e1..eb1103a0 100644 --- a/src/Legerity.Windows/Elements/Core/InkToolbar.ColorFlyoutBase.cs +++ b/src/Legerity.Windows/Elements/Core/InkToolbar.ColorFlyoutBase.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Linq; using Legerity.Exceptions; using Legerity.Extensions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines the color flyout components of the . @@ -93,4 +93,4 @@ private WebElement GetSelectedColor() return ColorGridView.Items.FirstOrDefault(i => i.IsSelected()); } } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/ListBox.cs b/src/Legerity.Windows/Elements/Core/ListBox.cs index 9e9a62de..19ff1afe 100644 --- a/src/Legerity.Windows/Elements/Core/ListBox.cs +++ b/src/Legerity.Windows/Elements/Core/ListBox.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP ListBox control. diff --git a/src/Legerity.Windows/Elements/Core/ListView.cs b/src/Legerity.Windows/Elements/Core/ListView.cs index 6fc0e96b..ff4d08ab 100644 --- a/src/Legerity.Windows/Elements/Core/ListView.cs +++ b/src/Legerity.Windows/Elements/Core/ListView.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP ListView control. diff --git a/src/Legerity.Windows/Elements/Core/Pivot.cs b/src/Legerity.Windows/Elements/Core/Pivot.cs index 1ab0b7ec..dc143337 100644 --- a/src/Legerity.Windows/Elements/Core/Pivot.cs +++ b/src/Legerity.Windows/Elements/Core/Pivot.cs @@ -4,7 +4,7 @@ namespace Legerity.Windows.Elements.Core; using System.Collections.ObjectModel; using System.Linq; using Legerity.Exceptions; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP Pivot control. diff --git a/src/Legerity.Windows/Elements/Core/ProgressBar.cs b/src/Legerity.Windows/Elements/Core/ProgressBar.cs index 29d9e5d9..5ee1300b 100644 --- a/src/Legerity.Windows/Elements/Core/ProgressBar.cs +++ b/src/Legerity.Windows/Elements/Core/ProgressBar.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.Core; using System; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP ProgressBar control. @@ -47,4 +47,4 @@ public static implicit operator ProgressBar(WebElement element) { return new ProgressBar(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/ProgressRing.cs b/src/Legerity.Windows/Elements/Core/ProgressRing.cs index 8042544f..0d1a225e 100644 --- a/src/Legerity.Windows/Elements/Core/ProgressRing.cs +++ b/src/Legerity.Windows/Elements/Core/ProgressRing.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; using System; /// @@ -47,4 +47,4 @@ public static implicit operator ProgressRing(WebElement element) { return new ProgressRing(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/RadioButton.cs b/src/Legerity.Windows/Elements/Core/RadioButton.cs index 813c9b18..8eb40e26 100644 --- a/src/Legerity.Windows/Elements/Core/RadioButton.cs +++ b/src/Legerity.Windows/Elements/Core/RadioButton.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP RadioButton control. @@ -37,4 +37,4 @@ public static implicit operator RadioButton(WebElement element) { return new RadioButton(element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/Slider.cs b/src/Legerity.Windows/Elements/Core/Slider.cs index 926cd144..56580e03 100644 --- a/src/Legerity.Windows/Elements/Core/Slider.cs +++ b/src/Legerity.Windows/Elements/Core/Slider.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Elements.Core; using System; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP Slider control. diff --git a/src/Legerity.Windows/Elements/Core/TextBox.cs b/src/Legerity.Windows/Elements/Core/TextBox.cs index 29cef0e4..866533f2 100644 --- a/src/Legerity.Windows/Elements/Core/TextBox.cs +++ b/src/Legerity.Windows/Elements/Core/TextBox.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP TextBox control. @@ -77,4 +77,4 @@ public virtual void ClearText() { Element.Clear(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/ToggleButton.cs b/src/Legerity.Windows/Elements/Core/ToggleButton.cs index 3a79d451..b4cc1c00 100644 --- a/src/Legerity.Windows/Elements/Core/ToggleButton.cs +++ b/src/Legerity.Windows/Elements/Core/ToggleButton.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP ToggleButton control. @@ -69,4 +69,4 @@ public virtual void ToggleOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Elements/Core/ToggleSwitch.cs b/src/Legerity.Windows/Elements/Core/ToggleSwitch.cs index effa1170..4b9a2417 100644 --- a/src/Legerity.Windows/Elements/Core/ToggleSwitch.cs +++ b/src/Legerity.Windows/Elements/Core/ToggleSwitch.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Elements.Core; -using Legerity.Windows.Extensions; +using Extensions; /// /// Defines a wrapper for the core UWP ToggleSwitch control. @@ -69,4 +69,4 @@ public virtual void ToggleOff() Click(); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Extensions/AttributeExtensions.cs b/src/Legerity.Windows/Extensions/AttributeExtensions.cs index b39a7af1..788c390e 100644 --- a/src/Legerity.Windows/Extensions/AttributeExtensions.cs +++ b/src/Legerity.Windows/Extensions/AttributeExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Extensions; using System; -using Legerity.Windows.Elements.Core; +using Elements.Core; /// /// Defines a collection of extensions for retrieving element attributes. @@ -299,4 +299,4 @@ public static bool IsRangeReadonly(this IElementWrapper elem { return IsRangeReadonly(element.Element); } -} \ No newline at end of file +} diff --git a/src/Legerity.Windows/Extensions/WindowsElementWrapperExtensions.cs b/src/Legerity.Windows/Extensions/WindowsElementWrapperExtensions.cs index fccbbc49..14da0fa2 100644 --- a/src/Legerity.Windows/Extensions/WindowsElementWrapperExtensions.cs +++ b/src/Legerity.Windows/Extensions/WindowsElementWrapperExtensions.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Extensions; using System; -using Legerity.Windows.Elements; +using Elements; using OpenQA.Selenium.Support.UI; /// @@ -85,4 +85,4 @@ public static TResult WaitUntil( return WaitUntil(element, condition, timeout, retries - 1); } } -} \ No newline at end of file +} diff --git a/tests/Legerity.Core.Tests/Pages/W3SchoolsPage.cs b/tests/Legerity.Core.Tests/Pages/W3SchoolsPage.cs index ea49f50d..6382ec95 100644 --- a/tests/Legerity.Core.Tests/Pages/W3SchoolsPage.cs +++ b/tests/Legerity.Core.Tests/Pages/W3SchoolsPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Core.Tests.Pages; -using Legerity.Extensions; +using Extensions; using Legerity.Web.Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -35,4 +35,4 @@ public T SwitchToContentFrame() where T : W3SchoolsPage App.SwitchTo().Frame(ContentFrame); return (T)this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Core.Tests/Tests/ByNestedTests.cs b/tests/Legerity.Core.Tests/Tests/ByNestedTests.cs index e303e33c..0cf86af4 100644 --- a/tests/Legerity.Core.Tests/Tests/ByNestedTests.cs +++ b/tests/Legerity.Core.Tests/Tests/ByNestedTests.cs @@ -3,7 +3,7 @@ namespace Legerity.Core.Tests.Tests; using System; using System.Collections.ObjectModel; using System.IO; -using Legerity.Core.Tests.Pages; +using Pages; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Remote; diff --git a/tests/Legerity.Telerik.Uwp.Tests/Pages/BaseNavigationPage.cs b/tests/Legerity.Telerik.Uwp.Tests/Pages/BaseNavigationPage.cs index 81be039f..f9014775 100644 --- a/tests/Legerity.Telerik.Uwp.Tests/Pages/BaseNavigationPage.cs +++ b/tests/Legerity.Telerik.Uwp.Tests/Pages/BaseNavigationPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Telerik.Uwp.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Windows.Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; diff --git a/tests/Legerity.Telerik.Uwp.Tests/Tests/BaseTestClass.cs b/tests/Legerity.Telerik.Uwp.Tests/Tests/BaseTestClass.cs index d717e223..e1cc6c83 100644 --- a/tests/Legerity.Telerik.Uwp.Tests/Tests/BaseTestClass.cs +++ b/tests/Legerity.Telerik.Uwp.Tests/Tests/BaseTestClass.cs @@ -7,7 +7,7 @@ namespace Legerity.Telerik.Uwp.Tests.Tests; using System; using System.Collections.Generic; using Legerity; -using Legerity.Windows; +using Windows; /// /// Defines the base test class for setting up and running UI tests. @@ -77,4 +77,4 @@ public virtual void FinalCleanup() // Ensures that any running app driver instances being tracked are stopped. StopApps(); } -} \ No newline at end of file +} diff --git a/tests/Legerity.WCT.Tests/Pages/BaseNavigationPage.cs b/tests/Legerity.WCT.Tests/Pages/BaseNavigationPage.cs index dd210eed..27f01a7c 100644 --- a/tests/Legerity.WCT.Tests/Pages/BaseNavigationPage.cs +++ b/tests/Legerity.WCT.Tests/Pages/BaseNavigationPage.cs @@ -3,8 +3,8 @@ namespace Legerity.WCT.Tests.Pages; using System; using System.Linq; using Extensions; -using Legerity.Windows.Elements.Core; -using Legerity.Windows.Elements.WinUI; +using Windows.Elements.Core; +using Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Appium; using OpenQA.Selenium.Remote; diff --git a/tests/Legerity.WCT.Tests/Tests/BaseTestClass.cs b/tests/Legerity.WCT.Tests/Tests/BaseTestClass.cs index 2c9d43bd..cdd55ffc 100644 --- a/tests/Legerity.WCT.Tests/Tests/BaseTestClass.cs +++ b/tests/Legerity.WCT.Tests/Tests/BaseTestClass.cs @@ -7,7 +7,7 @@ namespace Legerity.WCT.Tests.Tests; using System; using System.Collections.Generic; using Legerity; -using Legerity.Windows; +using Windows; /// /// Defines the base test class for setting up and running UI tests. @@ -77,4 +77,4 @@ public virtual void FinalCleanup() // Ensures that any running app driver instances being tracked are stopped. StopApps(); } -} \ No newline at end of file +} diff --git a/tests/Legerity.Web.Tests/Pages/W3SchoolsBasePage.cs b/tests/Legerity.Web.Tests/Pages/W3SchoolsBasePage.cs index 28ae8ad3..22a23e2b 100644 --- a/tests/Legerity.Web.Tests/Pages/W3SchoolsBasePage.cs +++ b/tests/Legerity.Web.Tests/Pages/W3SchoolsBasePage.cs @@ -2,7 +2,7 @@ namespace Legerity.Web.Tests.Pages; using Elements.Core; using Legerity.Extensions; -using Legerity.Web.Tests.Tests; +using Tests; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -35,4 +35,4 @@ public T SwitchToContentFrame() where T : W3SchoolsBasePage App.SwitchTo().Frame(ContentFrame); return (T)this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Web.Tests/Tests/DateInputTests.cs b/tests/Legerity.Web.Tests/Tests/DateInputTests.cs index 3398cb23..3b364b75 100644 --- a/tests/Legerity.Web.Tests/Tests/DateInputTests.cs +++ b/tests/Legerity.Web.Tests/Tests/DateInputTests.cs @@ -3,7 +3,7 @@ namespace Legerity.Web.Tests.Tests; using System.Collections.Generic; using System.IO; using System; -using Legerity.Web.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; diff --git a/tests/Legerity.Web.Tests/Tests/MultipleSelectTests.cs b/tests/Legerity.Web.Tests/Tests/MultipleSelectTests.cs index bd28aed4..cbb63fb9 100644 --- a/tests/Legerity.Web.Tests/Tests/MultipleSelectTests.cs +++ b/tests/Legerity.Web.Tests/Tests/MultipleSelectTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Web.Tests.Tests; -using Legerity.Web.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; using System.IO; diff --git a/tests/Legerity.Web.Tests/Tests/TextInputTests.cs b/tests/Legerity.Web.Tests/Tests/TextInputTests.cs index cb57d777..3d5cc84b 100644 --- a/tests/Legerity.Web.Tests/Tests/TextInputTests.cs +++ b/tests/Legerity.Web.Tests/Tests/TextInputTests.cs @@ -3,7 +3,7 @@ namespace Legerity.Web.Tests.Tests; using System; using System.Collections.Generic; using System.IO; -using Legerity.Web.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; diff --git a/tests/Legerity.Web.Tests/Tests/W3SchoolsBaseTestClass.cs b/tests/Legerity.Web.Tests/Tests/W3SchoolsBaseTestClass.cs index 5c951537..134e6e03 100644 --- a/tests/Legerity.Web.Tests/Tests/W3SchoolsBaseTestClass.cs +++ b/tests/Legerity.Web.Tests/Tests/W3SchoolsBaseTestClass.cs @@ -1,6 +1,6 @@ namespace Legerity.Web.Tests.Tests; -using Legerity.Helpers; +using Helpers; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -19,4 +19,4 @@ protected WebDriver StartApp(AppManagerOptions options = default) { return StartApp(options ?? Options, WaitUntilConditions.TitleContains("W3Schools"), ImplicitWait); } -} \ No newline at end of file +} diff --git a/tests/Legerity.Web.Tests/Tests/WebByExtraTests.cs b/tests/Legerity.Web.Tests/Tests/WebByExtraTests.cs index 5c096ea6..89aba73f 100644 --- a/tests/Legerity.Web.Tests/Tests/WebByExtraTests.cs +++ b/tests/Legerity.Web.Tests/Tests/WebByExtraTests.cs @@ -1,7 +1,7 @@ namespace Legerity.Web.Tests.Tests; using System; -using Legerity.Web.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using System.Collections.ObjectModel; using System.IO; diff --git a/tests/Legerity.WinUI.Tests/Pages/BaseNavigationPage.cs b/tests/Legerity.WinUI.Tests/Pages/BaseNavigationPage.cs index ffc151eb..1858219d 100644 --- a/tests/Legerity.WinUI.Tests/Pages/BaseNavigationPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/BaseNavigationPage.cs @@ -1,7 +1,7 @@ namespace Legerity.WinUI.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Windows.Elements.Core; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -29,4 +29,4 @@ public TPage NavigateTo(string controlName) ControlsSearchBox.SelectSuggestion(controlName); return Activator.CreateInstance(typeof(TPage), App) as TPage; } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Pages/InfoBarPage.cs b/tests/Legerity.WinUI.Tests/Pages/InfoBarPage.cs index 7f2c6a67..804e5f67 100644 --- a/tests/Legerity.WinUI.Tests/Pages/InfoBarPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/InfoBarPage.cs @@ -1,6 +1,6 @@ namespace Legerity.WinUI.Tests.Pages; -using Legerity.Windows; +using Windows; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -18,4 +18,4 @@ public InfoBarPage CloseClosableInfoBar() CloseableInfoBar.Close(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Pages/MenuBarPage.cs b/tests/Legerity.WinUI.Tests/Pages/MenuBarPage.cs index 21488fb1..ba8810c3 100644 --- a/tests/Legerity.WinUI.Tests/Pages/MenuBarPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/MenuBarPage.cs @@ -1,6 +1,6 @@ namespace Legerity.WinUI.Tests.Pages; -using Legerity.Windows; +using Windows; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; diff --git a/tests/Legerity.WinUI.Tests/Pages/NumberBoxPage.cs b/tests/Legerity.WinUI.Tests/Pages/NumberBoxPage.cs index 62ebf25f..e6581571 100644 --- a/tests/Legerity.WinUI.Tests/Pages/NumberBoxPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/NumberBoxPage.cs @@ -1,6 +1,6 @@ namespace Legerity.WinUI.Tests.Pages; -using Legerity.Windows; +using Windows; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -30,4 +30,4 @@ public NumberBoxPage DecrementSpinnerNumberBoxValue() SpinnerNumberBox.Decrement(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Pages/RatingControlPage.cs b/tests/Legerity.WinUI.Tests/Pages/RatingControlPage.cs index f2bce4e5..6c828c72 100644 --- a/tests/Legerity.WinUI.Tests/Pages/RatingControlPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/RatingControlPage.cs @@ -1,6 +1,6 @@ namespace Legerity.WinUI.Tests.Pages; -using Legerity.Windows; +using Windows; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -18,4 +18,4 @@ public RatingControlPage SetSimpleRatingValue(double value) SimpleRatingControl.SetValue(value); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Pages/TabViewPage.cs b/tests/Legerity.WinUI.Tests/Pages/TabViewPage.cs index 2903d4b6..4d6a4dbe 100644 --- a/tests/Legerity.WinUI.Tests/Pages/TabViewPage.cs +++ b/tests/Legerity.WinUI.Tests/Pages/TabViewPage.cs @@ -1,7 +1,7 @@ namespace Legerity.WinUI.Tests.Pages; using Windows.Elements.Core; -using Legerity.Windows; +using Windows; using Legerity.Windows.Elements.WinUI; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -50,4 +50,4 @@ public TabViewPage CreateTab() TabView.CreateTab(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Tests/BaseTestClass.cs b/tests/Legerity.WinUI.Tests/Tests/BaseTestClass.cs index b5e60a57..ffb6bd0b 100644 --- a/tests/Legerity.WinUI.Tests/Tests/BaseTestClass.cs +++ b/tests/Legerity.WinUI.Tests/Tests/BaseTestClass.cs @@ -7,7 +7,7 @@ namespace Legerity.WinUI.Tests.Tests; using System; using System.Collections.Generic; using Legerity; -using Legerity.Windows; +using Windows; /// /// Defines the base test class for setting up and running UI tests. @@ -77,4 +77,4 @@ public virtual void FinalCleanup() // Ensures that any running app driver instances being tracked are stopped. StopApps(); } -} \ No newline at end of file +} diff --git a/tests/Legerity.WinUI.Tests/Tests/InfoBarTests.cs b/tests/Legerity.WinUI.Tests/Tests/InfoBarTests.cs index f8a9d6a9..a4948113 100644 --- a/tests/Legerity.WinUI.Tests/Tests/InfoBarTests.cs +++ b/tests/Legerity.WinUI.Tests/Tests/InfoBarTests.cs @@ -1,6 +1,6 @@ namespace Legerity.WinUI.Tests.Tests; -using Legerity.WinUI.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; diff --git a/tests/Legerity.Windows.Tests/Pages/AppBarToggleButtonPage.cs b/tests/Legerity.Windows.Tests/Pages/AppBarToggleButtonPage.cs index d481c7c3..90f987a8 100644 --- a/tests/Legerity.Windows.Tests/Pages/AppBarToggleButtonPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/AppBarToggleButtonPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -25,4 +25,4 @@ public AppBarToggleButtonPage ToggleSymbolOff() SymbolToggleButton.ToggleOff(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/AutoSuggestBoxPage.cs b/tests/Legerity.Windows.Tests/Pages/AutoSuggestBoxPage.cs index 8921c5f0..c961c3c6 100644 --- a/tests/Legerity.Windows.Tests/Pages/AutoSuggestBoxPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/AutoSuggestBoxPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -39,4 +39,4 @@ public AutoSuggestBoxPage SelectBasicSuggestionByPartialSuggestion(string search BasicAutoSuggestBox.SelectSuggestionByPartialSuggestion(searchValue, partialSuggestion); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/CalendarDatePickerPage.cs b/tests/Legerity.Windows.Tests/Pages/CalendarDatePickerPage.cs index c50d7a5f..9ffb5ead 100644 --- a/tests/Legerity.Windows.Tests/Pages/CalendarDatePickerPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/CalendarDatePickerPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -18,4 +18,4 @@ public CalendarDatePickerPage SetCalendarDatePickerDate(DateTime date) CalendarDatePicker.SetDate(date); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/CalendarViewPage.cs b/tests/Legerity.Windows.Tests/Pages/CalendarViewPage.cs index a4e31a98..a0067f6c 100644 --- a/tests/Legerity.Windows.Tests/Pages/CalendarViewPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/CalendarViewPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -18,4 +18,4 @@ public CalendarViewPage SetCalendarViewDate(DateTime date) CalendarView.SetDate(date); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/ComboBoxPage.cs b/tests/Legerity.Windows.Tests/Pages/ComboBoxPage.cs index 602f6047..441f833a 100644 --- a/tests/Legerity.Windows.Tests/Pages/ComboBoxPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/ComboBoxPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -27,4 +27,4 @@ public ComboBoxPage SelectColorByPartialName(string name) ColorComboBox.SelectItemByPartialName(name); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/CommandBarPage.cs b/tests/Legerity.Windows.Tests/Pages/CommandBarPage.cs index 4f05f2ba..9cc27b42 100644 --- a/tests/Legerity.Windows.Tests/Pages/CommandBarPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/CommandBarPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows; -using Legerity.Windows.Elements.Core; +using Windows; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -36,4 +36,4 @@ public CommandBarPage ClickSecondaryButton(string name) PrimaryCommandBar.ClickSecondaryButtonByPartialName(name); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/DatePickerPage.cs b/tests/Legerity.Windows.Tests/Pages/DatePickerPage.cs index 3d516cbc..25d49c34 100644 --- a/tests/Legerity.Windows.Tests/Pages/DatePickerPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/DatePickerPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -20,4 +20,4 @@ public DatePickerPage SetSimpleDatePickerDate(DateTime date) SimpleDatePicker.SetDate(date); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/FlipViewPage.cs b/tests/Legerity.Windows.Tests/Pages/FlipViewPage.cs index 76db6340..3a5013e5 100644 --- a/tests/Legerity.Windows.Tests/Pages/FlipViewPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/FlipViewPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; using System.Linq; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -50,4 +50,4 @@ public FlipViewPage ClickPreviousXamlFlipViewItem() XamlFlipView.PreviousButton.Click(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/InkToolbarPage.cs b/tests/Legerity.Windows.Tests/Pages/InkToolbarPage.cs index 756be8dd..c08148d6 100644 --- a/tests/Legerity.Windows.Tests/Pages/InkToolbarPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/InkToolbarPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows; -using Legerity.Windows.Elements.Core; +using Windows; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -48,4 +48,4 @@ public InkToolbarPage SelectHighlighterPartialColor(string color) InkToolbar.SetHighlighterColorByPartialName(color); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/ListBoxPage.cs b/tests/Legerity.Windows.Tests/Pages/ListBoxPage.cs index f14093dd..5aa69c48 100644 --- a/tests/Legerity.Windows.Tests/Pages/ListBoxPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/ListBoxPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows; -using Legerity.Windows.Elements.Core; +using Windows; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -24,4 +24,4 @@ public ListBoxPage ClickColorItemByPartialName(string color) ColorListBox.ClickItemByPartialName(color); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/SliderPage.cs b/tests/Legerity.Windows.Tests/Pages/SliderPage.cs index 7b2df915..dcae4470 100644 --- a/tests/Legerity.Windows.Tests/Pages/SliderPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/SliderPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -19,4 +19,4 @@ public SliderPage SetSimpleSliderValue(double value) SimpleSlider.SetValue(value); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/TimePickerPage.cs b/tests/Legerity.Windows.Tests/Pages/TimePickerPage.cs index a9c8d1ae..705b1e50 100644 --- a/tests/Legerity.Windows.Tests/Pages/TimePickerPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/TimePickerPage.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Pages; using System; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -18,4 +18,4 @@ public TimePickerPage SetTimePickerTime(TimeSpan time) TimePicker.SetTime(time); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Pages/ToggleSwitchPage.cs b/tests/Legerity.Windows.Tests/Pages/ToggleSwitchPage.cs index ce73fe55..9600ff8f 100644 --- a/tests/Legerity.Windows.Tests/Pages/ToggleSwitchPage.cs +++ b/tests/Legerity.Windows.Tests/Pages/ToggleSwitchPage.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Pages; -using Legerity.Windows.Elements.Core; +using Elements.Core; using OpenQA.Selenium; using OpenQA.Selenium.Remote; @@ -23,4 +23,4 @@ public ToggleSwitchPage ToggleSwitchOff() SimpleToggleSwitch.ToggleOff(); return this; } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Tests/BaseTestClass.cs b/tests/Legerity.Windows.Tests/Tests/BaseTestClass.cs index 2033a22c..d7d8afad 100644 --- a/tests/Legerity.Windows.Tests/Tests/BaseTestClass.cs +++ b/tests/Legerity.Windows.Tests/Tests/BaseTestClass.cs @@ -7,7 +7,7 @@ namespace Legerity.Windows.Tests.Tests; using System; using System.Collections.Generic; using Legerity; -using Legerity.Windows; +using Windows; /// /// Defines the base test class for setting up and running UI tests. @@ -77,4 +77,4 @@ public virtual void FinalCleanup() // Ensures that any running app driver instances being tracked are stopped. StopApps(); } -} \ No newline at end of file +} diff --git a/tests/Legerity.Windows.Tests/Tests/CalendarViewTests.cs b/tests/Legerity.Windows.Tests/Tests/CalendarViewTests.cs index a46077aa..c12efbd7 100644 --- a/tests/Legerity.Windows.Tests/Tests/CalendarViewTests.cs +++ b/tests/Legerity.Windows.Tests/Tests/CalendarViewTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Windows.Tests.Tests; -using Legerity.Windows.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; using System.Globalization; diff --git a/tests/Legerity.Windows.Tests/Tests/SliderTests.cs b/tests/Legerity.Windows.Tests/Tests/SliderTests.cs index ff6677b9..9726a7e7 100644 --- a/tests/Legerity.Windows.Tests/Tests/SliderTests.cs +++ b/tests/Legerity.Windows.Tests/Tests/SliderTests.cs @@ -1,7 +1,7 @@ namespace Legerity.Windows.Tests.Tests; using System; -using Legerity.Windows.Tests.Pages; +using Pages; using OpenQA.Selenium.Remote; using Shouldly; diff --git a/tools/Legerity.PageObjectGenerator/Features/Generators/Android/AxmlPageObjectGenerator.cs b/tools/Legerity.PageObjectGenerator/Features/Generators/Android/AxmlPageObjectGenerator.cs index 4a0a8f4e..1f824593 100644 --- a/tools/Legerity.PageObjectGenerator/Features/Generators/Android/AxmlPageObjectGenerator.cs +++ b/tools/Legerity.PageObjectGenerator/Features/Generators/Android/AxmlPageObjectGenerator.cs @@ -8,9 +8,9 @@ namespace Legerity.Features.Generators.Android; using System.Threading.Tasks; using System.Xml.Linq; using Infrastructure.IO; -using Legerity.Features.Generators; -using Legerity.Features.Generators.Models; -using Legerity.Infrastructure.Extensions; +using Generators; +using Models; +using Infrastructure.Extensions; using MADE.Collections.Compare; using MADE.Data.Validation.Extensions; using Scriban; diff --git a/tools/Legerity.PageObjectGenerator/Features/Generators/Windows/XamlPageObjectGenerator.cs b/tools/Legerity.PageObjectGenerator/Features/Generators/Windows/XamlPageObjectGenerator.cs index ceeeee49..209a52d1 100644 --- a/tools/Legerity.PageObjectGenerator/Features/Generators/Windows/XamlPageObjectGenerator.cs +++ b/tools/Legerity.PageObjectGenerator/Features/Generators/Windows/XamlPageObjectGenerator.cs @@ -8,9 +8,9 @@ namespace Legerity.Features.Generators.Windows; using System.Threading.Tasks; using System.Xml.Linq; using Infrastructure.IO; -using Legerity.Features.Generators; -using Legerity.Features.Generators.Models; -using Legerity.Infrastructure.Extensions; +using Generators; +using Models; +using Infrastructure.Extensions; using MADE.Collections.Compare; using MADE.Data.Validation.Extensions; using Scriban; diff --git a/tools/Legerity.PageObjectGenerator/Infrastructure/Configuration/Options.cs b/tools/Legerity.PageObjectGenerator/Infrastructure/Configuration/Options.cs index 05f0bc37..d954cc15 100644 --- a/tools/Legerity.PageObjectGenerator/Infrastructure/Configuration/Options.cs +++ b/tools/Legerity.PageObjectGenerator/Infrastructure/Configuration/Options.cs @@ -13,7 +13,7 @@ internal class Options [Option('o', "output", HelpText = "The path to the folder where the generated class files should be stored. Default to the 'Generated' folder in the executing folder.")] - public string OutputPath { get; set; } = System.IO.Path.Combine(Environment.CurrentDirectory, "Generated"); + public string OutputPath { get; set; } = Path.Combine(Environment.CurrentDirectory, "Generated"); [Option('n', "namespace", HelpText = @@ -22,4 +22,4 @@ internal class Options [Option('p', "platform", Required = true, HelpText = "The platform that will be generating page objects for.")] public PlatformType PlatformType { get; set; } -} \ No newline at end of file +} diff --git a/tools/Legerity.PageObjectGenerator/Program.cs b/tools/Legerity.PageObjectGenerator/Program.cs index eec1c278..cb992e32 100644 --- a/tools/Legerity.PageObjectGenerator/Program.cs +++ b/tools/Legerity.PageObjectGenerator/Program.cs @@ -7,7 +7,7 @@ namespace Legerity; using Features.Generators.Windows; using Infrastructure.Configuration; using Infrastructure.Logging; -using Legerity.Features.Generators; +using Features.Generators; using Serilog; public class Program diff --git a/tools/Legerity.Templates/templates/Legerity.Templates.Android.NUnit/Tests/SampleTests.cs b/tools/Legerity.Templates/templates/Legerity.Templates.Android.NUnit/Tests/SampleTests.cs index 1075c940..b4044300 100644 --- a/tools/Legerity.Templates/templates/Legerity.Templates.Android.NUnit/Tests/SampleTests.cs +++ b/tools/Legerity.Templates/templates/Legerity.Templates.Android.NUnit/Tests/SampleTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Templates.Android.NUnit.Tests; -using Legerity.Templates.Android.NUnit.Pages; +using Pages; using OpenQA.Selenium; using OpenQA.Selenium.Remote; diff --git a/tools/Legerity.Templates/templates/Legerity.Templates.CrossPlatform.NUnit/Tests/SampleTests.cs b/tools/Legerity.Templates/templates/Legerity.Templates.CrossPlatform.NUnit/Tests/SampleTests.cs index 8e5c8752..2cae46f5 100644 --- a/tools/Legerity.Templates/templates/Legerity.Templates.CrossPlatform.NUnit/Tests/SampleTests.cs +++ b/tools/Legerity.Templates/templates/Legerity.Templates.CrossPlatform.NUnit/Tests/SampleTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Templates.CrossPlatform.NUnit.Tests; -using Legerity.Templates.CrossPlatform.NUnit.Pages; +using Pages; using OpenQA.Selenium.Remote; [TestFixtureSource(nameof(PlatformOptions))] diff --git a/tools/Legerity.Templates/templates/Legerity.Templates.IOS.NUnit/Tests/SampleTests.cs b/tools/Legerity.Templates/templates/Legerity.Templates.IOS.NUnit/Tests/SampleTests.cs index aeda74d3..6aeeae85 100644 --- a/tools/Legerity.Templates/templates/Legerity.Templates.IOS.NUnit/Tests/SampleTests.cs +++ b/tools/Legerity.Templates/templates/Legerity.Templates.IOS.NUnit/Tests/SampleTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Templates.IOS.NUnit.Tests; -using Legerity.Templates.IOS.NUnit.Pages; +using Pages; using OpenQA.Selenium.Remote; [TestFixtureSource(nameof(PlatformOptions))] diff --git a/tools/Legerity.Templates/templates/Legerity.Templates.Web.NUnit/Tests/SampleTests.cs b/tools/Legerity.Templates/templates/Legerity.Templates.Web.NUnit/Tests/SampleTests.cs index de8863b1..8be5b7d9 100644 --- a/tools/Legerity.Templates/templates/Legerity.Templates.Web.NUnit/Tests/SampleTests.cs +++ b/tools/Legerity.Templates/templates/Legerity.Templates.Web.NUnit/Tests/SampleTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Templates.Web.NUnit.Tests; -using Legerity.Templates.Web.NUnit.Pages; +using Pages; using OpenQA.Selenium.Remote; [TestFixtureSource(nameof(PlatformOptions))] diff --git a/tools/Legerity.Templates/templates/Legerity.Templates.Windows.NUnit/Tests/SampleTests.cs b/tools/Legerity.Templates/templates/Legerity.Templates.Windows.NUnit/Tests/SampleTests.cs index a557b849..4c8c6493 100644 --- a/tools/Legerity.Templates/templates/Legerity.Templates.Windows.NUnit/Tests/SampleTests.cs +++ b/tools/Legerity.Templates/templates/Legerity.Templates.Windows.NUnit/Tests/SampleTests.cs @@ -1,6 +1,6 @@ namespace Legerity.Templates.Windows.NUnit.Tests; -using Legerity.Templates.Windows.NUnit.Pages; +using Pages; using OpenQA.Selenium.Remote; [TestFixtureSource(nameof(PlatformOptions))]