Skip to content

Add E2E Giftcode tests #113

@piotr-iohk

Description

@piotr-iohk

Will be tested on regtest, so after we move running part of the tests there.
Possible scenarios.

  • Claim via deep link (cold start) - amount shows correctly, not dismissed by timed sheets
    • with no channel
    • with existing channel
  • Claim via deep link (warm start) - amount shows correctly
    • with no channel
    • with existing channel
  • Claim already redeemed code - shows appropriate error
  • Test with an exhausted/depleted gift code

Use giftcode via deeplink:

# Android
adb shell am start \
  -a android.intent.action.VIEW \
  -d "bitkit://gift-..."


# iOS
xcrun simctl openurl booted "bitkit://gift-..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions