Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Replace old verifyInAllDeviceSizes & verifyInAllIPhoneSizes with the new ones from the SnapshotHelper - WPB-10488 #1773

Merged
merged 17 commits into from
Aug 7, 2024

Conversation

agisilaos
Copy link
Contributor

@agisilaos agisilaos commented Aug 7, 2024

TaskWPB-10488 [iOS] Replace old `verifyInAllDeviceSizes` & `verifyInAllIPhoneSizes` with the new ones from the `SnapshotHelper`

With this PR I replace the old verifyInAllDeviceSizes & verifyInAllIPhoneSizes with the new ones coming from the SnapshotHelper. The goal is to centralize every method related to snapshot testing to the SnapshotHelper. In addition to that I cleaned things up a bit by removing to methods from the XCTestCase+SnapshotTesting.swift and organize test classes a bit.

  • func verifyInAllPhoneWidths( matching value: UIViewController..
  • func verify<Value, Format>(matching value: Value...

@agisilaos agisilaos changed the title Replace old verifyInAllDeviceSizes & verifyInAllIPhoneSizes with the new ones from the SnapshotHelper - WPB-10488 fix: Replace old verifyInAllDeviceSizes & verifyInAllIPhoneSizes with the new ones from the SnapshotHelper - WPB-10488 Aug 7, 2024
Copy link
Contributor

github-actions bot commented Aug 7, 2024

Test Results

    2 files    303 suites   2m 23s ⏱️
1 858 tests 1 858 ✅ 0 💤 0 ❌
1 866 runs  1 866 ✅ 0 💤 0 ❌

Results for commit 8d6c7de.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

Datadog Report

Branch report: fix/replace-verify-In-All-Devices-With-New-One
Commit report: c785bcf
Test service: wire-ios-mono

✅ 0 Failed, 1858 Passed, 0 Skipped, 7.05s Total Time

Copy link
Contributor

@samwyndham samwyndham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love that despite the added doc comments this PR deletes more than it adds!

@agisilaos
Copy link
Contributor Author

I love that despite the added doc comments this PR deletes more than it adds!

That's the goal! 🎉

Copy link
Contributor

@David-Henner David-Henner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

@agisilaos agisilaos added this pull request to the merge queue Aug 7, 2024
Merged via the queue into develop with commit 7152af9 Aug 7, 2024
13 of 15 checks passed
@agisilaos agisilaos deleted the fix/replace-verify-In-All-Devices-With-New-One branch August 7, 2024 15:56
@echoes-hq echoes-hq bot added the echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants