Skip to content

Commit

Permalink
replace heic with png until build breakage is resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
drewvolz committed Feb 18, 2023
1 parent a6c46d4 commit 2951411
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/AllAboutOlafUITests/CustomBackgroundImageTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import XCTest
import SnapshotTesting
import SnapshotTestingHEIC

final class CustomBackgroundImageTests: XCTestCase {
var app = XCUIApplication()
Expand Down Expand Up @@ -54,8 +53,9 @@ final class CustomBackgroundImageTests: XCTestCase {
imageElements.element(boundBy: secondImage).tap()

// screenshot the changed state
sleep(2)
let image = app.images.firstMatch.screenshot().image
assertSnapshot(matching: image, as: .imageHEIC, named: "custom-background")
assertSnapshot(matching: image, as: .image, named: "custom-background")
}
#endif
}
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2951411

Please sign in to comment.