{"id":48729455,"url":"https://github.com/mr-tanzim-ahmed/wordpress-plugin-automation-testing","last_synced_at":"2026-04-12T01:00:25.007Z","repository":{"id":326923399,"uuid":"1107161679","full_name":"mr-tanzim-ahmed/wordpress-plugin-automation-testing","owner":"mr-tanzim-ahmed","description":"\"Automated testing suite for the Flextable WordPress plugin. Focuses on verifying table creation, data integrity, and UI responsiveness using Selenium and TestNG.\"","archived":false,"fork":false,"pushed_at":"2025-12-07T12:00:59.000Z","size":14829,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T01:00:00.671Z","etag":null,"topics":["automated-testing","gradle-java","java","selenium-webdriver","testng","wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-tanzim-ahmed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-30T17:38:19.000Z","updated_at":"2025-12-07T12:01:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mr-tanzim-ahmed/wordpress-plugin-automation-testing","commit_stats":null,"previous_names":["mr-tanzim-ahmed/wordpress-plugin-automation-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mr-tanzim-ahmed/wordpress-plugin-automation-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-tanzim-ahmed%2Fwordpress-plugin-automation-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-tanzim-ahmed%2Fwordpress-plugin-automation-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-tanzim-ahmed%2Fwordpress-plugin-automation-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-tanzim-ahmed%2Fwordpress-plugin-automation-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-tanzim-ahmed","download_url":"https://codeload.github.com/mr-tanzim-ahmed/wordpress-plugin-automation-testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-tanzim-ahmed%2Fwordpress-plugin-automation-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31700616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"ssl_error","status_checked_at":"2026-04-11T21:17:24.556Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-testing","gradle-java","java","selenium-webdriver","testng","wordpress","wordpress-plugin"],"created_at":"2026-04-12T01:00:17.972Z","updated_at":"2026-04-12T01:00:25.002Z","avatar_url":"https://github.com/mr-tanzim-ahmed.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧪 WordPress Plugin Automation Testing (Flextable)\n\nWordpress automated testing framework designed for the **Flextable WordPress Plugin**. This project uses **Selenium WebDriver** and **TestNG** to validate table creation, data integrity, and UI responsiveness on a local WordPress environment.\n\n## 📋 Test Plan\n![FlexTable Automation Test Plan](https://github.com/mr-tanzim-ahmed/wordpress-plugin-automation-testing/blob/fc69833d62257af31126d3b32082a5c6e7712995/testPlan.png)\n\n## 📋 Prerequisites\n\nBefore running the project, ensure your environment is set up:\n\n*   **OS:** Windows / Mac / Linux\n*   **WordPress:** Latest version (Running via Local WP)\n*   **Java:** JDK 17\n*   **IDE:** IntelliJ IDEA\n*   **Build Tool:** Gradle\n*   **Browsers:** Chrome, Firefox\n\n## ⚙️ Installation\n\n**1. Clone the repository**\n\n```\ngit clone https://github.com/mr-tanzim-ahmed/wordpress-plugin-automation-testing.git\n```\n2. Add Dependencies\n   Ensure your build.gradle file includes the following:\n```\n   dependencies {\n   implementation 'org.seleniumhq.selenium:selenium-java:4.25.0'\n   testImplementation 'org.testng:testng:7.10.2'\n   testImplementation 'com.aventstack:extentreports:5.1.2'\n   testImplementation 'io.github.cdimascio:java-dotenv:5.2.2'\n   }\n```\n## 2. Open the Project\n\n1. Open **IntelliJ IDEA**.\n2. Select **Open** and choose the cloned project folder.\n3. Allow Gradle to sync and download dependencies.\n\n---\n\n## 🔑 Configuration\n\n\u003e You can run tests using your own WordPress environment credentials. Configure your environment using either **Properties** or **.env**.\n\n**Option A (Properties):**  \nUpdate the `src/test/resources/config.properties` file with your environment and test data.\n\n**Option B (.env):**  \nCreate a `.env` file in the root directory to store sensitive credentials safely.\n\n**Required Configuration Values:**\n\n1. **WordPress Setup**\n    - Install **LocalWP** and create a WordPress site.\n    - Click **SSL: Trust** for HTTPS.\n    - Go to the WordPress **Admin page**.\n\n2. **Admin \u0026 Site Info**\n    - Admin page URL\n    - Admin username\n    - Admin password\n    - Home page URL\n    - Test page slug\n\n3. **Test Data**\n    - Google Sheet link (optional)\n    - CSV file link (optional)\n    - Test table title\n    - Test page title and slug (similar to title)\n    - Test table description\n\n4. **Browser Selection**\n    - Browser to use: `chrome` or `firefox`\n\n\u003e Once these values are set, the tests will run on your local WordPress environment using the specified pages, credentials, and browser settings.\n\n\n---\n\n## 🚀 How to Run Tests\n\n1. Navigate to the resources folder in the project view:  \n   `src/test/resources/`\n2. Locate the test suite file:  \n   `regressionSuiteForFlexTablePluginWithReport.xml`\n3. Right-click on the file and select **Run '...xml'**.\n\n---\n\n## 🔄 CI/CD\n\nThe automation suite is integrated with **GitHub Actions**. Here’s the workflow process:\n\n1. **Trigger:** Runs automatically on push or pull requests to the `main` branch.\n2. **Checkout Code:** Retrieves the latest code from the repository.\n3. **Setup Environment:**\n    - Installs **JDK 17**\n    - Installs **Google Chrome** and **ChromeDriver**\n    - Sets up **Gradle**\n4. **Build Project:** Compiles the project using Gradle.\n5. **Run Tests:** Executes the TestNG suite and generates **Extent Reports**.\n6. **Serve Report (Optional):** Extent Reports can be served locally via a simple HTTP server for review.  \n\n## Testing report:\n\u003cpre\u003e \u003ccode\u003e \nbuild\n  ├── extendReportForFlexTable\n              └── Report.html\n\u003c/code\u003e \u003c/pre\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-tanzim-ahmed%2Fwordpress-plugin-automation-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-tanzim-ahmed%2Fwordpress-plugin-automation-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-tanzim-ahmed%2Fwordpress-plugin-automation-testing/lists"}