Description
<!-- ai/agent generated description -->
### TEST TITLE: Successful Login
### 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 118', 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')
})