Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.
C# audio-converteravaloniabatch-conversionconvertercsharpdocument-converterdocx-to-pdfdotnetdrag-and-dropfile-conversionfile-converterheic-converterhwphwpximage-converterlinuxmacospdf-convertervideo-converterwindows
Assert preview buttons are not focusable
Saad6d571b11650c
diff --git a/tests/Filee.App.Tests/ThemePageTests.cs b/tests/Filee.App.Tests/ThemePageTests.csindex cf68f316..35ad2965 100644--- a/tests/Filee.App.Tests/ThemePageTests.cs+++ b/tests/Filee.App.Tests/ThemePageTests.cs@@ -147,12 +147,10 @@ public class ThemePageTestsAssert.False(toggle.IsChecked);Assert.Equal(settingsBefore, System.Text.Json.JsonSerializer.Serialize(store.Settings));- var buttons = page.GetVisualDescendants().OfType<Button>()- .Where(button => button.Content is string content &&- (content == AppHost.Get<ILocalizer>().Get("common.save") ||- content == AppHost.Get<ILocalizer>().Get("common.cancel")));- foreach (var button in buttons)+ foreach (var name in new[] { "PreviewPrimaryButton", "PreviewSecondaryButton" }){+ var button = page.FindControl<Button>(name)!;+ Assert.NotNull(button);Assert.False(button.Focusable);Assert.False(button.IsTabStop);}