Files
GoMFT/scripts/install-ui-testing.sh
T
StarFleetCPTN 776c4971a6 feat: Add UI testing setup and storage provider tests
- Introduced a new script for installing UI testing dependencies, including Node.js and Playwright browsers.
- Added comprehensive tests for managing storage providers, covering creation, editing, deletion, and connection testing.
- Implemented helper functions for user login and provider management in the test setup.
- Enhanced test coverage for various storage provider types, including SFTP, FTP, SMB, S3, and cloud services.
2025-04-16 19:25:41 -07:00

19 lines
580 B
Bash
Executable File

#!/bin/bash
# Script to install UI testing dependencies
echo "Installing Node.js dependencies for UI testing..."
npm install
echo "Installing Playwright browsers..."
npx playwright install
echo "UI testing setup complete!"
echo ""
echo "You can now run UI tests with the following commands:"
echo " npm test - Run all tests"
echo " npm run test:headed - Run tests with visible browsers"
echo " npm run test:debug - Run tests in debug mode"
echo " npm run test:ui - Run tests with Playwright UI"
echo ""
echo "For more information, see tests/README.md"