-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestCafe starts getting 404 errors for any pages in session #3560
Comments
I'm experiencing this as well. Just wanted to pass along, that running safari test at same time corrects issue in Chrome. Just a workaround, not a fix. |
@addisonmiller |
I was able to reproduce the issue on the sample. It's very unstable, but still fails: <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script>
function onClick () {
setTimeout(function () {
document.forms[0].submit();
}, 100);
}
</script>
<form action="http://google.com">
<input type="text" id="text"/>
<button onclick="onClick(); return false;">submit</button>
</form>
</body>
</html> import { Selector } from 'testcafe';
fixture`fixture`
.page`...`;
for (let i = 0; i < 10; i++) {
test('1', async t => {
await t.typeText('input', '12345');
await t.click('button');
});
test('2', async t => {
await t.wait(5000);
});
} |
This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow. |
https://supportcenter.devexpress.com/internal/ticket/details/T723455
What is your Test Scenario?
Test a page that submits a form.
What is the Current behavior?
After the form is submitted, the browser shows the 404 error. Trying to manually open any page in the current session will also lead to the 404 error.
What is the Expected behavior?
The page is shown after the form is submitted.
What is your web application and your TestCafe test code?
Check the origin ticket link.
Your Environment details:
The text was updated successfully, but these errors were encountered: