diff --git a/generated_tests/testautomationpractice.blogspot.com/playwright_tests/.roost/metadata.json b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/.roost/metadata.json new file mode 100644 index 0000000..9a2744d --- /dev/null +++ b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/.roost/metadata.json @@ -0,0 +1,85 @@ +{ + "metadata_version": "1.0", + "created_at": "2026-03-26T04:10:16.823346", + "last_updated": "2026-03-26T04:10:32.297245", + "output_dir": "RoostGPT/Ui-Analyse_NEEW/e60a3c82-10ba-446c-9dc2-ffb74d9e717e/source/UI-Testing-ATID/generated_tests/testautomationpractice.blogspot.com/playwright_tests", + "site_url": "https://testautomationpractice.blogspot.com", + "pom_files": null, + "Login_File": { + "name": null, + "path": null, + "hash": null, + "agent_workflow_completed": false, + "agent_workflow_file_path": null, + "agent_interaction_file_path": null, + "agent_activity_summary": null, + "agent_activity_error": null, + "agent_activity_outcome": null, + "agent_recommendation": null, + "agent_completion_level": null, + "agent_steps_completed": null, + "execution_flow_file_path": null, + "systematic_selectors_file_path": null, + "scenario_name": null, + "scenario_file_path": null, + "test_generated": false, + "test_generation_error": null, + "test_file_path": null, + "test_executed_success": null, + "test_execution_error": null, + "pom_test_name": null, + "pom_test_file_path": null, + "pom_test_executed_success": null, + "pom_test_execution_error": null, + "pom_files": null + }, + "Workflows": [ + { + "workflow_id": "WF001", + "title": "Testautomations User Scenario", + "goal": "Testautomations User Scenario", + "feature_area": "e60a3c82-10ba-446c-9dc2-ffb74d9e717e", + "priority": "high", + "starting_hint": "# Generated Gherkin Scenarios\n# Created by Azure OpenAI Document Analyzer\n# Generated on: 2026-03-26 04:10:32\n\nFeature: End-to-end form submission workflow on Automation Testing Practice site\n\nBackground:\n Given I open the website \"https://testautomationpractice.blogspot.com/\"\n And I am on the homepage with the \"GUI Elements\" section visible\n\nScenario: Complete form submission using highlighted and marked UI elements\n When I enter the following details in the \"GUI Elements\" section:\n | Field | Value |\n | Name | Roostai |\n | Email | roostai@zb.io |\n | Phone | 9999999999 |\n | Address | Bangalore , India |\n Then the entered values should be visible in the respective fields in the \"GUI Elements\" section\n\n When I select the \"Male\" radio button in the \"Gender\" field within the \"GUI Elements\" section\n Then the \"Male\" radio button should be selected in the \"Gender\" field within the \"GUI Elements\" section\n\n When I check the following days in the \"Days\" field within the \"GUI Elements\" section:\n | Day |\n | Monday |\n | Tuesday |\n | Wednesday |\n | Thursday |\n | Friday |\n Then the selected days should be checked in the \"Days\" field within the \"GUI Elements\" section\n\n When I select \"India\" from the \"Country\" dropdown in the \"GUI Elements\" section\n Then \"India\" should be displayed as the selected country in the \"Country\" dropdown in the \"GUI Elements\" section\n\n When I select \"Yellow\" from the \"Colors\" list in the \"GUI Elements\" section\n Then \"Yellow\" should be highlighted as the selected color in the \"Colors\" list in the \"GUI Elements\" section\n\n When I select \"Dog\" from the \"Sorted List\" in the \"GUI Elements\" section\n Then \"Dog\" should be highlighted as the selected item in the \"Sorted List\" in the \"GUI Elements\" section\n\n When I enter \"17/02/2026\" in the \"Date Picker 1\" field in the \"GUI Elements\" section\n Then \"17/02/2026\" should be displayed in the \"Date Picker 1\" field in the \"GUI Elements\" section\n\n When I enter \"01/01/2026\" in the \"Date Picker 2\" field in the \"GUI Elements\" section\n Then \"01/01/2026\" should be displayed in the \"Date Picker 2\" field in the \"GUI Elements\" section\n\n When I select the date range \"10/01/2026 – 10/03/2026\" in the \"Date Picker 3\" field in the \"GUI Elements\" section\n Then the date range \"10/01/2026 – 10/03/2026\" should be displayed in the \"Date Picker 3\" field in the \"GUI Elements\" section\n\n When I click the \"Submit\" button in the \"GUI Elements\" section\n Then the form should be submitted or a confirmation message should be displayed in the \"GUI Elements\" section\n", + "discovery_source": "user_scenario", + "source_file": "/var/tmp/Roost/RoostGPT/Ui-Analyse_NEEW/e60a3c82-10ba-446c-9dc2-ffb74d9e717e/testautomations user scenario.docx", + "source_file_hash": "77dd1069b11b2f9a2340eba5c990219437554398b9ebfb40d9892bd3792aff96", + "worker_completed": false, + "worker_result": "pending", + "linked_scenario_name": null, + "error": null, + "scenario_name": null, + "scenario_file_path": null, + "scenario_summary_file_path": "scenarios/summaries/WF001_testautomations_user_scenario.md", + "report_pdf_file_path": null, + "feature_file_path": null, + "feature_file_name": null, + "agent_workflow_file_path": null, + "agent_workflow_completed": false, + "scenario_analysis_result_file_path": null, + "agent_activity_summary": null, + "agent_activity_error": null, + "agent_activity_outcome": null, + "agent_recommendation": null, + "agent_completion_level": null, + "agent_steps_completed": null, + "visited_urls": null, + "execution_flow_file_path": null, + "test_generated": false, + "test_generation_error": null, + "test_name": null, + "test_file_path": null, + "test_executed_success": null, + "test_execution_error": null, + "pom_test_name": null, + "pom_test_file_path": null, + "pom_test_executed_success": null, + "pom_test_execution_error": null, + "pom_files": null, + "test_steps": null + } + ], + "explore_focus_areas": [], + "Imported_Test_Coverage": null, + "Token_Usage": null +} \ No newline at end of file diff --git a/generated_tests/testautomationpractice.blogspot.com/playwright_tests/README.md b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/README.md new file mode 100644 index 0000000..ff80463 --- /dev/null +++ b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/README.md @@ -0,0 +1,77 @@ +# Playwright Test Suite + +## RoostGpt Generated playwright test + +This project contains Playwright-based automated tests located in the `playwright_tests` directory. + +## 📁 Directory Structure + +```bash + playwright_tests/ + ├── README.md + ├── scenarios/ + ├── scenarios_summary.md + ├── *.json (scenario files) + ├── features/ + │ ├── *.feature (feature files) + ├── tests/ + ├── package.json + ├── playwright.config.js + ├── .env.template + ├── *.spec.js (test files) + ├── test_summary.md +``` + +## 🧩 Prerequisites + +Make sure you have the following installed: + +- [Node.js](https://nodejs.org/) (version 18 or higher recommended) +- npm (comes with Node.js) + +## 📦 Setup + +1. Navigate to the Playwright tests directory: + +2. Install dependencies: + + ```bash + cd tests + cp .env.template .env + npm install + ``` + +3. Edit the `.env` file to set any required environment variables. +## 🚀 Running Tests + +To execute all Playwright tests: + +```bash +npx playwright test +``` + +You can also run a specific test file: + +```bash +npx playwright test example.spec.js +``` + +> Replace `example.spec.js` with the actual test file you want to run. + +## 📂 Test Reports + +After the tests run, Playwright will generate a report. To view the report: + +```bash +npx playwright show-report +``` + +## ⚙️ Configuration + +Test configuration is defined in `playwright.config.js`. + +You can modify settings like test directory, timeout etc., in this file. + +## 📘 More Info + +For detailed Playwright documentation, visit: [https://playwright.dev](https://playwright.dev) diff --git a/generated_tests/testautomationpractice.blogspot.com/playwright_tests/scenarios/summaries/WF001_testautomations_user_scenario.md b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/scenarios/summaries/WF001_testautomations_user_scenario.md new file mode 100644 index 0000000..fe41786 --- /dev/null +++ b/generated_tests/testautomationpractice.blogspot.com/playwright_tests/scenarios/summaries/WF001_testautomations_user_scenario.md @@ -0,0 +1,68 @@ +# Testautomations User Scenario + +> **Status**: Preview — awaiting worker execution for full scenario details + +## Overview + +| Field | Value | +|-------|-------| +| Workflow ID | WF001 | +| Feature Area | e60a3c82-10ba-446c-9dc2-ffb74d9e717e | +| Priority | high | +| Goal | Testautomations User Scenario | + +## Navigation Hint + +# Generated Gherkin Scenarios +# Created by Azure OpenAI Document Analyzer +# Generated on: 2026-03-26 04:10:32 + +Feature: End-to-end form submission workflow on Automation Testing Practice site + +Background: + Given I open the website "https://testautomationpractice.blogspot.com/" + And I am on the homepage with the "GUI Elements" section visible + +Scenario: Complete form submission using highlighted and marked UI elements + When I enter the following details in the "GUI Elements" section: + | Field | Value | + | Name | Roostai | + | Email | roostai@zb.io | + | Phone | 9999999999 | + | Address | Bangalore , India | + Then the entered values should be visible in the respective fields in the "GUI Elements" section + + When I select the "Male" radio button in the "Gender" field within the "GUI Elements" section + Then the "Male" radio button should be selected in the "Gender" field within the "GUI Elements" section + + When I check the following days in the "Days" field within the "GUI Elements" section: + | Day | + | Monday | + | Tuesday | + | Wednesday | + | Thursday | + | Friday | + Then the selected days should be checked in the "Days" field within the "GUI Elements" section + + When I select "India" from the "Country" dropdown in the "GUI Elements" section + Then "India" should be displayed as the selected country in the "Country" dropdown in the "GUI Elements" section + + When I select "Yellow" from the "Colors" list in the "GUI Elements" section + Then "Yellow" should be highlighted as the selected color in the "Colors" list in the "GUI Elements" section + + When I select "Dog" from the "Sorted List" in the "GUI Elements" section + Then "Dog" should be highlighted as the selected item in the "Sorted List" in the "GUI Elements" section + + When I enter "17/02/2026" in the "Date Picker 1" field in the "GUI Elements" section + Then "17/02/2026" should be displayed in the "Date Picker 1" field in the "GUI Elements" section + + When I enter "01/01/2026" in the "Date Picker 2" field in the "GUI Elements" section + Then "01/01/2026" should be displayed in the "Date Picker 2" field in the "GUI Elements" section + + When I select the date range "10/01/2026 – 10/03/2026" in the "Date Picker 3" field in the "GUI Elements" section + Then the date range "10/01/2026 – 10/03/2026" should be displayed in the "Date Picker 3" field in the "GUI Elements" section + + When I click the "Submit" button in the "GUI Elements" section + Then the form should be submitted or a confirmation message should be displayed in the "GUI Elements" section + +