style: align translation controls with launcher design
This commit is contained in:
@@ -44,9 +44,7 @@ import Testing
|
||||
#expect(search.accessibilityLabel() == "English text to translate into Japanese")
|
||||
search.stringValue = "Good morning"
|
||||
launcher.controlTextDidChange(Notification(name: NSControl.textDidChangeNotification, object: search))
|
||||
#expect(descendants(content).contains { ($0 as? NSButton)?.title == "Translate ↵" })
|
||||
_ = launcher.control(search, textView: NSTextView(), doCommandBy: #selector(NSResponder.cancelOperation(_:)))
|
||||
#expect(search.stringValue == "translate")
|
||||
#expect(!descendants(content).contains { ($0 as? NSButton)?.title == "Translate ↵" })
|
||||
#expect(table.numberOfRows == 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user