Skip to content
Snippets Groups Projects
Commit 2aa54c76 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#596 - redirect hotkey

parent 2f1e1805
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ Mousetrap.bind('r', function()
{
if(areHotKeysEnabled())
{
window.location.href = rootURL + '/transactions/newTransaction/repeating';
window.location.href = rootURL + '/transactions/newTransaction/normal';
}
});
......
......@@ -69,7 +69,8 @@ class HotkeyTest extends SeleniumTestBase
WebDriverWait wait = new WebDriverWait(driver, 5);
wait.until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("form[name='NewTransaction']")));
assertThat(driver.getCurrentUrl()).endsWith("/newTransaction/repeating");
assertThat(driver.getCurrentUrl()).endsWith("/newTransaction/normal");
// TODO: assert that repeating options are shown automatically
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment