mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-23 07:07:56 +01:00
13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
|
const BASE_URL = 'http://localhost:8080';
|
||
|
|
||
|
context('Playground', () => {
|
||
|
it('every test page should match its snapshot', () => {
|
||
|
cy.visit(BASE_URL);
|
||
|
cy.get('a').each(($el) => {
|
||
|
const url = `${BASE_URL}${$el.attr('href')}`;
|
||
|
cy.visit(url);
|
||
|
cy.matchImageSnapshot($el.text());
|
||
|
});
|
||
|
});
|
||
|
});
|