From 2498c9a10c540220ee3c4b49d12ce8eca735a136 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Sun, 3 Dec 2023 18:24:16 -0500 Subject: [PATCH] Rename neume_info to element_info in test files --- cypress/e2e/displace.cy.ts | 4 ++-- cypress/e2e/drag/custos.cy.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cypress/e2e/displace.cy.ts b/cypress/e2e/displace.cy.ts index 4d3695bfd..7f2e526e7 100644 --- a/cypress/e2e/displace.cy.ts +++ b/cypress/e2e/displace.cy.ts @@ -19,7 +19,7 @@ describe('displace: +1 octave', () => { const NEUME_ID = '#m-f76386ee-7bfd-471a-8478-e1fb7e345757'; cy.get(NEUME_ID).trigger('mouseover', { force: true, timeout: 100 }); - cy.get('#neume_info').should('contain', 'F3').and('not.contain', 'F2'); + cy.get('#element_info').should('contain', 'F3').and('not.contain', 'F2'); }); it('pitch: ignore presence of divlines', () => { @@ -31,7 +31,7 @@ describe('displace: +1 octave', () => { const NEUME_ID = '#m-61068be0-0f13-4ffb-bc64-65e6b643de60'; cy.get(NEUME_ID).trigger('mouseover', { force: true, timeout: 100 }); - cy.get('#neume_info').should('contain', 'D3').and('not.contain', 'D2'); + cy.get('#element_info').should('contain', 'D3').and('not.contain', 'D2'); }); it('visual: neume should not be visually displaced', () => { diff --git a/cypress/e2e/drag/custos.cy.ts b/cypress/e2e/drag/custos.cy.ts index 8fb78be8a..cdd148a5f 100644 --- a/cypress/e2e/drag/custos.cy.ts +++ b/cypress/e2e/drag/custos.cy.ts @@ -33,12 +33,12 @@ describe('drag: custos', () => { const CUSTOS_ID = '#m-4491f296-9c5b-4fb5-a4ec-5fb3d6ece0f8'; cy.get(CUSTOS_ID).trigger('mouseover', { force: true, timeout: 100 }); - cy.get('#neume_info').should('contain', 'F2'); + cy.get('#element_info').should('contain', 'F2'); drag(CUSTOS_ID, 0, 50); cy.get(CUSTOS_ID).trigger('mouseover', { force: true, timeout: 100 }); - cy.get('#neume_info').should('not.contain', 'F2'); + cy.get('#element_info').should('not.contain', 'F2'); // To confirm that the custos has been moved and saved in the SVG, // Check if any error from verovio has popped up in the console.