mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-17 09:31:39 -07:00
Add dropdown to navigation links
- add download page - move main pages tests to their own folder - add download and public eng snapshot test - remove public engagement button on each page - swap index with cejst - update cypress ENDPOINTS - upate gatsby-config sitemap - update snapshots - cypress tests are failing
This commit is contained in:
parent
69edbe520e
commit
32f2609dde
29 changed files with 2700 additions and 421 deletions
16
client/src/pages/tests/downloads.test.tsx
Normal file
16
client/src/pages/tests/downloads.test.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import * as React from 'react';
|
||||
import {render} from '@testing-library/react';
|
||||
import {LocalizedComponent} from '../../test/testHelpers';
|
||||
import DownloadsPage from '../downloads';
|
||||
|
||||
describe('rendering of the DatasetContainer', () => {
|
||||
const {asFragment} = render(
|
||||
<LocalizedComponent>
|
||||
<DownloadsPage location={window.location}/>
|
||||
</LocalizedComponent>,
|
||||
);
|
||||
|
||||
it('checks if various text fields are visible', () => {
|
||||
expect(asFragment()).toMatchSnapshot();
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue