Skip to content

Commit

Permalink
clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
nstclair-cc committed Dec 24, 2024
1 parent 8c4a7b8 commit 53bd8d5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions v3/cypress/support/helpers/map-canvas-helper.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// import { AxisHelper as ah } from "./axis-helper"

export const MapCanvasHelper = {
// Helper function to locate the graph element and retrieve its dynamic ID.
getMapTileId(): Cypress.Chainable<string> {
Expand All @@ -15,18 +13,6 @@ export const MapCanvasHelper = {
return Cypress.Promise.resolve(tileId) // Ensure Cypress compatibility
})
},
// // Helper function to set an attribute for the axis and retrieve the tile ID.
// setAxisAndRetrieveTileId (attribute: string, axis: "bottom" | "left") {
// cy.log(`Set ${attribute} on ${axis} axis`)
// ah.openAxisAttributeMenu(axis)
// ah.selectMenuAttribute(attribute, axis)
// cy.wait(500)

// cy.log('Locate the graph element and retrieve its dynamic ID')
// return cy.get('[data-testid=codap-graph]')
// .parents('.free-tile-component')
// .invoke('attr', 'id')
// },
// Helper function to validate pixi metadata and point count.
validateMapPointCount(tileId: string | undefined, expectedPointCount: number) {
if (!tileId) {
Expand Down

0 comments on commit 53bd8d5

Please sign in to comment.