Transfer
@@ -103,21 +103,20 @@ class SendWritable extends React.Component {
theme={styles}
onChange={this.handleChange.bind(this, 'amount')} />
{this.props.t('Fee: {{fee}} LSK', { fee: fromRawLsk(this.fee) })}
-
-
+
);
}
diff --git a/test/e2e/forging.feature b/test/e2e/forging.feature
index 8748e3f4a9..1123509f69 100644
--- a/test/e2e/forging.feature
+++ b/test/e2e/forging.feature
@@ -3,7 +3,7 @@ Feature: Forging page
Given I'm logged in as "delegate"
When I click "forging" menu
Then I should see forging center
- And I should see table with 20 lines
- And I scroll to the bottom of "forging"
And I should see table with 40 lines
+ And I scroll to the bottom of "forging"
+ And I should see table with 60 lines
diff --git a/test/integration/wallet.test.js b/test/integration/wallet.test.js
index 39a34ac194..688e83ce86 100644
--- a/test/integration/wallet.test.js
+++ b/test/integration/wallet.test.js
@@ -111,7 +111,7 @@ describe('@integration: Wallet', () => {
step('And I click "send next button"', clickStep.bind(null, 'send next button'));
step('When I click "send button"', () => {
requestToActivePeerStub.withArgs(match.any, 'transactions', match.any).returnsPromise().rejects({});
- wrapper.find('form').simulate('submit');
+ wrapper.find('.send-button button').simulate('click');
});
step(`Then I should see text ${errorMessage} in "result box message" element`, shouldContainMessage.bind(this, 'result box message', errorMessage));
});
@@ -121,7 +121,7 @@ describe('@integration: Wallet', () => {
step('And I fill in "1" to "amount" field', fillInputField.bind(null, '1', 'amount'));
step('And I fill in "537318935439898807L" to "recipient" field', fillInputField.bind(null, '537318935439898807L', 'recipient'));
step('And I click "send next button"', clickStep.bind(null, 'send next button'));
- step('When I click "send button"', () => { wrapper.find('form').simulate('submit'); });
+ step('When I click "send button"', () => { wrapper.find('.send-button button').simulate('click'); });
step(`Then I should see text ${successMessage} in "result box message" element`, shouldContainMessage.bind(this, 'result box message', successMessage));
});
@@ -132,7 +132,7 @@ describe('@integration: Wallet', () => {
step('And I fill in "537318935439898807L" to "recipient" field', fillInputField.bind(null, '537318935439898807L', 'recipient'));
step('And I click "send next button"', clickStep.bind(null, 'send next button'));
step('And I fill in passphrase of "genesis" to "passphrase" field', fillInputField.bind(null, passphrase, 'passphrase'));
- step('When I click "send button"', () => { wrapper.find('form').simulate('submit'); });
+ step('When I click "send button"', () => { wrapper.find('.send-button button').simulate('click'); });
step(`Then I should see text ${successMessage} in "result box message" element`, shouldContainMessage.bind(this, 'result box message', successMessage));
});
@@ -143,7 +143,7 @@ describe('@integration: Wallet', () => {
step('And I fill in "537318935439898807L" to "recipient" field', fillInputField.bind(null, '537318935439898807L', 'recipient'));
step('And I click "send next button"', clickStep.bind(null, 'send next button'));
step('And I fill in second passphrase of "second passphrase account" to "second passphrase" field', fillInputField.bind(null, secondPassphrase, 'second-passphrase'));
- step('When I click "send button"', () => { wrapper.find('form').simulate('submit'); });
+ step('When I click "send button"', () => { wrapper.find('.send-button button').simulate('click'); });
step(`Then I should see text ${successMessage} in "result box message" element`, shouldContainMessage.bind(this, 'result box message', successMessage));
});
@@ -155,7 +155,7 @@ describe('@integration: Wallet', () => {
step('And I click "send next button"', clickStep.bind(null, 'send next button'));
step('And I fill in passphrase of "second passphrase account" to "passphrase" field', fillInputField.bind(null, passphrase, 'passphrase'));
step('And I fill in second passphrase of "second passphrase account" to "second passphrase" field', fillInputField.bind(null, secondPassphrase, 'second-passphrase'));
- step('When I click "send button"', () => { wrapper.find('form').simulate('submit'); });
+ step('When I click "send button"', () => { wrapper.find('.send-button button').simulate('click'); });
step(`Then I should see text ${successMessage} in "result box message" element`, shouldContainMessage.bind(this, 'result box message', successMessage));
});
});