From 54d94cc5c2194e4c4a8b8e79ae49194241e13769 Mon Sep 17 00:00:00 2001 From: semke Date: Fri, 6 Oct 2023 14:59:50 +0500 Subject: [PATCH] Try fix browser tests with PopupContent --- DbViewer.Tests/FrontTests/Pages/BusinessObjectTablePage.cs | 2 -- DbViewer.Tests/FrontTests/Pages/CountDropdown.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/DbViewer.Tests/FrontTests/Pages/BusinessObjectTablePage.cs b/DbViewer.Tests/FrontTests/Pages/BusinessObjectTablePage.cs index 3a0b6498..6fb018b6 100644 --- a/DbViewer.Tests/FrontTests/Pages/BusinessObjectTablePage.cs +++ b/DbViewer.Tests/FrontTests/Pages/BusinessObjectTablePage.cs @@ -33,8 +33,6 @@ public BusinessObjectTablePage(RemoteWebDriver webDriver) public Link ClearFilter { get; set; } public Link FieldSettings { get; set; } public Link DownloadLink { get; set; } - - [Selector("Portal:portal ##ColumnSelector")] public ColumnSelector ColumnSelector { get; set; } public ConfirmDeleteObjectModal ConfirmDeleteObjectModal { get; set; } diff --git a/DbViewer.Tests/FrontTests/Pages/CountDropdown.cs b/DbViewer.Tests/FrontTests/Pages/CountDropdown.cs index cf2ee1ba..c9044f99 100644 --- a/DbViewer.Tests/FrontTests/Pages/CountDropdown.cs +++ b/DbViewer.Tests/FrontTests/Pages/CountDropdown.cs @@ -15,7 +15,7 @@ public CountDropdown(ISearchContainer container, ISelector selector) public Link CurrentCount { get; set; } - [Selector("Portal:portal ##PopupContent")] + [Selector("##PopupContent")] public Menu Menu { get; set; } } } \ No newline at end of file