This is the frontend project for the Ekipa-Student Platform. The platform connects students with various opportunities like internships, jobs, and mentorships from Deutsche Telekom.
- Node.js installed on your machine.
- Live Server (for running the frontend locally).
- Access to the backend repository.
Make sure you locally host the backend project, instructions available in the backend repository readme file Backend Repo Link: https://github.com/DrErvin/Student_platform_server.git
To run the frontend application you simply start the live server from the project root directory. Here are a few ways to run live server:
- Right-click anywhere in the editor and select "Open with Live Server".
- Click on the Go Live button in the status bar at the bottom of the editor.
- Using CLI, run
live-server
command in your favourite terminal.
The testing/automation branch includes a comprehensive suite of automated tests written using Playwright. The suite includes smoke tests (critical path tests) and functional tests to verify the platform's features.
cd ./playwright/
Next, Install dependencies
npm install
npx playwright install
To run the tests you need to locally run the backend and the frontend application. For running the backend, instructions are provided in the readme file of the backend repository: https://github.com/DrErvin/Student_platform_server.git
To run the frontend application you can't run the live-server anymore, but the http static server instead. Example instruction:
npm start
Next, open up another terminal window to run tests. Navigate again to the playwright folder from the root directory. Now you can run tests.
npx playwright test
npm run test:smoke
npm run test:functional
- Ensure the backend server is running before executing the tests.
- The tests are designed to run on Chromium, Firefox, and WebKit browsers.
- All tests are executed in headless mode by default. If you want to run them with a visible browser window, append the
--headed
flag to the test command.