-
Notifications
You must be signed in to change notification settings - Fork 0
ScreenshotTest修正 #307
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
ScreenshotTest修正 #307
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6e01932
validationライブラリの追加
ptkNktq 10b630d
ScreenshotTestのコメントアウト解除、@PreviewTest付与
ptkNktq 3210c34
failOnNoDiscoveredTests = false 削除
ptkNktq d8220d3
たぶんもう不要なのでtestClassesの処理削除
ptkNktq 8a7b596
gradle 9.3 -> 8.13 ダウングレード
ptkNktq 92f4cdb
screenshotTestの画像追加
ptkNktq 07f58d8
screenshotTestの結果追加
ptkNktq c931228
README更新
ptkNktq ee39baa
componentと画面でスクショテスト分割
ptkNktq 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
162 changes: 162 additions & 0 deletions
162
AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/base-style.css
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 |
|---|---|---|
| @@ -0,0 +1,162 @@ | ||
|
|
||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| font-family: sans-serif; | ||
| font-size: 12pt; | ||
| } | ||
|
|
||
| body, a, a:visited { | ||
| color: #303030; | ||
| } | ||
|
|
||
| #content { | ||
| padding-left: 50px; | ||
| padding-right: 50px; | ||
| padding-top: 30px; | ||
| padding-bottom: 30px; | ||
| } | ||
|
|
||
| #content h1 { | ||
| font-size: 160%; | ||
| margin-bottom: 10px; | ||
| } | ||
|
|
||
| #footer { | ||
| margin-top: 100px; | ||
| font-size: 80%; | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| #footer, #footer a { | ||
| color: #a0a0a0; | ||
| } | ||
|
|
||
| ul { | ||
| margin-left: 0; | ||
| } | ||
|
|
||
| h1, h2, h3 { | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| h2 { | ||
| font-size: 120%; | ||
| } | ||
|
|
||
| ul.tabLinks { | ||
| padding-left: 0; | ||
| padding-top: 10px; | ||
| padding-bottom: 10px; | ||
| overflow: auto; | ||
| min-width: 800px; | ||
| width: auto !important; | ||
| width: 800px; | ||
| } | ||
|
|
||
| ul.tabLinks li { | ||
| float: left; | ||
| height: 100%; | ||
| list-style: none; | ||
| padding-left: 10px; | ||
| padding-right: 10px; | ||
| padding-top: 5px; | ||
| padding-bottom: 5px; | ||
| margin-bottom: 0; | ||
| -moz-border-radius: 7px; | ||
| border-radius: 7px; | ||
| margin-right: 25px; | ||
| border: solid 1px #d4d4d4; | ||
| background-color: #f0f0f0; | ||
| behavior: url(css3-pie-1.0beta3.htc); | ||
| } | ||
|
|
||
| ul.tabLinks li:hover { | ||
| background-color: #fafafa; | ||
| } | ||
|
|
||
| ul.tabLinks li.selected { | ||
| background-color: #c5f0f5; | ||
| border-color: #c5f0f5; | ||
| } | ||
|
|
||
| ul.tabLinks a { | ||
| font-size: 120%; | ||
| display: block; | ||
| outline: none; | ||
| text-decoration: none; | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| ul.tabLinks li h2 { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| div.tab { | ||
| } | ||
|
|
||
| div.selected { | ||
| display: block; | ||
| } | ||
|
|
||
| div.deselected { | ||
| display: none; | ||
| } | ||
|
|
||
| div.tab table { | ||
| min-width: 350px; | ||
| width: auto !important; | ||
| width: 350px; | ||
| border-collapse: collapse; | ||
| } | ||
|
|
||
| div.tab th, div.tab table { | ||
| border-bottom: solid #d0d0d0 1px; | ||
| } | ||
|
|
||
| div.tab th { | ||
| text-align: left; | ||
| white-space: nowrap; | ||
| padding-left: 6em; | ||
| } | ||
|
|
||
| div.tab th:first-child { | ||
| padding-left: 0; | ||
| } | ||
|
|
||
| div.tab td { | ||
| white-space: nowrap; | ||
| padding-left: 6em; | ||
| padding-top: 5px; | ||
| padding-bottom: 5px; | ||
| } | ||
|
|
||
| div.tab td:first-child { | ||
| padding-left: 0; | ||
| } | ||
|
|
||
| div.tab td.numeric, div.tab th.numeric { | ||
| text-align: right; | ||
| } | ||
|
|
||
| span.code { | ||
| display: inline-block; | ||
| margin-top: 0em; | ||
| margin-bottom: 1em; | ||
| } | ||
|
|
||
| span.code pre { | ||
| font-size: 11pt; | ||
| padding-top: 10px; | ||
| padding-bottom: 10px; | ||
| padding-left: 10px; | ||
| padding-right: 10px; | ||
| margin: 0; | ||
| background-color: #f7f7f7; | ||
| border: solid 1px #d0d0d0; | ||
| min-width: 700px; | ||
| width: auto !important; | ||
| width: 700px; | ||
| } | ||
85 changes: 85 additions & 0 deletions
85
AndroidApp/ui/build/reports/screenshotTest/preview/debug/css/style.css
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 |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| #summary { | ||
| margin-top: 30px; | ||
| margin-bottom: 40px; | ||
| } | ||
|
|
||
| #summary table { | ||
| border-collapse: collapse; | ||
| } | ||
|
|
||
| #summary td { | ||
| vertical-align: top; | ||
| } | ||
|
|
||
| .breadcrumbs, .breadcrumbs a { | ||
| color: #606060; | ||
| } | ||
|
|
||
| .infoBox { | ||
| width: 110px; | ||
| padding-top: 15px; | ||
| padding-bottom: 15px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| .infoBox p { | ||
| margin: 0; | ||
| } | ||
|
|
||
| .grid { | ||
| background: linear-gradient(-90deg, rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .05) 1px, transparent 1px), linear-gradient(-90deg, rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px), linear-gradient(transparent 3px, #f2f2f2 3px, #f2f2f2 98px, transparent 98px), linear-gradient(-90deg, #aaa 1px, transparent 1px), linear-gradient(-90deg, transparent 3px, #f2f2f2 3px, #f2f2f2 98px, transparent 98px), linear-gradient(#aaa 1px, transparent 1px), #f2f2f2; | ||
| background-size: 10px 10px, 10px 10px, 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100px 100px; | ||
| } | ||
|
|
||
| .counter, .percent { | ||
| font-size: 120%; | ||
| font-weight: bold; | ||
| margin-bottom: 8px; | ||
| } | ||
|
|
||
| #duration { | ||
| width: 125px; | ||
| } | ||
|
|
||
| #successRate, .summaryGroup { | ||
| border: solid 2px #d0d0d0; | ||
| -moz-border-radius: 10px; | ||
| border-radius: 10px; | ||
| behavior: url(css3-pie-1.0beta3.htc); | ||
| } | ||
|
|
||
| #successRate { | ||
| width: 140px; | ||
| margin-left: 35px; | ||
| } | ||
|
|
||
| #successRate .percent { | ||
| font-size: 180%; | ||
| } | ||
|
|
||
| .success, .success a { | ||
| color: #008000; | ||
| } | ||
|
|
||
| div.success, #successRate.success { | ||
| background-color: #bbd9bb; | ||
| border-color: #008000; | ||
| } | ||
|
|
||
| .failures, .failures a { | ||
| color: #b60808; | ||
| } | ||
|
|
||
| div.failures, #successRate.failures { | ||
| background-color: #ecdada; | ||
| border-color: #b60808; | ||
| } | ||
|
|
||
| ul.linkList { | ||
| padding-left: 0; | ||
| } | ||
|
|
||
| ul.linkList li { | ||
| list-style: none; | ||
| margin-bottom: 5px; | ||
| } |
Oops, something went wrong.
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: ptkNktq/AndroidNotificationNotifier
Length of output: 4587
AndroidApp/ui/.gitignore のビルド成果物除外ルールを修正してください
AndroidApp/ui/build/reports/screenshotTest/ディレクトリ内のファイルがバージョン管理にコミットされています。このディレクトリは Gradle によって自動生成されるスクリーンショットテストレポートで、ビルド成果物として扱うべきです。AndroidApp/ui/.gitignoreで以下のルールが存在します:/build/*- build ディレクトリを除外!/build/reports- reports を例外として含める!/build/reports/screenshotTest- screenshotTest を例外として含めるこれらの例外パターンを削除し、すべての build 成果物をバージョン管理から除外してください。
🧰 Tools
🪛 Biome (2.1.2)
[error] 54-54: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally.
width is already defined here.
Remove or rename the duplicate property to ensure consistent styling.
(lint/suspicious/noDuplicateProperties)
[error] 111-111: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally.
width is already defined here.
Remove or rename the duplicate property to ensure consistent styling.
(lint/suspicious/noDuplicateProperties)
[error] 161-161: Duplicate properties can lead to unexpected behavior and may override previous declarations unintentionally.
width is already defined here.
Remove or rename the duplicate property to ensure consistent styling.
(lint/suspicious/noDuplicateProperties)
🤖 Prompt for AI Agents