Bug
When I go to http://aperture.synacor.net or https://aperture.synacor.net , the modal popup is not displayed. I'm unable to continue with my tests. (see bug screenshot below)

The modal popup should be displayed. (see expected screenshot below)

Run test in Chrome, Safari, Firebox. (Remember to clear cache to see the modal again if user already clicked modal once)
Tested page URL: http://aperture.synacor.net , https://aperture.synacor.net , https://start.toshiba.com/ ,
Test code
import { Selector } from 'testcafe';
fixture `Test fixture`
.page(`https://aperture.synacor.net`);
test('Click close button to dismiss modal', async t => {
await t.click(Selector('.modal__email-campaign').find('.close'));
});
Hi @sijosyn
Thank you for the detailed description. I've reproduced the problem.
Hi @sijosyn,
This issue is related to https://github.com/DevExpress/testcafe-hammerhead/issues/1380.
The tested site sends two requests:
http://aperture.synacor.net/_/?_uri=component%3A%2F%2FSynacor%2FGen4%2FConfiguration%2FComponents%2FWeather%2F%3Fparse_active%3D0&_action=locate
and
http://aperture.synacor.net/_/?_uri=component%3A%2F%2FSynacor%2FGen4%2FConfiguration%2FComponents%2FModal%2FEmailCampaign%2F&_action=display
These requests are received with a wrong body if headers are lowercased.
Thanks @LavrovArtem, @miherlosev for investigating & fixing this issue quickly. Nice job. Let me know here the TestCafe version that will be available with this fix.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.
Most helpful comment
Hi @sijosyn
Thank you for the detailed description. I've reproduced the problem.