-
Notifications
You must be signed in to change notification settings - Fork 677
Description
What is your Test Scenario?
Via automation tried to navigate to create firm/ create contact layout
What is the Current behavior?
Error on opening the page via test cafe
[Cannot read property 'hammerhead|event|internal-blur' of null]
_ cancelInternalEvents()@http://192.168.0.9:52557/hammerhead.js:13:27910
{anonymous}()@http://192.168.0.9:52557/hammerhead.js:12:6
HTMLElement.dispatchEvent()@http://192.168.0.9:52557/hammerhead.js:13:27061
me.handleBlur()@https://preqin--uat.lightning.force.com/components/lightning/input.js:1:35128
What is the Expected behavior?
The page should load successfully and the user able to add the details
What is your web application and your TestCafe test code?
https://preqin--uat.lightning.force.com/
Debug Logs: [Cannot read property 'hammerhead|event|internal-blur' of null] _ cancelInternalEvents()@http://192.168.0.9:52557/hammerhead.js:13:27910 {anonymous}()@http://192.168.0.9:52557/hammerhead.js:12:6 HTMLElement.dispatchEvent()@http://192.168.0.9:52557/hammerhead.js:13:27061 me.handleBlur()@https://preqin--uat.lightning.force.com/components/lightning/input.js:1:35128 import { Selector } from 'testcafe';
fixture New Fixture
.page Env Url;
test('New Test', async (t: TestController) => {
await t
.click('#username')
.typeText('#username', '*')
.click('#password')
.typeText('#password', '')
.click('#Login')
.click(Selector('button').withText('Show Navigation Menu'))
.click(Selector('#navMenuList span').withText('Firms').nth(1))
.click(Selector('#brandBand_1 div').withText('New').nth(7))
.click(Selector('#brandBand_2 span').withText('Next'))
.wait(8000);
});
New Fixture.page
Env Url;await t
.click('#username')
.typeText('#username', '*')
.click('#password')
.typeText('#password', '')
.click('#Login')
.click(Selector('button').withText('Show Navigation Menu'))
.click(Selector('#navMenuList span').withText('Firms').nth(1))
.click(Selector('#brandBand_1 div').withText('New').nth(7))
.click(Selector('#brandBand_2 span').withText('Next'))
.wait(8000);
});
Screenshots:
Steps to Reproduce:
- Go to my website ...
- Navigate to FIrm/Contact page
- Click on new
- See the error (Viewed only via automation)
Your Environment details:
- testcafe version: <1.15.2>
- node.js version: <v12.18.2>
- command-line arguments:
- browser name and version: <Version 92.0.4515.131>
- platform and version: < Windows>
- other: