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

Added sample to demonstrate automated screenshot testing with Showkase and Paparazzi #252

Merged
merged 40 commits into from
Oct 29, 2022
Merged
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7fc3e1c
Added Paparazzi sample
vinaygaba Aug 13, 2022
0c597b8
Cleanup
vinaygaba Aug 13, 2022
d400a90
Merge branch 'master' of github.com:airbnb/Showkase into vinay-papara…
vinaygaba Aug 13, 2022
5143c4f
Nits
vinaygaba Aug 14, 2022
4acfc7a
Cleanup
vinaygaba Aug 14, 2022
d6c1e7a
Record Shot screenshots
vinaygaba Aug 14, 2022
c1caca2
Upload updated screnshot tests
vinaygaba Aug 14, 2022
9ce7296
Add logic to run Paparazzi screenshot tests on CI
vinaygaba Aug 14, 2022
fe3fa22
Fix github action schema
vinaygaba Aug 15, 2022
0048e7c
Fix schema
vinaygaba Aug 15, 2022
9cac334
Remove special chars from function name
vinaygaba Aug 15, 2022
098e410
Use updated snapshots and only verify paparazzi tests
vinaygaba Aug 15, 2022
73800d9
Change log information for debugging on CI
vinaygaba Aug 15, 2022
9f75197
Remove a composable
vinaygaba Aug 15, 2022
f038b8c
Update snapshots
vinaygaba Aug 15, 2022
275ee20
Use git lfs on CI
vinaygaba Aug 15, 2022
cf9cdc8
Update Paparazzi CI logs to stacktrace
vinaygaba Aug 15, 2022
4dc31e5
Remove git lfs from this project for the time being
vinaygaba Aug 15, 2022
7eec47d
Remove git lfs
vinaygaba Aug 15, 2022
0d591d1
Force CI
vinaygaba Aug 15, 2022
67a91d9
Fix yaml syntax
vinaygaba Aug 15, 2022
faf952a
Check if tests are working properly
vinaygaba Aug 16, 2022
800939b
Run tests even on failure
vinaygaba Aug 18, 2022
b90a72e
Update path of report and add failure screenshots to upload
vinaygaba Aug 18, 2022
3e4897b
Nit
vinaygaba Aug 18, 2022
2728445
Revert intentional screenshot diff
vinaygaba Aug 18, 2022
545cfa5
Nit
vinaygaba Aug 18, 2022
ff7da70
Added colors and typography to the tests as well
vinaygaba Aug 20, 2022
7b58cb7
ONly add ksp sources in paparazzi sampel project
vinaygaba Aug 20, 2022
07a6a62
Record shot screenshot tests
vinaygaba Aug 20, 2022
828d316
Run shot screenshots again
vinaygaba Aug 20, 2022
12d562e
Revert unintended change
vinaygaba Aug 20, 2022
4b52ea4
Merge branch 'master' into vinay-paparazzi-sample
vinaygaba Aug 22, 2022
db14003
Merge branch 'master' into vinay-paparazzi-sample
vinaygaba Aug 26, 2022
bc68a97
Added LocalOnBackPressedDispatcherOwner to avoid crash
vinaygaba Sep 25, 2022
a0a6695
Merge branch 'vinay-paparazzi-sample' of github.com:airbnb/Showkase i…
vinaygaba Sep 25, 2022
bf44707
Nit
vinaygaba Sep 25, 2022
91f3d4c
Resolved merge conflicts
vinaygaba Oct 28, 2022
0e12b31
Fix version error
vinaygaba Oct 28, 2022
1da6544
Address feedback
vinaygaba Oct 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Address feedback
  • Loading branch information
vinaygaba committed Oct 29, 2022
commit 1da65443d2c48a10b650a07fcd3f8e42fd476db4
1 change: 0 additions & 1 deletion showkase-screenshot-testing-paparazzi-sample/build.gradle
Original file line number Diff line number Diff line change
@@ -62,7 +62,6 @@ android {
}
}

// https://github.com/cashapp/paparazzi/issues/409
// https://github.com/cashapp/paparazzi/issues/409
tasks.withType(Test).configureEach { task ->
task.jvmArgs += [
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.airbnb.android.showkase.screenshot.testing.paparazzi.sample

import androidx.activity.OnBackPressedDispatcher