Skip to content

Commit

Permalink
fixup! fixup! fixup! feat: display captcha component according to the…
Browse files Browse the repository at this point in the history
… related ICM captcha service (#200)
  • Loading branch information
dhhyi committed May 18, 2020
1 parent ea45359 commit 8b2ec73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/cypress/integration/framework/index.ts
Expand Up @@ -38,10 +38,10 @@ export function fillFormField(parent: string, key: string, value: number | strin
if (tagName === 'INPUT') {
const inputField = cy.get(`[data-testing-id="${key}"]`);
inputField.clear();
inputField.focus();
if (value) {
inputField.type(value.toString());
}
inputField.focus();
inputField.blur();
} else if (tagName === 'SELECT') {
if (typeof value === 'number') {
Expand Down

0 comments on commit 8b2ec73

Please sign in to comment.