0

Screenshot from Cypress runner

1

describe('Microsoft Teams automation', () => {
  it('Logs in and navigates to a channel', () => {
    cy.visit('https://teams.microsoft.com/');

    cy.get('input[type=email]').type('your-email-address');
    cy.get('input[type=password]').type('your-password');
    cy.get('button[type=submit]').click();


  });
});

Email and password fields are not getting detected.

vimuth
  • 5,064
  • 33
  • 79
  • 116
  • From the looks of the screenshot, the msteams page isn't loaded, so yeah it can't find the elements if the webpage doesn't display them. – DJSDev Feb 20 '23 at 15:28

0 Answers0