tests: disable snapshot tests for now

Until they are working on macos and xcode cloud
This commit is contained in:
William Casarin committed 2023-11-14 07:13:51 -08:00
1 parent eaaf802157
commit 41c76d9de0
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -21,6 +21,7 @@ final class EventViewTests: XCTestCase {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
/*
func testBasicEventViewLayout() {
let test_mock_damus_state = generate_test_damus_state(
mock_profile_info: [
@@ -43,4 +44,5 @@ final class EventViewTests: XCTestCase {
// Run snapshot check
assertSnapshot(matching: hostView, as: .image(on: .iPhone13(.portrait)))
}
*/
}
+3 -1
View File
@@ -21,6 +21,7 @@ final class PostViewTests: XCTestCase {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
/*
func testTextWrapperViewWillWrapText() {
// Setup test variables to be passed into the TextViewWrapper
let tagModel: TagModel = TagModel()
@@ -44,7 +45,8 @@ final class PostViewTests: XCTestCase {
// Run snapshot check
assertSnapshot(matching: hostView, as: .image(on: .iPhoneSe(.portrait)))
}
*/
/// Based on https://github.com/damus-io/damus/issues/1375
/// Tests whether the editor properly handles mention links after they have been added, to avoid manual editing of attributed links
func testMentionLinkEditorHandling() throws {