This repository contains Functionality automation tests for Last.fm website using Selenium WebDriver.
- FakeLoginTest - Simulates login to Last.fm
- LoginTest - Verifies successful login to Last.fm
- LoginCheckTest - Verifies that user is logged in
- AddPlaylistTest - Adds a new playlist
- EditDetailsOfPlaylistTest - Edits name and description of a playlist
- AddTrackInPlaylistTest - Adds tracks to a playlist
- RemoveSongFromPlaylistTest - Removes a track from a playlist
- DeletePlaylistTest - Deletes a playlist
- LogOutTest - Logs out from Last.fm
- Java
- Selenium WebDriver
- TestNG
- Maven
- Clone the repository
- Install Java, Maven and ChromeDriver
- Run
mvn clean test
on the command line - Test report will be generated in
target/surefire-reports/
folder
HTML reports are generated using TestNG. Open index.html
file in target/surefire-reports/
to view the test run and results.
- Add more test scenarios to cover major functionality
- Add logs using a logging framework like Log4J
- Integrate with a CI/CD pipeline
- Add screenshots on failure
- Add data driven testing
- Improve test reliability using Page Object Model
Please feel free to raise an issue for any bugs or suggestions.