Skip to content

Commit

Permalink
test(extension): add branch name to allure properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ljagiela committed May 7, 2024
1 parent 8b4f652 commit fcab605
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/e2e-tests-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ env:
RUN: ${{ github.run_number }}
DISPLAY: ':99.0'
NODE_OPTIONS: --max-old-space-size=16384
BRANCH: ${{ github.ref_name }}

jobs:
tests:
Expand Down Expand Up @@ -77,6 +78,7 @@ jobs:
working-directory: './packages/e2e-tests/reports/allure/results'
run: |
echo "
branch=${BRANCH}
env=${NETWORK}
browser=${BROWSER}
tags=${TAGS}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/e2e-tests-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ env:
BROWSER: ${{ github.event.inputs.browser || 'edge' }}
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
RUN: ${{ github.run_number }}
BRANCH: ${{ github.ref_name }}

jobs:
build-extension-linux:
Expand Down Expand Up @@ -123,6 +124,7 @@ jobs:
working-directory: ./packages/e2e-tests/reports/allure/results
run: |
echo "
branch=${BRANCH}
env=${NETWORK}
browser=${BROWSER}
tags=${TAGS}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
BROWSER: 'chrome'
RUN: ${{ github.run_number }}
DISPLAY: ':99.0'
BRANCH: ${{ github.ref_name }}

jobs:
smokeTests:
Expand Down Expand Up @@ -52,6 +53,7 @@ jobs:
working-directory: ./packages/e2e-tests/reports/allure/results
run: |
echo "
branch=${BRANCH}
browser=${BROWSER}
tags=${TAGS}
platform=Linux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class TransactionSummaryPage extends CommonDrawerElements {
private BUNDLE_ROW_TITLE = '//span[@data-testid="bundle-summary-title"]';
private RECIPIENT_ADDRESS_LABEL = '//p[@data-testid="output-summary-recipient-title-label"]';
private RECIPIENT_ADDRESS_VALUE = '//span[@data-testid="output-summary-recipient-address"]';
private SENDING_TITLE = '//p[@data-testid="output-summary-sending-title-label"]';
private SENDING_TITLE = '//span[@data-testid="output-summary-sending-title-label"]';
private ASSET_INFO_CONTAINER = '//div[@data-testid="asset-info"]';
private ASSET_INFO_VALUE = '//span[@data-testid="asset-info-amount"]';
private ASSET_INFO_FIAT = '//span[@data-testid="asset-info-amount-fiat"]';
Expand Down

0 comments on commit fcab605

Please sign in to comment.