Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Aug 14, 2024
1 parent 1d923cf commit 2508a52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
import { openDapp, unlockWallet, WINDOW_TITLES } from '../../../helpers';
import { Driver } from '../../../webdriver/driver';
import {
confirmDepositTransaction,
confirmRedesignedContractDeploymentTransaction,
createContractDeploymentTransaction,
createDepositTransaction,
TestSuiteArguments,
} from './shared';

Expand Down Expand Up @@ -40,6 +42,11 @@ describe('Confirmation Redesign Contract Deployment Component', function () {
await createContractDeploymentTransaction(driver);

await confirmRedesignedContractDeploymentTransaction(driver);

// confirm deposits can be made to the deployed contract
await createDepositTransaction(driver);

await confirmDepositTransaction(driver);
},
);
});
Expand Down Expand Up @@ -70,6 +77,11 @@ describe('Confirmation Redesign Contract Deployment Component', function () {
await scrollDown(driver);

await confirmRedesignedContractDeploymentTransaction(driver);

// confirm deposits can be made to the deployed contract
await createDepositTransaction(driver);

await confirmDepositTransaction(driver);
},
);
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/confirmations/transactions/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function confirmRedesignedContractDeploymentTransaction(

await driver.waitForSelector({
css: 'p',
text: 'This transaction will deploy a contract',
text: 'This site wants you to deploy a contract',
});

await driver.clickElement({ text: 'Confirm', tag: 'button' });
Expand Down

0 comments on commit 2508a52

Please sign in to comment.