Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"login_scenario": "Skipped",
"workflow_completed": true,
"workflow_result": "PASS",
"workflow_error": "",
"login_agent_activity_summary": "Not available",
"user_scenario_agent_activity_summary": [
"Agent navigated to the Automation Testing Practice homepage and systematically interacted with the GUI Elements section. The agent entered valid data into the Name, Email, Phone, and Address fields, selected 'Male' for Gender, checked all specified weekdays, and chose 'India' from the Country dropdown. The agent proceeded to select 'Yellow' from the Colors list and 'Dog' from the Sorted List. Date Picker fields were populated with the required dates and ranges. The agent then clicked the Submit button to submit the form. After submission, the agent attempted to capture visible confirmation messages but found none."
],
"generated_files": {
"feature_files": [],
"json_files": []
},
"scenarios": {},
"token_usage": {
"total": {
"input": 777484,
"output": 33080,
"total": 810564,
"cost": 1.0871279999999999,
"cached_input": 488320
},
"sessions": {
"main_execution": {
"type": "root",
"input": 0,
"output": 0,
"total": 0,
"cost": 0.0,
"cached_input": 0,
"call_count": 0,
"start_time": 1773663190.9903395,
"end_time": 1773664636.996747,
"duration": 1446.0064074993134
},
"extraction_agent": {
"type": "auto_created",
"input": 513045,
"output": 10686,
"total": 523731,
"cost": 0.652314,
"cached_input": 306176,
"call_count": 25,
"start_time": 1773663228.5369792,
"end_time": null,
"duration": null
},
"scenario_llm": {
"type": "auto_created",
"input": 12003,
"output": 7174,
"total": 19177,
"cost": 0.081398,
"cached_input": 0,
"call_count": 1,
"start_time": 1773664247.4087706,
"end_time": null,
"duration": null
},
"pom_gen_standalone_analyzer": {
"type": "test_generation",
"input": 50133,
"output": 3692,
"total": 53825,
"cost": 0.072202,
"cached_input": 38400,
"call_count": 4,
"start_time": 1773664247.4880528,
"end_time": null,
"duration": null
},
"llm_call": {
"type": "auto_created",
"input": 15852,
"output": 1471,
"total": 17323,
"cost": 0.043472,
"cached_input": 0,
"call_count": 2,
"start_time": 1773664325.6359432,
"end_time": null,
"duration": null
},
"test_gen_pom_automation_practice_form___complete_user_journey": {
"type": "test_generation",
"input": 50145,
"output": 1352,
"total": 51497,
"cost": 0.056962,
"cached_input": 36096,
"call_count": 4,
"start_time": 1773664331.6511939,
"end_time": null,
"duration": null
},
"code_repair_automation_practice_form___complete_user_journey_pom.noauth.spec.js": {
"type": "code_repair",
"input": 136306,
"output": 8705,
"total": 145011,
"cost": 0.18078,
"cached_input": 107648,
"call_count": 8,
"start_time": 1773664441.3235667,
"end_time": 1773664636.9542391,
"duration": 195.63067245483398
}
},
"provider": "azure_open_ai",
"model": "gpt-4.1",
"timestamp": "2026-03-16T12:37:16.997195",
"cache_statistics": {
"total_cached_tokens": 488320,
"cache_hit_rate_percent": 62.8
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"metadata_version": "1.0",
"created_at": "2026-03-16T12:13:10.983404",
"last_updated": "2026-03-16T12:37:16.988024",
"pom_files": [
{
"url": "https://testautomationpractice.blogspot.com/",
"file_name": "HomePage.js",
"file_path": "/var/tmp/Roost/RoostGPT/Ui-Analyse/725e717c-1847-4812-8615-237634162ab5/source/UI-Testing-ATID/generated_tests/testautomationpractice.blogspot.com/playwright_tests/pom_tests/pom/HomePage.js"
}
],
"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,
"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
},
"User_Scenarios_File": [
{
"name": "testautomations user scenario.docx",
"path": "/var/tmp/Roost/RoostGPT/Ui-Analyse/725e717c-1847-4812-8615-237634162ab5/testautomations user scenario.docx",
"hash": "77dd1069b11b2f9a2340eba5c990219437554398b9ebfb40d9892bd3792aff96",
"agent_workflow_completed": true,
"agent_workflow_file_path": "/var/tmp/Roost/RoostGPT/Ui-Analyse/725e717c-1847-4812-8615-237634162ab5/temp_info/testautomationpractice.blogspot.com/extracted_data/interaction_data_f2ed8e7ad04d5db2d657f075803deb92ed3b994b35442cf1516f46b03ae769d0.json",
"agent_activity_summary": [
"Agent navigated to the Automation Testing Practice homepage and systematically interacted with the GUI Elements section. The agent entered valid data into the Name, Email, Phone, and Address fields, selected 'Male' for Gender, checked all specified weekdays, and chose 'India' from the Country dropdown. The agent proceeded to select 'Yellow' from the Colors list and 'Dog' from the Sorted List. Date Picker fields were populated with the required dates and ranges. The agent then clicked the Submit button to submit the form. After submission, the agent attempted to capture visible confirmation messages but found none."
],
"agent_activity_error": [
"No blocking errors occurred during execution. The agent repeated input actions for Date Picker 1 multiple times (steps 14, 16, 19, 21, 22), which was redundant but did not prevent scenario completion. After submitting the form, the agent attempted to verify submission success by capturing visible messages (steps 23 and 24), but no confirmation message was found. Despite this, the agent completed all scenario steps as specified."
],
"agent_activity_outcome": [
"The agent successfully completed all actions required by the Original User Scenario, including form submission. However, no visible confirmation message appeared after submission, making it impossible to verify success via UI feedback. The workflow was executed as intended, but the absence of confirmation may indicate a limitation in the application or test environment."
],
"agent_recommendation": "Review the application to ensure a visible confirmation message is displayed upon successful form submission. If confirmation is expected but absent, investigate potential UI or backend issues. Consider enhancing test scripts to verify submission via backend logs or other indirect means if UI feedback is unreliable.",
"agent_completion_level": "complete",
"agent_steps_completed": null,
"scenario_analysis_result_file_path": "/var/tmp/Roost/RoostGPT/Ui-Analyse/725e717c-1847-4812-8615-237634162ab5/temp_info/testautomationpractice.blogspot.com/extracted_data/user_scenario_f2ed8e7ad04d5db2d657f075803deb92ed3b994b35442cf1516f46b03ae769d0.json",
"scenario_name": "automation_practice_form_-_complete_user_journey",
"scenario_file_path": "scenarios/automation_practice_form_-_complete_user_journey.json",
"feature_file_path": "scenarios/features/Discovered_Workflow_Automation_Practice_Form_Compl.feature",
"feature_file_name": "Discovered_Workflow_Automation_Practice_Form_Compl.feature",
"test_generated": false,
"test_generation_error": null,
"test_name": "automation_practice_form___complete_user_journey_pom.noauth.spec.js",
"test_file_path": "pom_tests/automation_practice_form___complete_user_journey_pom.noauth.spec.js",
"test_execution_error": null,
"test_executed_success": true,
"pom_test_name": "automation_practice_form___complete_user_journey_pom.noauth.spec.js",
"pom_test_file_path": "pom_tests/automation_practice_form___complete_user_journey_pom.noauth.spec.js",
"pom_test_executed_success": true,
"pom_test_execution_error": null,
"pom_files": [
{
"url": "https://testautomationpractice.blogspot.com/",
"file_name": "HomePage.js",
"file_path": "/var/tmp/Roost/RoostGPT/Ui-Analyse/725e717c-1847-4812-8615-237634162ab5/source/UI-Testing-ATID/generated_tests/testautomationpractice.blogspot.com/playwright_tests/pom_tests/pom/HomePage.js"
}
]
}
],
"Exploration_Scenarios": []
}
Original file line number Diff line number Diff line change
@@ -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)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Environment Configuration Template
# This file contains safe placeholder values for version control
# Actual credentials will be injected at runtime from your source env file

# Application Configuration
BASE_HOST_URL='https://testautomationpractice.blogspot.com'
BASE_URL='https://testautomationpractice.blogspot.com'
CI=''
COOKIE_GRACE_PERIOD_MINUTES=''

# Authentication & Credentials (POPULATED AT RUNTIME)
# These values are automatically loaded during test execution
# DO NOT enter real credentials here
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import 'dotenv/config';
import { test, expect } from '@playwright/test';
import { HomePage } from './pom/HomePage.js';
import path from 'path';
import { fileURLToPath } from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

let stepTimeout30 = { timeout: 30000 };
const BASE_URL = process.env.BASE_URL || process.env.BASE_HOST_URL || 'https://testautomationpractice.blogspot.com/';

test('Discovered Workflow: Automation Practice Form - Complete User Journey', async ({ page }) => {
const homePage = new HomePage(page);
await homePage.goto();

// Fill Name
await homePage.fillName('Roostai');
// Fill Email
await homePage.fillEmail('roostai@zb.io');
// Fill Phone
await homePage.fillPhone('9999999999');
// Fill Address
await homePage.fillAddress('Bangalore , India');
// Select Male gender
await homePage.selectMaleGender();
// Check all weekdays
await homePage.checkMonday();
await homePage.checkTuesday();
await homePage.checkWednesday();
await homePage.checkThursday();
await homePage.checkFriday();
// Select Country
await homePage.selectCountry('India');
// Select Color
await homePage.selectColor('Yellow');
// Select Sorted List
await homePage.selectSortedList('Dog');
// Fill Date Picker 1
await homePage.fillDatePicker1('17/02/2026');
// Fill Date Picker 2
await homePage.fillDatePicker2('01/01/2026');
// Fill Date Picker 3 Start Date
await homePage.fillDatePicker3Start('10/01/2026');
// Fill Date Picker 3 End Date
await homePage.fillDatePicker3End('10/03/2026');
// Submit the form
await homePage.submitForm();

// There is no visible confirmation message, but we can check that the page did not navigate away or show errors
await expect(page).toHaveURL(BASE_URL);
});

Loading