-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Un-ignore screenshot tests and exclude them properly instead #17063
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
37503ba
Revert "Disabled `jPScreenshotTest`"
AliSoftware 03e1246
Exclude screenshots tests from Connected Tests
AliSoftware 393ab1a
Update `release-toolkit` version requirement to `~>5.4`
AliSoftware 2939197
Un-ignore `wPScreenshotTest` completely
AliSoftware dbf7496
Fix checkstyle violation (unused import)
AliSoftware File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,4 +7,4 @@ group :screenshots, optional: true do | |
| end | ||
|
|
||
| # gem 'fastlane-plugin-wpmreleasetoolkit', git: '[email protected]:wordpress-mobile/release-toolkit.git', branch: 'trunk' | ||
| gem 'fastlane-plugin-wpmreleasetoolkit', '~> 5.2' | ||
| gem 'fastlane-plugin-wpmreleasetoolkit', '~> 5.4' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that commit 789eb20 that changed this line in #16970 and that we reverted in this PR… still had the
@Ignoreannotation already (just without an explanation message until #16970).I'm not sure why the test was already
@Ignore'd even before we had to apply the workaround for the last oftest_target:parameter in our FTL action. Probably because theWPScreenshotTestwas in a bad place and failing at that time so someone decided to ignore it (and forgot to document why)?But since the whole goal of this PR is to be in a good place to be able to work on Android screenshot tests again, so without them being
@Ignore'd when we need to run them explicitly and in isolation, I figured it made more sense to remove the@Ignorecompletely here, instead of just reverting #16970 and keeping the@Ignorethat we had before the workaround.See: 2939197
[EDIT: Previous message linked to wrong PR; edited since.]
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, the
WPScreenshotTestwas already ignored before #16970 because it was failing. #16970 really only disables the JP one, but adds a comment for both tests.