Skip to content

Latest commit

 

History

History
32 lines (30 loc) · 1.85 KB

integration-testing.md

File metadata and controls

32 lines (30 loc) · 1.85 KB

Integration test

Steps

  1. While the Aurras system is up and running
  2. Make sure wsk cli is added to the path
  3. Install the actions
  4. Register event source using the below command with name as param eg: --name polkadot-balance if connecting to polkadot
./register_event_source.sh --name polkadot-balance
  1. Get the generated uuid and add as an environment variable to the substrate event feed
  2. Connect event feed with a Substrate based chain
  3. Navigate to examples/susbtrate-push-notification
  4. Add API configuration and Firebase Push Notification Configuration
  5. Install Node Dependencies using yarn install
  6. Start susbtrate-push-notification using yarn start

For Brave brower enable Use Google services for push messaging using brave://settings/privacy

  1. Upon Notification Permission Prompt Click Allow Allow Push Notification
  2. Select the account for which balance notification to be received
  3. Click Register Balance Notification button
  4. Select the Event Source
Push Notification Token

Allow Push Notification 15. Click Register Allow Push Notification 16. Perform an amount transfer transaction to the registered wallet.

Make sure substrate-push-notification app is not in foreground

  1. Verify the push notification received. Allow Push Notification Allow Push Notification