Skip to content
Snippets Groups Projects
Select Git revision
  • 82676c5c9ea4c6e752ac122cd1d9c5d0462e5ec7
  • main default protected
  • export
  • 28-conversion-tests
  • extraction
  • exploration
  • exploration-old
  • 2-encoding-fix
  • main-old
9 results

transform.py

Blame
  • validate.test.js 942 B
    describe('pass valid and invalid plugins to <WorkspaceControlPanelButtons>', () => {
      beforeAll(async () => {
        await page.goto('http://127.0.0.1:4488/__tests__/integration/mirador/plugins/validate.html');
        await expect(page).toMatchElement('.mirador-viewer');
        await page.waitForTimeout(1000);
      });
    
      it('valid plugins will be applied <WorkspaceControlPanelButtons>', async () => {
        await expect(page).toMatchElement('#valid-plugin-a');
      });
    
      it('invalid plugins will not be applied <WorkspaceControlPanelButtons>', async () => {
        await expect(page).not.toMatchElement('#invalid-plugin-a');
        await expect(page).not.toMatchElement('#invalid-plugin-b');
        await expect(page).not.toMatchElement('#invalid-plugin-c');
        await expect(page).not.toMatchElement('#invalid-plugin-d');
        await expect(page).not.toMatchElement('#invalid-plugin-e');
        await expect(page).not.toMatchElement('#invalid-plugin-f');
      });
    });