Skip to content

Commit

Permalink
Rename neume_info to element_info in test files
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Dec 3, 2023
1 parent 8e98924 commit 2498c9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/displace.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand All @@ -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', () => {
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/drag/custos.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2498c9a

Please sign in to comment.