Login Page 120 S67ada7c5→

0 1 0
first smoke tag_A user_flow

Tests (1)

A

Login page 120 T16c755b9→

Tags
first smoke tag_A user_flow
Description
<!-- ai/agent generated description -->
### TEST TITLE: Successful Login  
### TEST SUITE: Login Page  

### Preconditions
* Navigate to the login page of the application

### Steps
1. Enter a valid email and password in the respective fields.
2. Submit the login form.
3. Verify that the login is successful.

### Expected Result
* The user is logged in successfully, and the application displays the expected element (`#company_id`).
* A screenshot is captured after successful login.
Code
Scenario ('Login page 120', async ({ I }) => {
  I.say('I will go to login page now');
  I.amOnPage('https://beta.testomat.io');
  I.say('I fulfilled field a password and email');
  I.fillField('#user_email', email);
  I.fillField('#user_password', password);
  I.pressKey('Enter');
  I.say('I am logged in now');
  I.waitForElement('#company_id', 30);
  I.saveScreenshot('login-page.png')
})