diff --git a/test/features/support/world.ts b/test/features/support/world.ts index c1127dc7f..b848f643d 100644 --- a/test/features/support/world.ts +++ b/test/features/support/world.ts @@ -78,6 +78,10 @@ function CustomWorld() { return that.driver.findElement(seleniumWebdriver.By.id("username")) .sendKeys(username); }) + .then(function () { + return that.driver.findElement(seleniumWebdriver.By.id("password")) + .clear(); + }) .then(function () { return that.driver.findElement(seleniumWebdriver.By.id("password")) .sendKeys(password);