GSUSA Digital Cookie Test Automation With WebdriverIO
🧪 Automation Test Framework This repository contains an automated testing framework designed for both local and LambdaTest cloud executions using Node.js and npm.
📥 Getting Started Follow the steps below to set up the project on your local machine and run tests:
- Clone or Pull the Latest Code from Git If you're setting up the project for the first time:
=> "git clone " => "cd " If the project already exists locally and you want to pull the latest changes:
=> "git pull origin main" Replace main with your respective branch name if you're working on a feature branch.
- Install Project Dependencies Once inside the project directory, install all required dependencies using:
=> "npm install" This will install all the packages listed in package.json.
- Run Tests You can execute tests either locally or on LambdaTest cloud platform, with or without tags.
- Refer "TEST_EXECUTIOM_GUIDE.md" OR
- Exeute following command "npm run help"
🔐 Connect with your Team Lead to obtain LambdaTest credentials and configuration details if not already available.
- View Test Report Once the test execution is completed, generate and open the Allure report using: => "allure generate allure-results --clean && allure open" This command will generate a test execution report and automatically open it in your default browser.
📊 View LambdaTest Dashboard To monitor and verify your test executions on LambdaTest, visit the following URL: 🔗 LambdaTest Automation Dashboard
📞 Support If you encounter any issues or require access credentials, please reach out to your Team Lead.
✅ Best Practices
- Ensure your local branch is always updated with the latest code from main.
- Confirm that all dependencies are installed properly before test execution.
- Use Allure reports to analyze test results and failure reasons.
- Regularly monitor the LambdaTest dashboard to ensure cloud executions are functioning correctly.