before the great git rework
This commit is contained in:
@@ -92,10 +92,10 @@ import Testing
|
||||
|
||||
@Test func textWaitsForAnotherOverlayAndOnlyTheLatestShows() async {
|
||||
let harness = await started()
|
||||
await harness.perform(.showNote)
|
||||
await harness.perform(.showShortcuts)
|
||||
await agentWrites("one", harness)
|
||||
await agentWrites("two", harness)
|
||||
#expect(harness.model.overlay.current == .note)
|
||||
#expect(harness.model.overlay.current == .shortcuts)
|
||||
await harness.perform(.dismissOverlay)
|
||||
#expect(await eventually { harness.model.overlay.current == .cleanCopy })
|
||||
#expect(harness.model.cleanCopy?.text == "two")
|
||||
|
||||
Reference in New Issue
Block a user