mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update Compound and add some new snapshot tests. (#4311)
* Update Compound. * Add some snapshot tests for PillView on a bubble background. Version 5.0.0 of compound-design-tokens changed the pill colour but all our snapshots are on white so we didn't notice the difference in contrast. This doesn't fix anything, it purely adds the snapshots.
This commit is contained in:
@@ -503,6 +503,12 @@ extension PreviewTests {
|
||||
}
|
||||
}
|
||||
|
||||
func testPillViewOnBubble() async throws {
|
||||
for (index, preview) in PillViewOnBubble_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
}
|
||||
}
|
||||
|
||||
func testPillView() async throws {
|
||||
for (index, preview) in PillView_Previews._allPreviews.enumerated() {
|
||||
try await assertSnapshots(matching: preview, step: index)
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:790d31b26a37fc7b689546846351db4ab184c51cc9127252088c02baf085c2c8
|
||||
size 105951
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f1ef025245c2bf40209cc4735bfc37872a05940da81343e6b7bdeb20779d9bcf
|
||||
size 107152
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:437de638c1d6c99e884794a390fef3f99a3e1a8de8ddc2d2f487d709514a74ed
|
||||
size 60989
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:13a72535670cc7d76c050fd6710710bcf7e5fc677c3e14154062cf68e557f431
|
||||
size 64035
|
||||
Reference in New Issue
Block a user