Skip to content
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

Logging doesn't work on https://www.soudfa.com/signup #1385

Closed
helen-dikareva opened this issue Nov 24, 2017 · 4 comments
Closed

Logging doesn't work on https://www.soudfa.com/signup #1385

helen-dikareva opened this issue Nov 24, 2017 · 4 comments
Assignees
Labels
!IMPORTANT! STATE: Auto-locked Issues that were automatically locked by the Lock bot TYPE: bug

Comments

@helen-dikareva
Copy link
Collaborator

Based on question
It can be reproduced via hammerhead-playground by execution following steps

await t
            .click('button.facebook')
            .typeText('#email', 'email, { replace: true })
            .typeText('#pass', 'password', { replace: true })
            .click('#loginbutton') //nothing happends after it
@LavrovArtem
Copy link
Contributor

This is duplicate of DevExpress/testcafe#912

@MohamedRasool786
Copy link

@LavrovArtem

I have faced issue while clicking on a #googleSignInn button. It doesn't redirect to the google POPUP page.Below I attached my code

Expected Behaviour is to give my credentials in google popup page and then it should redirect to my homesite.

Thanks in advance

`import { ClientFunction, Role, Selector } from 'testcafe';

const patchAuth = ClientFunction(() => {
window['op' + 'en'] = function (url) {
var iframe = document.createElement('iframe');

    iframe.style.position = 'fixed';
    iframe.style.left = '100px';
    iframe.style.top = '150px';
    iframe.style.width = '600px';
    iframe.style.height = '600px';
    iframe.style['z-index'] = '99999999';;		
    iframe.src = url;
    iframe.id = 'auth-iframe';

    document.body.appendChild(iframe);
};

});

const googleAccUser = Role('https://merida-web.herokuapp.com/', async t => {
await patchAuth();

await t
    .click("#LoggIn")
    .click("#googleSignInn")  
    .switchToIframe('#auth-iframe')
    .typeText('#identifierId', '[email protected]')
     .click("#identifierNext")
     .typeText('#password', 'maduraiboys007')
     .click("#passwordNext")
    .switchToMainWindow();

await Selector('#page-header-top-menu')();

});

fixture Merida E2E Testing
.page https://merida-web.herokuapp.com/
.beforeEach(async t => await t.useRole(googleAccUser));

test('first test', async t => {
await t.click(Selector('.dashboard-tab').nth(2));
});`

@LavrovArtem
Copy link
Contributor

@lock
Copy link

lock bot commented Mar 28, 2019

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.

@lock lock bot added the STATE: Auto-locked Issues that were automatically locked by the Lock bot label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
!IMPORTANT! STATE: Auto-locked Issues that were automatically locked by the Lock bot TYPE: bug
Projects
None yet
Development

No branches or pull requests

5 participants