Browse Source

CURA-6201 - Added an id to stage buttons for the integration tests

Satish 6 years ago
parent
commit
4a0bb43e39
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/qml/MainWindow/MainWindowHeader.qml

+ 2 - 0
resources/qml/MainWindow/MainWindowHeader.qml

@@ -67,6 +67,8 @@ Item
 
                 property color overlayColor: "transparent"
                 property string overlayIconSource: ""
+                // This id is required to find the stage buttons through Squish
+                property string stageId: model.id
 
                 // This is a trick to assure the activeStage is correctly changed. It doesn't work propertly if done in the onClicked (see CURA-6028)
                 MouseArea