summaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/cypress/support/elements/element.input.actions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vid-webpack-master/cypress/support/elements/element.input.actions.ts')
-rw-r--r--vid-webpack-master/cypress/support/elements/element.input.actions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-webpack-master/cypress/support/elements/element.input.actions.ts b/vid-webpack-master/cypress/support/elements/element.input.actions.ts
index 4e6b5e879..b52a35ede 100644
--- a/vid-webpack-master/cypress/support/elements/element.input.actions.ts
+++ b/vid-webpack-master/cypress/support/elements/element.input.actions.ts
@@ -42,7 +42,7 @@ function focusInput(id : string) : void {
test if input with id contains some text
****************************************/
function shouldInputContainsText(id : string, text : string) : void {
- cy.getElementByDataTestsId(id).contains('text')
+ cy.getElementByDataTestsId(id).contains(text)
}
Cypress.Commands.add('typeToInput', typeToInput);