Skip to content

Commit

Permalink
Merge pull request #226 from nodlesh/feature/bcw-showcase-test-dev
Browse files Browse the repository at this point in the history
Switch BCW showcase tests to Prod in pipeline
  • Loading branch information
nodlesh authored Dec 12, 2023
2 parents b2b4003 + b76638a commit 17c61fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ jobs:
USE_NGROK: "-n"

- name: run-sauce-connect-tunnel
if: ${{ matrix.mobile-platform=='-p iOS' && !contains(matrix.report-project,'candy-uvp-pcft-chat') }}
if: ${{ matrix.mobile-platform=='-p iOS' && !contains(matrix.report-project,'candy-uvp-pcft-chat') && !contains(matrix.report-project,'bc-showcase-ios') }}
uses: saucelabs/sauce-connect-action@v2
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
directDomains: apple.com,ppq.apple.com,aries-mediator-agent.vonx.io,bc-wallet-demo-dev.apps.silver.devops.gov.bc.ca
directDomains: apple.com,ppq.apple.com,aries-mediator-agent.vonx.io

# tunnelIdentifier: github-action-tunnel
# region: us-west-1
Expand Down Expand Up @@ -208,8 +208,8 @@ jobs:
#TEST_RETRY_ATTEMPTS_OVERRIDE: "2"
with:
MOBILE_WALLET: "-w bc_wallet"
ISSUER_AGENT: '-i "BCShowcaseIssuer;https://bc-wallet-demo-dev.apps.silver.devops.gov.bc.ca/"'
VERIFIER_AGENT: '-v "BCShowcaseVerifier;https://bc-wallet-demo-dev.apps.silver.devops.gov.bc.ca/"'
ISSUER_AGENT: '-i "BCShowcaseIssuer;https://bc-wallet-demo.apps.silver.devops.gov.bc.ca/"'
VERIFIER_AGENT: '-v "BCShowcaseVerifier;https://bc-wallet-demo.apps.silver.devops.gov.bc.ca/"'
DEVICE_CLOUD: "-d SauceLabs"
DEVICE_CLOUD_USER: "-u ${{ secrets.SAUCE_USERNAME }}"
DEVICE_CLOUD_KEY: "-k ${{ secrets.SAUCE_ACCESS_KEY }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def send_credential(self, actor:str, credential_offer=None, version=1, schema=No
time.sleep(3)
self.driver.save_screenshot('connect_with_best_bc_college_page.png')
qrcode = self._connect_with_best_bc_college_page.get_qr_code()
return add_border_to_qr_code(qrcode)
return add_border_to_qr_code(qrcode, border_size=80)


def revoke_credential(self, publish_immediately=True, notify_holder=False):
Expand Down
2 changes: 2 additions & 0 deletions aries-mobile-tests/features/steps/bc_wallet/bc_showcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def step_impl(context):
context.device_service_handler.inject_qrcode(qrcode)
context.execute_steps('''
Given they Scan the credential offer QR Code
When the holder opens the credential offer
Then holder is brought to the credential offer screen
When they select Accept
And the holder is informed that their credential is on the way with an indication of loading
Expand All @@ -43,6 +44,7 @@ def step_impl(context):
context.device_service_handler.inject_qrcode(qrcode)
context.execute_steps('''
Given they Scan the proof request QR Code
When the holder opens the proof request
Then holder is brought to the proof request
''')

Expand Down

0 comments on commit 17c61fa

Please sign in to comment.