Test automation of BMS using Playwright
-
Clone the repository:
git clone <repository-url> cd bms-e2e-playwright
-
Install dependencies:
npm install
-
Create a new .env file and specify the test parameters:
# The target server BASE_URL=https://bms-centos-1.leafnode.io # Login credentials for logging in the target server TEST_USERNAME=username TEST_PASSWORD=password # The BMS version that will be used to verify the installed version in the target server TEST_BMS_VERSION=30.2
-
Run the tests: To execute the tests "headless by default", use the following command:
npx playwright test -
Open Playwright Test Report (after execution):
npx playwright show-report