diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index fa77d082..1b467705 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -41,7 +41,7 @@ defineFeature(feature, test => { }); then('A confirmation message should be shown in the screen', async () => { - expect(page).toMatchElement("div", { text: "Usuario añadido correctamente" }); + await expect(page).toMatchElement("div", { text: "Usuario añadido correctamente" }); }); })