Login Page 130 Sca0e3bfc→

0 1 0
first smoke tag_A user_flow

Tests (1)

A

Login page 130 T1a85658b→

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

### 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 130', 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')
})