Add comprehensive tests for EditSection functionality in the Windows application
- Implement tests for picker behavior, including loading sequences, searching, and handling empty libraries. - Validate sequence opening via Enter key and double-click actions. - Ensure proper handling of unsaved edits and sequence deletion scenarios. - Verify accessibility features for picker rows across different languages. - Introduce a dialog counting mechanism to manage unsaved edit confirmations.
This commit is contained in:
1 parent
4ea44bb917
commit
5aeb6aa787
214 files changed
+6547
-826
No files matched your search
@@ -494,6 +494,11 @@ public sealed class EditorSmokeTests
|
||||
{
|
||||
switch (tab)
|
||||
{
|
||||
case AnalysisTab analysis:
|
||||
// The findings, each with the step that deals with it, or the sentence that there are none.
|
||||
Assert.True(Find<ListBoxItem>(view).Any(i => i.DataContext is AnalysisFinding && i.IsVisible)
|
||||
|| Find<EmptyState>(view).Any(e => e.IsVisible && e.Message == analysis.EmptyText), "Analysis: findings or why there are none");
|
||||
break;
|
||||
case FramesTab frames:
|
||||
Assert.Equal(96, frames.Frames.Count);
|
||||
Assert.NotEmpty(Find<ListBoxItem>(view).Where(i => i.DataContext is FrameRow && i.IsVisible));
|
||||
|
||||
Reference in new issue
Block a user