diff --git a/client/ios/DivKitSnapshotTests/DivInteractiveSnapshotTests.swift b/client/ios/DivKitSnapshotTests/DivInteractiveSnapshotTests.swift index d2ea7984b..6e98736e1 100644 --- a/client/ios/DivKitSnapshotTests/DivInteractiveSnapshotTests.swift +++ b/client/ios/DivKitSnapshotTests/DivInteractiveSnapshotTests.swift @@ -1,12 +1,7 @@ import XCTest private let exclusions: [String] = [ - "div-container/visibility.json", "div-gallery/visibility.json", - "div-input/visibility.json", - "div-pager/visibility.json", - "div-slider/visibility.json", - "div-state/visibility.json", "div-slider/thumb-style/thumb-primary-style-properties.json", "div-slider/thumb-style/thumb-secondary-style-properties.json", diff --git a/client/ios/DivKitSnapshotTests/DivKitSnapshotTestCase.swift b/client/ios/DivKitSnapshotTests/DivKitSnapshotTestCase.swift index 47a5b71a4..bbbdfc236 100644 --- a/client/ios/DivKitSnapshotTests/DivKitSnapshotTestCase.swift +++ b/client/ios/DivKitSnapshotTests/DivKitSnapshotTestCase.swift @@ -125,11 +125,14 @@ internal class DivKitSnapshotTestCase: XCTestCase { let currentScale = UIScreen.main.scale let devices = ScreenSize.portrait.filter { $0.scale == currentScale } try devices.forEach { device in - let view = try makeDivView( + var view = try makeDivView( data: data, divKitComponents: divKitComponents, size: device.size ) + if view.bounds.isEmpty { + view = makeEmptyView() + } guard let image = view.makeSnapshot() else { throw DivTestingErrors.snapshotCouldNotBeCreated } @@ -218,6 +221,13 @@ private func jsonDict(data: Data) -> [String: Any]? { (try? JSONSerialization.jsonObject(with: data)) as? [String: Any] } +private func makeEmptyView() -> UIView { + let label = UILabel() + label.text = "" + label.frame = CGRect(origin: .zero, size: label.intrinsicContentSize) + return label +} + private enum DivTestingErrors: LocalizedError { case invalidData case blockCouldNotBeCreatedFromData diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step0.png b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step0.png new file mode 100644 index 000000000..74d4f7f4a Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step1.png b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step2.png b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_320@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step0.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step0.png new file mode 100644 index 000000000..74d4f7f4a Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step1.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step2.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step0.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step0.png new file mode 100644 index 000000000..9d6f8badc Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step1.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step2.png b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_375@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step0.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step0.png new file mode 100644 index 000000000..74d4f7f4a Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step1.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step2.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step0.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step0.png new file mode 100644 index 000000000..9d6f8badc Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step1.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step2.png b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-container/visibility_414@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step0.png b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step0.png new file mode 100644 index 000000000..58b8b8ca6 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step1.png b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step1.png new file mode 100644 index 000000000..2d1ad69e3 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step2.png b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_320@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step0.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step0.png new file mode 100644 index 000000000..a234333ac Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step1.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step1.png new file mode 100644 index 000000000..0510f68bf Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step2.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step0.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step0.png new file mode 100644 index 000000000..b9fc3f7d6 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step1.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step1.png new file mode 100644 index 000000000..5c8e93888 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step2.png b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_375@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step0.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step0.png new file mode 100644 index 000000000..5604c2528 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step1.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step1.png new file mode 100644 index 000000000..278450866 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step2.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step0.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step0.png new file mode 100644 index 000000000..88b9b8100 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step1.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step1.png new file mode 100644 index 000000000..9dbd7aed5 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step2.png b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-input/visibility_414@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step0.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step0.png new file mode 100644 index 000000000..0c9816be5 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step1.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step2.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_320@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step0.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step0.png new file mode 100644 index 000000000..0c9816be5 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step1.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step2.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step0.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step0.png new file mode 100644 index 000000000..bd7ee7c5e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step1.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step2.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_375@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step0.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step0.png new file mode 100644 index 000000000..0c9816be5 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step1.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step2.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step0.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step0.png new file mode 100644 index 000000000..bd7ee7c5e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step1.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step2.png b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-pager/visibility_414@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step0.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step0.png new file mode 100644 index 000000000..ee73aefff Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step1.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step2.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_320@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step0.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step0.png new file mode 100644 index 000000000..ee73aefff Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step1.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step2.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step0.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step0.png new file mode 100644 index 000000000..008d53592 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step1.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step2.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_375@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step0.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step0.png new file mode 100644 index 000000000..ee73aefff Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step1.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step2.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step0.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step0.png new file mode 100644 index 000000000..008d53592 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step1.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step2.png b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-slider/visibility_414@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step0.png b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step0.png new file mode 100644 index 000000000..46e920a0c Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step1.png b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step2.png b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_320@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step0.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step0.png new file mode 100644 index 000000000..46e920a0c Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step1.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step2.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step0.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step0.png new file mode 100644 index 000000000..663b78c2e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step1.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step2.png b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_375@3x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step0.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step0.png new file mode 100644 index 000000000..46e920a0c Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step1.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step1.png new file mode 100644 index 000000000..61593472e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step2.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step2.png new file mode 100644 index 000000000..97b9e5f40 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@2x_step2.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step0.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step0.png new file mode 100644 index 000000000..663b78c2e Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step0.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step1.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step1.png new file mode 100644 index 000000000..0c6eb92c2 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step1.png differ diff --git a/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step2.png b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step2.png new file mode 100644 index 000000000..43a961fb4 Binary files /dev/null and b/client/ios/Tests/reference_snapshots/div-state/visibility_414@3x_step2.png differ