diff --git a/cypress/e2e/functional/tile_tests/geometry_tool_spec.js b/cypress/e2e/functional/tile_tests/geometry_tool_spec.js index d468d52b92..566c6138d3 100644 --- a/cypress/e2e/functional/tile_tests/geometry_tool_spec.js +++ b/cypress/e2e/functional/tile_tests/geometry_tool_spec.js @@ -195,16 +195,16 @@ context('Geometry Tool', function () { // Label the polygon geometryToolTile.getGraphPolygon().click(50, 50, { force: true, }); geometryToolTile.getSelectedGraphPoint().should('have.length', 3); - geometryToolTile.getGraphPointLabel().contains('12.5').should('not.exist'); + geometryToolTile.getGraphPointLabel().contains('12.').should('not.exist'); geometryToolTile.getGraphPointLabel().contains('ABC').should('not.exist'); clueCanvas.clickToolbarButton('geometry', 'label'); geometryToolTile.getModalTitle().should('contain.text', 'Polygon Label/Value'); geometryToolTile.chooseLabelOption('length'); - geometryToolTile.getGraphPointLabel().contains('12.5').should('exist'); + geometryToolTile.getGraphPointLabel().contains('12.').should('exist'); clueCanvas.clickToolbarButton('geometry', 'label'); geometryToolTile.getModalLabelInput().should('have.value', 'ABC'); geometryToolTile.chooseLabelOption('label'); - geometryToolTile.getGraphPointLabel().contains('12.5').should('not.exist'); + geometryToolTile.getGraphPointLabel().contains('12.').should('not.exist'); geometryToolTile.getGraphPointLabel().contains('ABC').should('exist'); clueCanvas.clickToolbarButton('geometry', 'label'); geometryToolTile.chooseLabelOption('none'); diff --git a/docs/unit-configuration.md b/docs/unit-configuration.md index de3b2487bb..a6307bebc0 100644 --- a/docs/unit-configuration.md +++ b/docs/unit-configuration.md @@ -185,12 +185,12 @@ Common toolbar framework. Default buttons: - `upload`: allows uploading an image to display in the background - `duplicate`: copies the currently selected objects - `label`: opens dialog to choose the type of label for selected object -- `comment`: adds a label to the currently selected object - `add-data`: link or unlink from a dataset - `delete`: delete the currently selected objects Available buttons not in default set: +- `comment`: adds a text callout to the currently selected object - `movable-line`: creates a line that can be positioned #### Graph diff --git a/src/clue/app-config.json b/src/clue/app-config.json index c667d621d4..67618182e1 100644 --- a/src/clue/app-config.json +++ b/src/clue/app-config.json @@ -293,7 +293,6 @@ "upload", "duplicate", "label", - "comment", "|", "add-data", "|",