Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 22 additions & 9 deletions Example/OpenSwiftUIUITests/Layout/Stack/HVStackUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,9 @@ struct HVStackUITests {
.background { Color.black }
}
}
withKnownIssue("Proposal implmentation is not correct") {
openSwiftUIAssertSnapshot(
of: ContentView()
)
}
openSwiftUIAssertSnapshot(
of: ContentView()
)
}

@Test
Expand All @@ -166,10 +164,25 @@ struct HVStackUITests {
.background { Color.black }
}
}
withKnownIssue("Proposal implmentation is not correct") {
openSwiftUIAssertSnapshot(
of: ContentView()
)
openSwiftUIAssertSnapshot(
of: ContentView()
)
}

@Test("Verify red and blue should have the same size")
func sameSizeInVStack() {
struct ContentView: View {
var body: some View {
VStack(spacing: 20) {
Color.red
Color.yellow
.frame(width: 10, height: 10)
Color.blue
}
}
}
openSwiftUIAssertSnapshot(
of: ContentView()
)
}
}
Loading