-
Notifications
You must be signed in to change notification settings - Fork 161
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
redirect after iFrame dosen't happening #1825
Comments
Hi @sebokgabor84, I've reproduced the issue, and need some time to investigate it. Now it looks like a bug in TestCafe. |
@AndreyBelym Thanks for the feedback! |
Hey @AndreyBelym, I'm having the same issue where the |
I'm working on this |
Just curious if there's an update on this issue. I would love to start using TestCafe again on my project :) |
You can start using TestCafe in your project. The case described in the issue is not related to iframes. I am investigating this now and can say that this scenario is quite rare. |
yeah.... that's exactly our problem :\ it's a auth redirect flow through an iFrame |
…DevExpress#1864) * fix `redirect after iFrame doesn't happening` (close DevExpress#1825) * part2 * fix tests * add test * fix errors * fix returned value
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. |
Are you requesting a feature or reporting a bug?
Maybe it is a bug, I'm not sure, I just want to try testcafe...
What is the current behavior?
I want to build a login script, after login via iFrame the redirect dosen't happening and I will get a 404 page, this is my test script:
import { Selector } from 'testcafe';
import {ClientFunction} from 'testcafe'
fixture
Getting Started
// declare the fixture.page
https://www.aboutyou.de/
; // specify the start page//then create a test and place your code there
test('Login test with new User', async t => {
const getLocation = ClientFunction(() => window.location.href);
});
What is the expected behavior?
I should be redirected to the main page.
If I'm doing a manually log in after the iFrame I will go trough this redirects:
Status Code URL IP Page Type Redirect Type Redirect URL
302 https://checkout.aboutyou.de/oauth/success ...* server_redirect temporary https://www.aboutyou.de/oauth?state=*
200 https://www.aboutyou.de/oauth?state=* ...* client_redirect javascript https://www.aboutyou.de/
200 https://www.aboutyou.de/ ...* normal none none
How would you reproduce the current behavior (if this is a bug)?
please try my provided script
Provide the test code and the tested page URL (if applicable)
it is in the "What is the current behavior?" section
Tested page URL:
https://www.aboutyou.de/
Test code
Specify your
The text was updated successfully, but these errors were encountered: