fix: stx send form test

This commit is contained in:
alter-eggo
2023-03-27 12:47:43 +04:00
committed by Anastasios
parent f3d61a3133
commit fd901fd1ed
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ export const TEST_ACCOUNT_1_STX_ADDRESS = 'SP297VG59W96DPGBT13SGD542QE1XS954X78Z
// '02b6b0afe5f620bc8e532b640b148dd9dea0ed19d11f8ab420fcce488fe3974893';
export const TEST_ACCOUNT_2_STX_ADDRESS = 'SPRE7HABZGQ204G3VQAKMDMVBBD8A8CYG6BQKHQ';
// export const TEST_ACCOUNT_2_BTC_ADDRESS = 'bc1qznkpz8fk07nmdhvr2k4nnea5n08tw6tk540snu';
export const TEST_TESTNET_ACCOUNT_2_BTC_ADDRESS = 'tb1qsqncyhhqdtfn07t3dhupx7smv5gk83ds6k0gfa';
export const TEST_TESTNET_ACCOUNT_2_BTC_ADDRESS = 'tb1qkzvk9hr7uvas23hspvsgqfvyc8h4nngeqjqtnj';
export const TEST_BNS_NAME = 'test-hiro-wallet.btc';
export const TEST_BNS_RESOLVED_ADDRESS = 'SP12YQ0M2KFT7YMJKVGP71B874YF055F77PFPH9KM';

View File

@@ -31,6 +31,7 @@ test.describe('send stx', () => {
test('that recipient address matches bns name', async ({ page, sendPage }) => {
await sendPage.amountInput.fill('.0001');
await sendPage.amountInput.blur();
await sendPage.recipientSelectFieldAddress.click();
await sendPage.recipientSelectFieldBnsName.click();
await sendPage.recipientInput.fill(TEST_BNS_NAME);