Skip to content

Commit 137c530

Browse files
authored
test(extension): add branch name to allure properties (#1135)
1 parent b7cc090 commit 137c530

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.github/workflows/e2e-tests-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ env:
3535
RUN: ${{ github.run_number }}
3636
DISPLAY: ':99.0'
3737
NODE_OPTIONS: --max-old-space-size=16384
38+
BRANCH: ${{ github.ref_name }}
3839

3940
jobs:
4041
tests:
@@ -77,6 +78,7 @@ jobs:
7778
working-directory: './packages/e2e-tests/reports/allure/results'
7879
run: |
7980
echo "
81+
branch=${BRANCH}
8082
env=${NETWORK}
8183
browser=${BROWSER}
8284
tags=${TAGS}

.github/workflows/e2e-tests-win.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ env:
3333
BROWSER: ${{ github.event.inputs.browser || 'edge' }}
3434
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
3535
RUN: ${{ github.run_number }}
36+
BRANCH: ${{ github.ref_name }}
3637

3738
jobs:
3839
build-extension-linux:
@@ -123,6 +124,7 @@ jobs:
123124
working-directory: ./packages/e2e-tests/reports/allure/results
124125
run: |
125126
echo "
127+
branch=${BRANCH}
126128
env=${NETWORK}
127129
browser=${BROWSER}
128130
tags=${TAGS}

.github/workflows/smoke-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
BROWSER: 'chrome'
1414
RUN: ${{ github.run_number }}
1515
DISPLAY: ':99.0'
16+
BRANCH: ${{ github.ref_name }}
1617

1718
jobs:
1819
smokeTests:
@@ -52,6 +53,7 @@ jobs:
5253
working-directory: ./packages/e2e-tests/reports/allure/results
5354
run: |
5455
echo "
56+
branch=${BRANCH}
5557
browser=${BROWSER}
5658
tags=${TAGS}
5759
platform=Linux

packages/e2e-tests/src/elements/newTransaction/transactionSummaryPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class TransactionSummaryPage extends CommonDrawerElements {
77
private BUNDLE_ROW_TITLE = '//span[@data-testid="bundle-summary-title"]';
88
private RECIPIENT_ADDRESS_LABEL = '//p[@data-testid="output-summary-recipient-title-label"]';
99
private RECIPIENT_ADDRESS_VALUE = '//span[@data-testid="output-summary-recipient-address"]';
10-
private SENDING_TITLE = '//p[@data-testid="output-summary-sending-title-label"]';
10+
private SENDING_TITLE = '//span[@data-testid="output-summary-sending-title-label"]';
1111
private ASSET_INFO_CONTAINER = '//div[@data-testid="asset-info"]';
1212
private ASSET_INFO_VALUE = '//span[@data-testid="asset-info-amount"]';
1313
private ASSET_INFO_FIAT = '//span[@data-testid="asset-info-amount-fiat"]';

0 commit comments

Comments
 (0)