Skip to content

Commit 8c7121d

Browse files
authored
Merge pull request #4173 from ProjectMirador/add-back-harvard
Restore Harvard Van Gogh image to primary fixture
2 parents 61c6926 + a010bcd commit 8c7121d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export const PRIMARY_MANIFEST_FIXTURE_URL = 'https://dms-data.stanford.edu/data/manifests/Parker/nb647fd0133/manifest.json';
2-
export const PRIMARY_CANVAS_FIXTURE_URL = 'https://dms-data.stanford.edu/data/manifests/Parker/nb647fd0133/canvas/canvas-1';
1+
export const PRIMARY_MANIFEST_FIXTURE_URL = 'https://iiif.harvardartmuseums.org/manifests/object/299843';
2+
export const PRIMARY_CANVAS_FIXTURE_URL = 'https://iiif.harvardartmuseums.org/manifests/object/299843/canvas/canvas-47174892';

__tests__/integration/mirador/tests/minimalist.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('Minimalist configuration to Mirador', () => {
77
setupIntegrationTestViewer(config);
88

99
it('Loads a manifest and displays it without some of the default controls', async () => {
10-
expect(await screen.findByRole('region', { name: /Window: Cambridge, Corpus Christi College, MS 640: Antiphoner Leaf/i })).toBeInTheDocument();
10+
expect(await screen.findByRole('region', { name: /Window: Self-Portrait Dedicated to Paul Gauguin/i })).toBeInTheDocument();
1111

1212
const infoButton = await screen.findByRole('tab', { name: /Information/i });
1313
expect(infoButton).toBeInTheDocument();

__tests__/integration/mirador/tests/plugin-state.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe('how plugins relate to state', () => {
77
setupIntegrationTestViewer(settings.config, settings.plugins);
88

99
it('plugin can read from state', async () => {
10-
const text = 'Plugin:https://dms-data.stanford.edu/data/manifests/Parker/nb647fd0133/manifest.json';
10+
const text = 'Plugin:https://iiif.harvardartmuseums.org/manifests/object/299843';
1111
const elementWithText = await screen.findByText(text);
1212
expect(elementWithText).toHaveTextContent(text);
1313
});

__tests__/integration/mirador/tests/viewer-config.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('initialViewerConfig', () => {
88

99
describe('initialViewerConfig', () => {
1010
it('allows initialViewerConfig to be passed', async (context) => {
11-
expect(await screen.findByRole('region', { name: /Window: Cambridge, Corpus Christi College, MS 640: Antiphoner Leaf/i })).toBeInTheDocument();
11+
expect(await screen.findByRole('region', { name: /Window: Self-Portrait Dedicated to Paul Gauguin/i })).toBeInTheDocument();
1212

1313
let viewerObject;
1414
await waitFor(() => {

__tests__/integration/mirador/tests/window-actions.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ describe('Window actions', () => {
77
setupIntegrationTestViewer(config);
88

99
it('Closes a Mirador window', async () => {
10-
expect(await screen.findByRole('region', { name: /Window: Cambridge, Corpus Christi College, MS 640: Antiphoner Leaf/i })).toBeInTheDocument();
10+
expect(await screen.findByRole('region', { name: /Window: Self-Portrait Dedicated to Paul Gauguin/i })).toBeInTheDocument();
1111
const closeButton = screen.getByRole('button', { name: /Close window/i });
1212
fireEvent.click(closeButton);
13-
await waitFor(() => expect(screen.queryByRole('region', { name: /Window: Cambridge, Corpus Christi College, MS 640: Antiphoner Leaf/i })).not.toBeInTheDocument());
13+
await waitFor(() => expect(screen.queryByRole('region', { name: /Window: Self-Portrait Dedicated to Paul Gauguin/i })).not.toBeInTheDocument());
1414

1515
// No windows should be present
1616
expect(screen.queryByRole('region')).not.toBeInTheDocument();

0 commit comments

Comments
 (0)