This is a demo application for the purpose of SAP DevMeetup 2024, where we showed the use of different types of automated tests on the frontend part of the application.
main
branch serves as the starting point for this demo.
Contains
- application code, which may or may not always be the final version
- Preparation for running tests both locally and within the CI Pipeline, so that we don't get bogged down with configuration during the presentation
- all the dependencies that will be needed in later phases, so that you can switch freely between branches without installing dependencies
Not included
- The tests themselves
- Some code modifications required to run the tests successfully
To demonstrate how the tests could be added into this application, there are several open Pull Requests, each containing partial support of automated tests.
Final version of this app with all tests etc. can be found in the final branch of this repository.
Simply run npm install
to install all dependencies and then npm run dev
to start the application. The app itself runs at http://localhost:5173/
As this is purely to demonstrate the testing principles, the UI and logic is very simple and far from any basic real world applications.
First page contains the Login form where user can put their credentials. There are 2 hardcoded users
- user:
admin
, password:admin
- user:
user
, password:user

In case of wrong credentials, proper message is shown to the user

After successful login, user can access the User Portal
