Hi TestCafe devs,
Could one of you please investigate this issue for us? The SelectText is not working in our app (test script and GIF provided below). Text is not getting highlighted. I'll provide the username & password to @amoskovkin, @MarinaRukavitsyna, @helen-dikareva privately as our app is still in beta mode.
We are using TestCafe v0.19.1 and also tried v0.18.6. Seeing the same using both.
Device: Mac 10.13.3
Browser: Chrome 65
https://gyazo.com/97ea5d0bd582ac38bffc315e770cc07a
import { Selector } from 'testcafe';
fixture `Zimbra Email Client`
.page `https://zimbra-app.netlify.com`;
test('Select Text not working', async t => {
await t
// Enter email address
.typeText('input[type="text"]', name)
// Enter password
.typeText('input[type="password"]', password)
// Click login button
.click('.zimbra-client_login_buttons button');
// Click 'Sign In' button
await t.click('.zimbra-client_compose-button_composeButton');
let emailBodyText = 'Thanks for using Zimbra Email.';
// Enter type in compose area
await t.typeText(Selector('.zimbra-client_gui-rich-text-area_relative').find('p'), emailBodyText);
// Select text
await t.selectText(Selector('.zimbra-client_gui-rich-text-area_relative').find('p'), 0, emailBodyText.length);
// Select 'Bold' from toolbar to make text bold
await t.click(Selector('.zimbra-client_gui-rich-text-area_components_toolbar_middle').find('button').withAttribute('title', 'Bold'));
// Check text is Bold
await t.expect(Selector('.zimbra-client_gui-rich-text-area_relative').find('b').exists).ok();
});