There is a way to handle httpAuth in testCafe, http://devexpress.github.io/testcafe/documentation/test-api/authentication/http-authentication.html , I am trying to test a site which first I have to go through httpAuth. The mentioned function is for fixture. How I should handle httpAuth inside a cucumber step definition? An example much appreciated.
My stepdef is similar to
Given('The page is loaded', async function () { await testController.navigateTo('http://example.com').httpAuth({ username: 'logmein', password: 'test123' }) });
And I am getting
TypeError: testController.navigateTo(...).httpAuth is not a function