diff --git a/__tests__/integration/mirador/annotations.test.js b/__tests__/integration/mirador/annotations.test.js index f8135a6fbd..63665e71fb 100644 --- a/__tests__/integration/mirador/annotations.test.js +++ b/__tests__/integration/mirador/annotations.test.js @@ -21,7 +21,7 @@ describe('Annotations in Mirador', () => { .find(w => w.manifestId === 'https://iiif.harvardartmuseums.org/manifests/object/299843').id; }); - await expect(page).toClick(`#${windowId} button[aria-label="Toggle sidebar"]`); + await expect(page).toClick(`#${windowId} button[aria-label="Show sidebar"]`); await expect(page).toClick(`#${windowId} button[aria-label="Annotations"]`); await expect(page).toMatchElement(`#${windowId} h3`, { text: 'Annotations' }); diff --git a/__tests__/integration/mirador/sequence_switching.test.js b/__tests__/integration/mirador/sequence_switching.test.js index 1fdb850bc8..b3830a9b0d 100644 --- a/__tests__/integration/mirador/sequence_switching.test.js +++ b/__tests__/integration/mirador/sequence_switching.test.js @@ -22,8 +22,8 @@ describe('Window Sidebar Sequence Dropdown', () => { .find(window => window.manifestId === 'http://localhost:4488/__tests__/fixtures/version-2/multipleSequences.json') .id; - await expect(page).toMatchElement(`#${windowId} button[aria-label="Toggle sidebar"]`); - await expect(page).toClick(`#${windowId} button[aria-label="Toggle sidebar"]`); + await expect(page).toMatchElement(`#${windowId} button[aria-label="Show sidebar"]`); + await expect(page).toClick(`#${windowId} button[aria-label="Show sidebar"]`); await expect(page).toMatchElement(`#${windowId} button[aria-label="Index"]`); await expect(page).toClick(`#${windowId} button[aria-label="Index"]`); diff --git a/__tests__/integration/mirador/window_sidebar.test.js b/__tests__/integration/mirador/window_sidebar.test.js index 1774fe68cd..7c6b21d6ab 100644 --- a/__tests__/integration/mirador/window_sidebar.test.js +++ b/__tests__/integration/mirador/window_sidebar.test.js @@ -27,8 +27,8 @@ describe('Window Sidebars', () => { .find(window => window.manifestId === 'http://localhost:4488/__tests__/fixtures/version-2/001.json') .id; - await expect(page).toMatchElement(`#${windowId} button[aria-label="Toggle sidebar"]`); - await expect(page).toClick(`#${windowId} button[aria-label="Toggle sidebar"]`); + await expect(page).toMatchElement(`#${windowId} button[aria-label="Show sidebar"]`); + await expect(page).toClick(`#${windowId} button[aria-label="Show sidebar"]`); await expect(page).toMatchElement(`#${windowId} button[aria-label="Information"]`); }); @@ -42,8 +42,8 @@ describe('Window Sidebars', () => { .find(window => window.manifestId === 'http://localhost:4488/__tests__/fixtures/version-2/001.json') .id; - await expect(page).toMatchElement(`#${windowId} button[aria-label="Toggle sidebar"]`); - await expect(page).toClick(`#${windowId} button[aria-label="Toggle sidebar"]`); + await expect(page).toMatchElement(`#${windowId} button[aria-label="Show sidebar"]`); + await expect(page).toClick(`#${windowId} button[aria-label="Show sidebar"]`); await expect(page).toMatchElement(`#${windowId} button[aria-label="Index"]`); });