Group design components in Showkase for the Compound team (#375)
* Screenshot tests changes:
- Group components for Showkase.
- Set special Paparazzi config for scrolling screens using non null `Preview.heightDp`.
- Add merged theme preview with `ElementThemedPreview` component.
This commit is contained in:
parent
977c87c141
commit
921fb55220
413 changed files with 1451 additions and 1079 deletions
|
|
@ -17,8 +17,13 @@
|
|||
package io.element.android.tests.uitests
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Intent
|
||||
import com.airbnb.android.showkase.models.Showkase
|
||||
import com.airbnb.android.showkase.ui.ShowkaseBrowserActivity
|
||||
|
||||
fun openShowkase(activity: Activity) {
|
||||
activity.startActivity(Showkase.getBrowserIntent(activity))
|
||||
val intent = Intent(activity, ShowkaseBrowserActivity::class.java)
|
||||
intent.putExtra("SHOWKASE_ROOT_MODULE",
|
||||
"io.element.android.libraries.designsystem.showkase.DesignSystemShowkaseRootModule")
|
||||
activity.startActivity(intent)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue