-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1549 from LiskHQ/1548-migrate-integration-tests
Migrate integration tests - Closes #1548
- Loading branch information
Showing
11 changed files
with
182 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import urls from '../../constants/urls'; | ||
import ss from '../../constants/selectors'; | ||
|
||
describe('Dashboard', () => { | ||
it('Quick tips are present on page when logged out', () => { | ||
cy.visit(urls.dashboard); | ||
cy.get(ss.app).contains('What is a Lisk ID?'); | ||
}); | ||
|
||
it('Price chart is present on page', () => { | ||
cy.visit(urls.dashboard); | ||
cy.get(ss.priceChart); | ||
}); | ||
|
||
it('There is no Empty state components on page when logged out', () => { | ||
cy.visit(urls.dashboard); | ||
cy.get(ss.emptyResultsMessage).should('not.exist'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.