mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 04:00:02 +01:00
Update xpath in RemoveAllEntries
This commit is contained in:
@@ -291,7 +291,7 @@ namespace Hosts.UITests
|
||||
foreach (var deleteBtn in this.FindAll<Button>("Delete"))
|
||||
{
|
||||
deleteBtn.Click();
|
||||
var window = this.Find<Window>(By.XPath("//Window[contains(@Name, '.')]"));
|
||||
var window = this.Find<Window>(By.XPath("//Window[not(contains(@Name, 'Editor')) and not(contains(@Name, 'Popup'))]"));
|
||||
window.Find<Button>("Yes").Click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user