mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-30 15:05:44 +00:00
24 lines
614 B
JavaScript
24 lines
614 B
JavaScript
describe('Landing Page', () => {
|
|
beforeEach(() => {
|
|
cy.visit('http://localhost:8081/#/');
|
|
cy.get('[data-test=beta-disclaimer-button]').click();
|
|
});
|
|
|
|
it('top menu', () => {
|
|
cy.get('[data-test=top-menu]')
|
|
.should('be.visible')
|
|
.matchImageSnapshot();
|
|
});
|
|
|
|
it('main text', () => {
|
|
cy.get('[data-test=landing-main-title]')
|
|
.should('be.visible')
|
|
.matchImageSnapshot();
|
|
});
|
|
|
|
it('footer', () => {
|
|
cy.get('[data-test=footer]')
|
|
.should('be.visible')
|
|
.matchImageSnapshot();
|
|
});
|
|
}); |