mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
614 B
24 lines
614 B
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();
|
|
});
|
|
}); |