Skip to content

Commit 165beab

Browse files
adding comments as suggested in the review
1 parent f17bbde commit 165beab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/e2e/tests/send-edit.spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ describe('Editing Confirm Transaction', function () {
7373
await driver.clickElement(
7474
By.xpath(`//button[contains(text(), 'Next')]`),
7575
);
76+
77+
// has correct updated value on the confirm screen the transaction
7678
const editedTransactionAmounts = await driver.findElements(
7779
By.css('.currency-display-component__text'),
7880
);
@@ -82,6 +84,7 @@ describe('Editing Confirm Transaction', function () {
8284
const editedTransactionFee = editedTransactionAmounts[1];
8385
assert.equal(await editedTransactionFee.getText(), '0.0008');
8486

87+
// confirms the transaction
8588
await driver.clickElement(
8689
By.xpath(`//button[contains(text(), 'Confirm')]`),
8790
);

0 commit comments

Comments
 (0)