+ {/* TODO: will be re-enabled when the functionality is updated
{t('Register 2nd passphrase')}
+ */}
{[...Array(4)].map((x, i) =>
diff --git a/src/components/setting/setting.test.js b/src/components/setting/setting.test.js
index 5b06ff57133..febde2095eb 100644
--- a/src/components/setting/setting.test.js
+++ b/src/components/setting/setting.test.js
@@ -66,14 +66,16 @@ describe('Setting', () => {
expect(wrapper.find('#carouselNav li').at(2).props().className).to.be.include('activeSlide');
});
- it('should click on "languageSwitcher" change the language to "de"', () => {
+ // TODO: will be re-enabled when the functionality is re-enabled
+ it.skip('should click on "languageSwitcher" change the language to "de"', () => {
// const languageSpy = sinon.spy(i18n, 'changeLanguage');
wrapper.find('.language-switcher .circle').simulate('click');
wrapper.update();
expect(i18n.language).to.be.equal('de');
});
- it('should second click on "languageSwitcher" change the language to "en"', () => {
+ // TODO: will be re-enabled when the functionality is re-enabled
+ it.skip('should second click on "languageSwitcher" change the language to "en"', () => {
wrapper.find('.language-switcher .circle').simulate('click');
wrapper.update();
expect(i18n.language).to.be.equal('de');
diff --git a/test/e2e/forging.feature b/test/e2e/forging.feature
index 8748e3f4a90..552492ec10b 100644
--- a/test/e2e/forging.feature
+++ b/test/e2e/forging.feature
@@ -1,7 +1,7 @@
Feature: Forging page
Scenario: should allow to view forging center if account is delegate and should show more blocks on scroll
Given I'm logged in as "delegate"
- When I click "forging" menu
+ When I go to "main/forging/"
Then I should see forging center
And I should see table with 20 lines
And I scroll to the bottom of "forging"
diff --git a/test/e2e/registerDelegate.feature b/test/e2e/registerDelegate.feature
index 05559c93fb5..081d8e1f483 100644
--- a/test/e2e/registerDelegate.feature
+++ b/test/e2e/registerDelegate.feature
@@ -1,7 +1,7 @@
Feature: Register delegate
Scenario: should allow to register a delegate
Given I'm logged in as "delegate candidate"
- When I click "register as delegate" in main menu
+ When I go to "main/dashboard/register-delegate"
And I fill in "test" to "username" field
And I click "register button"
Then I should see alert dialog with title "Success" and text "Delegate registration was successfully submitted with username: "test". It can take several seconds before it is processed."
@@ -12,7 +12,7 @@ Feature: Register delegate
Scenario: should allow to register a delegate with second passphrase
Given I'm logged in as "second passphrase account"
- When I click "register as delegate" in main menu
+ When I go to "main/dashboard/register-delegate"
And I fill in "test2" to "username" field
And I fill in second passphrase of "second passphrase account" to "second passphrase" field
And I click "register button"
@@ -21,14 +21,14 @@ Feature: Register delegate
@integration
Scenario: should allow to exit delegate registration dialog
Given I'm logged in as "genesis"
- When I click "register as delegate" in main menu
+ When I go to "main/dashboard/register-delegate"
And I click "cancel button"
Then I should see no "modal dialog"
@integration
Scenario: should not allow to register delegate if not enough funds for the fee
Given I'm logged in as "empty account"
- When I click "register as delegate" in main menu
+ When I go to "main/dashboard/register-delegate"
Then I should see "Insufficient funds for 25 LSK fee" error message
And "register button" should be disabled
diff --git a/test/e2e/registerSecondPassphrase.feature b/test/e2e/registerSecondPassphrase.feature
index cc2783f6b7e..91cd6750d3c 100644
--- a/test/e2e/registerSecondPassphrase.feature
+++ b/test/e2e/registerSecondPassphrase.feature
@@ -1,4 +1,6 @@
Feature: Register second passphrase
+ # TODO: will be re-enabled when the functionality is re-enabled
+ @pending
Scenario: should allow to set 2nd passphrase
Given I'm logged in as "second passphrase candidate"
When I click "more menu"
@@ -30,11 +32,7 @@ Feature: Register second passphrase
And I wait 1 seconds
And I refresh the page
And I wait 2 seconds
- When I click "more menu"
- And I wait 0.4 seconds
- And I click 4 item in setting carousel
- And I wait 0.4 seconds
- And I click "register second passphrase"
+ When I go to "main/dashboard/register-second-passphrase"
And I fill in passphrase of "empty account" to "passphrase" field
And I click "authenticate button"
Then I should see "Insufficient funds for 5 LSK fee" error message
@@ -43,21 +41,13 @@ Feature: Register second passphrase
@integration
Scenario: should not allow to set 2nd passphrase if not enough funds for the fee
Given I'm logged in as "empty account"
- When I click "more menu"
- And I wait 0.4 seconds
- And I click 4 item in setting carousel
- And I wait 0.4 seconds
- And I click "register second passphrase"
+ When I go to "main/dashboard/register-second-passphrase"
Then I should see "Insufficient funds for 5 LSK fee" error message
And "next button" should be disabled
@integration
Scenario: should allow to exit 2nd passphrase registration dialog
Given I'm logged in as "genesis"
- When I click "more menu"
- And I wait 0.4 seconds
- And I click 4 item in setting carousel
- And I wait 0.4 seconds
- And I click "register second passphrase"
+ When I go to "main/dashboard/register-second-passphrase"
And I click "cancel button"
- Then I should see no "modal dialog"
\ No newline at end of file
+ Then I should see no "modal dialog"
diff --git a/test/e2e/settings.feature b/test/e2e/settings.feature
index 00cb923d301..66c2f7bdd02 100644
--- a/test/e2e/settings.feature
+++ b/test/e2e/settings.feature
@@ -1,4 +1,6 @@
Feature: Settings dialog
+ # TODO: will be re-enabled when the functionality is re-enabled
+ @pending
Scenario: should allow to change language
Given I'm logged in as "any account"
When I click "more menu"