Skip to content

Commit

Permalink
Merge pull request #228 from nodlesh/fix-pipeline-ngrok-authtoken
Browse files Browse the repository at this point in the history
updated EULA title and AuthToken for pipeline
  • Loading branch information
nodlesh authored Jan 8, 2024
2 parents 746ee16 + 664de09 commit 9807f56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ jobs:
if: ${{ matrix.mobile-platform=='-p Android' && !contains(matrix.report-project,'candy-uvp-pcft-chat') }}
uses: ./.github/workflows/run-aath-agents
with:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
LEDGER_URL_CONFIG: "http://test.bcovrin.vonx.io"
USE_NGROK: "-n"

Expand All @@ -89,6 +90,7 @@ jobs:
if: ${{ matrix.mobile-platform=='-p Android' && contains(matrix.report-project,'candy-uvp-pcft-chat') }}
uses: ./.github/workflows/run-aath-agents
with:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
TEST_AGENTS: "-b acapy-main"
GENESIS_URL: "https://raw.githubusercontent.com/ICCS-ISAC/dtrust-reconu/main/CANdy/test/pool_transactions_genesis"
AGENT_CONFIG_FILE: "/aries-backchannels/acapy/read_only_ledger_verifier_config.yaml"
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/run-aath-agents/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
description: "Customized agent args to use"
required: true
default: "/aries-backchannels/acapy/auto_issuer_config.yaml"
NGROK_AUTHTOKEN:
description: "AUTH Token for NGROK when -n is used"
required: false
default: ""
USE_NGROK:
description: "Use NGROK Tunnel"
required: false
Expand All @@ -41,9 +45,9 @@ runs:
- name: run-aath-agents
run: |
if [[ -n "${{ inputs.GENESIS_URL }}" ]]; then
GENESIS_URL=${{ inputs.GENESIS_URL }} TAILS_SERVER_URL_CONFIG=${{ inputs.TAILS_SERVER_URL_CONFIG }} AGENT_CONFIG_FILE=${{ inputs.AGENT_CONFIG_FILE }} ./manage start ${{ inputs.TEST_AGENTS }} ${{ inputs.USE_NGROK }}
GENESIS_URL=${{ inputs.GENESIS_URL }} NGROK_AUTHTOKEN=${{ inputs.NGROK_AUTHTOKEN }} TAILS_SERVER_URL_CONFIG=${{ inputs.TAILS_SERVER_URL_CONFIG }} AGENT_CONFIG_FILE=${{ inputs.AGENT_CONFIG_FILE }} ./manage start ${{ inputs.TEST_AGENTS }} ${{ inputs.USE_NGROK }}
elif [[ -n "${{ inputs.LEDGER_URL_CONFIG }}" ]]; then
LEDGER_URL_CONFIG=${{inputs.LEDGER_URL_CONFIG}} TAILS_SERVER_URL_CONFIG=${{inputs.TAILS_SERVER_URL_CONFIG}} AGENT_CONFIG_FILE=${{inputs.AGENT_CONFIG_FILE}} ./manage start ${{inputs.TEST_AGENTS}} ${{inputs.USE_NGROK}}
LEDGER_URL_CONFIG=${{inputs.LEDGER_URL_CONFIG}} NGROK_AUTHTOKEN=${{ inputs.NGROK_AUTHTOKEN }} TAILS_SERVER_URL_CONFIG=${{inputs.TAILS_SERVER_URL_CONFIG}} AGENT_CONFIG_FILE=${{inputs.AGENT_CONFIG_FILE}} ./manage start ${{inputs.TEST_AGENTS}} ${{inputs.USE_NGROK}}
else
echo "Neither LEDGER_URL_CONFIG nor GENESIS_URL provided."
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class TermsAndConditionsPage(BasePage):
# Locators
# TODO: We could create a locator module that has all the locators. Given a specific app we could load the locators for that app.
# not sure this would be a use case that would be common. Leaving locators with the page objects for now.
on_this_page_text_locator = "End User License Agreement"
on_this_page_locator = (AppiumBy.NAME, "End User License Agreement")
on_this_page_text_locator = "Terms of Use"
on_this_page_locator = (AppiumBy.NAME, "Terms of Use")
terms_and_conditions_accept_aid_locator = "I Agree"
terms_and_conditions_accept_locator = (AppiumBy.ID, "com.ariesbifold:id/IAgree")
continue_button_locator = (AppiumBy.ID, "com.ariesbifold:id/Continue")
Expand Down

0 comments on commit 9807f56

Please sign in to comment.