Skip to content

Instantly share code, notes, and snippets.

View pablocattaneo's full-sized avatar

Pablo Cattaneo pablocattaneo

View GitHub Profile
npx test filename.spec.ts --grep groupName
# https://playwright.dev/docs/test-retries#retries
npx playwright test --retries=3

Practical fix for local dev (Android emulator) Use the same URL host as on iOS (e.g. http://localhost:3000/...) on the emulator as well, and make localhost on the emulator reach your Mac’s port 3000 with port reverse:

adb reverse tcp:3000 tcp:3000 Then set:

EXPO_PUBLIC_KYC_WEBVIEW_URL_FREE_ACTIVATION="http://localhost:3000/beacon-money-account/info/free-activation?beacon_flow=BMA"

(aligned with iOS). After reverse, localhost:3000 inside the emulator is forwarded to your host’s 3000, so you get connectivity and the same host as iOS for cookies/session.

npx playwright codegen --device="iPhone 13" playwright.dev
# using the --headed option --headed
npx playwright test --headed
Yes. Git lets you cherry-pick multiple commits in several ways.
### Cherry-pick specific commits
```bash
git cherry-pick <commit1> <commit2> <commit3>
```
Example:
Android https://httptoolkit.com/android/
Web
brew install --cask burp-suite
https://portswigger.net/burp
xcode-select -p && xcodebuild -version
# returned example
# path/to/xcode
# Xcode 16.4
# Build version 16F6