https://cypress.io logo
Unable to launch Microsoft teams app.
# i-need-help
w
I am not able to launch Microsoft teams app within the Cypress UI. I have created a Github issue regarding the same. https://github.com/cypress-io/cypress/issues/25883 Here is the code snippet : **describe('Microsoft Teams automation', () => { it('Logs in and navigates to a channel', () => { cy.visit('https://teams.microsoft.com/%27); cy.get('input[type=email]').type('your-email-address'); cy.get('input[type=password]').type('your-password'); cy.get('button[type=submit]').click(); }); });** Attached screenshot for reference. Kindly help me to proceed further.
e
remove the
%27
in your
cy.visit
If you throw that in any browser you will have the same result.
NM I see that is a copy/paste error and not what you have in github ticket.
https://github.com/cypress-io/cypress/issues/3459 could try the
modifyObstructiveCode: false
mentioned in there, or the very last comments suggestion.
w
I tried out by installing chrome extension https://chrome.google.com/webstore/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe to the cypress tests but still teams app does not load.
e
And what about adding the
modifyObstructiveCode: false
as mentioned in the article?
w
Tried it as well, did not work
2 Views