@vigneshwar-v, while we are working on this problem, you can install testcafe@0.20.0-alpha.2 (npm install -g testcafe@0.20.0-alpha.2
) and use the following workaround (tested with Chrome, Firefox, Edge on Windows 10):
import { Selector, ClientFunction } from 'testcafe';
// Location reload
const locationReload = ClientFunction(() => window.location.reload());
const pageUrl = 'https://www.freshworks.com/marketing-automation/conversion-rate-optimization/?fworks_navbar';
const loginInput = Selector('input[type=email]');
const passwordInput = Selector('input[type=password]');
const login = 'login';
const password = 'password';
fixture `Location reload workaround`
.page(pageUrl);
test('Login test', async t => {
await t
.maximizeWindow()
.click(Selector('li').withText('Log In'));
// Add `locationReload` after login page navigation
await locationReload();
await t
.typeText(loginInput, login)
.typeText(passwordInput, password)
.click(Selector('.login-button'));
await t
.wait(100000000);
});