mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
26 lines
621 B
JavaScript
26 lines
621 B
JavaScript
|
describe('Dashboard page', () => {
|
||
|
beforeEach(() => {
|
||
|
cy.viewport(1366, 1800);
|
||
|
cy.visit('/');
|
||
|
});
|
||
|
|
||
|
it('navigation', () => {
|
||
|
cy.getTestElement('Main__page__navigation')
|
||
|
.should('be.visible')
|
||
|
.matchImageSnapshot();
|
||
|
});
|
||
|
|
||
|
it('content', () => {
|
||
|
cy.getTestElement('Dashboard__page__content')
|
||
|
.should('be.visible')
|
||
|
.matchImageSnapshot();
|
||
|
});
|
||
|
|
||
|
// Menu
|
||
|
|
||
|
it('device header', () => {
|
||
|
cy.getTestElement('Main__page__device__header')
|
||
|
.should('be.visible')
|
||
|
.matchImageSnapshot();
|
||
|
});
|
||
|
});
|