Skip to content

Commit

Permalink
Merge pull request #576 from LiskHQ/571-fix-see-all-transacitons
Browse files Browse the repository at this point in the history
Fix see all transactions - Closes #571
  • Loading branch information
michaeltomasik authored Mar 21, 2018
2 parents 4805bb0 + fa280d1 commit 585ee6e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Dashboard extends React.Component {
<header>
<h2 className={styles.title}>
{t('Latest activity')}
<Link to={`${routes.main.path}${routes.dashboard.path}`} className={styles.seeAllLink}>
<Link to={`${routes.main.path}${routes.transaction.path}`} className={`${styles.seeAllLink} seeAllLink`}>
{t('See all transactions')}
<FontIcon value='arrow-right'/>
</Link>
Expand Down
8 changes: 8 additions & 0 deletions test/e2e/transactions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Feature: Transactions page
Then I should see 25 rows
When I scroll to the bottom of "transaction results"
Then I should see 50 rows

Scenario: should open all transactions
Given I'm logged in as "genesis"
When I click "dashboard" menu
And I should see 3 rows
When I click "seeAllLink"
Then I should be on url "/main/transactions"
And I should see 25 rows

@integration
Scenario: should provide a message if there are "No transactions"
Expand Down

0 comments on commit 585ee6e

Please sign in to comment.