Task Description Launch URL: https://www.saucedemo.com/
UC-1: Test Login form with empty credentials Type any credentials into "Username" and "Password" fields. Clear the inputs. Hit the "Login" button. Check the error message: "Username is required".
UC-2: Test Login form with credentials by passing Username Type any credentials in username. Enter password. Clear the "Password" input. Hit the "Login" button. Check the error message: "Password is required".
UC-3: Test Login form with credentials by passing Username & Password Type credentials in username which are under accepted username sections. Enter password as secret_sauce. Click on Login and validate the title "Swag Labs" in the dashboard.
Additional Requirements: Provide parallel execution. Add logging for tests. Use Data Provider to parametrize tests. Make sure that all tasks are supported by these 3 conditions: UC-1, UC-2, UC-3. Add task description as README.md into your solution.
To perform the task use the various additional options: Test Automation tool: Selenium WebDriver Project Builder: Maven Browsers: Firefox, Chrome Locators: CSS Test Runner: TestNG Optional Patterns: Singleton, Adapter, Strategy Test automation approach: BDD Assertions: AssertJ Loggers: SLF4J