* ci: test docs-publish * Specify to use prod * Babel should transpile with env set by webpack * chore: production defaults to true; set in --env.production by cli * Remove lingering merge issue * Add minimification plugins * Need relative URLs to find root assets * Default public url to forward slash in define plugin * Don't wrap w/ react-hot-loader if we're building for production * No need to log extensions * Minimize using terser; and minimize css * Import redux from es; this bypasses commonjs as import and fixes our "production build" warning * Split commone webpack build for now to test hotfix * postfix slash * undefined safe env access * Try to fix node_env prod issue w/ redux * Set NODE_ENV production for all prod builds * Syntax error * nix tests * Increase max amount of available memory * Don't run bundle analyzer by default
23 lines
748 B
JavaScript
23 lines
748 B
JavaScript
describe('ViewerRouting', () => {
|
|
beforeEach(() => {
|
|
cy.visit('/');
|
|
cy.contains('Study List');
|
|
cy.get('#studyListData > :nth-child(1) > .patientId').click();
|
|
});
|
|
|
|
// it('thumbnails list has more than 2 items', () => {
|
|
// cy.get('.scrollable-study-thumbnails div.ThumbnailEntryContainer')
|
|
// .its('length')
|
|
// .should('be.gte', 2);
|
|
// });
|
|
|
|
// it('loads route with at least 2 thumbnails', () => {
|
|
// cy.get(
|
|
// ':nth-child(1) > .ThumbnailEntry > .p-x-1 > .ImageThumbnail > .image-thumbnail-canvas > canvas'
|
|
// ).should('be.visible');
|
|
// cy.get(
|
|
// ':nth-child(2) > .ThumbnailEntry > .p-x-1 > .ImageThumbnail > .image-thumbnail-canvas > canvas'
|
|
// ).should('be.visible');
|
|
// });
|
|
});
|