Merge from ecomp 718fd196 - Modern UI
Issue-ID: VID-378
Change-Id: I2736b98426e324ec3aa233b034229ba84d99839f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
diff --git a/vid-webpack-master/cypress/support/steps/drawingBoard/drawingBoardModel.steps.ts b/vid-webpack-master/cypress/support/steps/drawingBoard/drawingBoardModel.steps.ts
index b2b48b2..7854899 100644
--- a/vid-webpack-master/cypress/support/steps/drawingBoard/drawingBoardModel.steps.ts
+++ b/vid-webpack-master/cypress/support/steps/drawingBoard/drawingBoardModel.steps.ts
@@ -2,6 +2,7 @@
interface Chainable {
drawingBoardPressAddButtonByElementName: typeof drawingBoardPressAddButtonByElementName,
drawingBoardNumberOfExistingElementsShouldContains: typeof drawingBoardNumberOfExistingElementsShouldContains
+ getDrawingBoardDeployBtn: typeof getDrawingBoardDeployBtn
}
}
@@ -13,5 +14,10 @@
cy.getElementByDataTestsId('numberButton').contains(expectedElements);
}
+function getDrawingBoardDeployBtn() : Chainable<any> {
+ return cy.getElementByDataTestsId('deployBtn');
+}
+
Cypress.Commands.add('drawingBoardPressAddButtonByElementName', drawingBoardPressAddButtonByElementName);
Cypress.Commands.add('drawingBoardNumberOfExistingElementsShouldContains', drawingBoardNumberOfExistingElementsShouldContains);
+Cypress.Commands.add('getDrawingBoardDeployBtn', getDrawingBoardDeployBtn);