Skip to content

Commit f8e09ca

Browse files
jenkins-botGerrit Code Review
authored andcommitted
Merge "Try to make browser test entity selection even more robust"
2 parents a42248f + 3535e74 commit f8e09ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cypress/support/pageObjects/AddStatementFormPage.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ export class AddStatementFormPage {
5050
}
5151

5252
public setSnakValue( inputText: string ): this {
53-
this.snakValueInput().type( inputText );
53+
this.snakValueInput().clear();
54+
this.snakValueInput().type( inputText, { parseSpecialCharSequences: false } );
55+
this.snakValueInput().should( 'have.value', inputText );
5456
return this;
5557
}
5658

0 commit comments

Comments
 (0)