-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { | ||
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 3 of 8[chromium] › specs/receive/receive.spec.ts:17:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Native Segwit address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 3 of 8[chromium] › specs/receive/receive.spec.ts:17:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Native Segwit address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 3 of 8[chromium] › specs/receive/receive.spec.ts:17:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Native Segwit address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:22:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Taproot address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:22:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Taproot address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:22:5 › Receive Dialog: Address generation › Bitcoin › that the wallet generates the correct Taproot address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:29:5 › Receive Dialog: Address generation › Stacks › that restoring a wallet generates the correct stacks address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:29:5 › Receive Dialog: Address generation › Stacks › that restoring a wallet generates the correct stacks address
Check failure on line 1 in tests/specs/receive/receive.spec.ts GitHub Actions / Shard 4 of 8[chromium] › specs/receive/receive.spec.ts:29:5 › Receive Dialog: Address generation › Stacks › that restoring a wallet generates the correct stacks address
|
||
TEST_ACCOUNT_1_NATIVE_SEGWIT_ADDRESS, | ||
TEST_ACCOUNT_1_STX_ADDRESS, | ||
TEST_ACCOUNT_1_TAPROOT_ADDRESS, | ||
} from '@tests/mocks/constants'; | ||
|
||
import { test } from '../../fixtures/fixtures'; | ||
|
||
test.describe('Receive Dialog: Address generation', () => { | ||
test.beforeEach(async ({ extensionId, globalPage, onboardingPage, homePage }) => { | ||
await globalPage.setupAndUseApiCalls(extensionId); | ||
await onboardingPage.signInExistingUser(); | ||
await homePage.goToReceiveDialog(); | ||
}); | ||
|
||
test.describe('Bitcoin', () => { | ||
test('that the wallet generates the correct Native Segwit address', async ({ homePage }) => { | ||
const nativeSegwitAddress = await homePage.getReceiveNativeSegwitAddress(); | ||
test.expect(nativeSegwitAddress).toEqual(TEST_ACCOUNT_1_NATIVE_SEGWIT_ADDRESS); | ||
}); | ||
|
||
test('that the wallet generates the correct Taproot address', async ({ homePage }) => { | ||
const taprootAddress = await homePage.getReceiveTaprootAddress(); | ||
test.expect(taprootAddress).toEqual(TEST_ACCOUNT_1_TAPROOT_ADDRESS); | ||
}); | ||
}); | ||
|
||
test.describe('Stacks', () => { | ||
test('that restoring a wallet generates the correct stacks address', async ({ homePage }) => { | ||
const stacksAddress = await homePage.getReceiveStxAddress(); | ||
test.expect(stacksAddress).toEqual(TEST_ACCOUNT_1_STX_ADDRESS); | ||
}); | ||
}); | ||
}); |