Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jahanzaibsuleman07
Copy link
Contributor

This PR introduces changes from the feat/gen-stepper-fe branch.

πŸ“ Summary

πŸ“ Files Changed ( 17 files)

apps/frontend/next-env.d.ts
apps/frontend/src/app/(protected)/tests/components/TestsGrid.tsx
apps/frontend/src/app/(protected)/tests/generate/components/TestGenerationLanding.tsx
apps/frontend/src/app/(protected)/tests/generate/configure/components/TestConfiguration.tsx
apps/frontend/src/app/(protected)/tests/generate/configure/layout.tsx
apps/frontend/src/app/(protected)/tests/generate/configure/page.tsx
apps/frontend/src/app/(protected)/tests/generate/confirm/components/ConfirmTestGeneration.tsx
apps/frontend/src/app/(protected)/tests/generate/confirm/layout.tsx
apps/frontend/src/app/(protected)/tests/generate/confirm/page.tsx
apps/frontend/src/app/(protected)/tests/generate/describe/components/DescribeTestRequirements.tsx
apps/frontend/src/app/(protected)/tests/generate/describe/layout.tsx
apps/frontend/src/app/(protected)/tests/generate/describe/page.tsx
apps/frontend/src/app/(protected)/tests/generate/layout.tsx
apps/frontend/src/app/(protected)/tests/generate/page.tsx
apps/frontend/src/utils/api-client/interfaces/documents.ts
apps/frontend/src/utils/api-client/interfaces/test-set.ts
apps/frontend/src/utils/api-client/services-client.ts

πŸ“‹ Commit Details

1b1773c7 - Gen Stepper: Initial commit (jahanzaibsuleman07, 2025-10-02 09:06)

βœ… Checklist

  • Code follows the project's style guidelines
  • Self-review of code has been performed
  • Code is commented, particularly in hard-to-understand areas
  • Corresponding changes to documentation have been made
  • Tests have been added/updated for new functionality
  • All tests pass locally

πŸ§ͺ Testing

πŸ“Έ Screenshots (if applicable)

πŸ”— Related Issues

@jahanzaibsuleman07 jahanzaibsuleman07 self-assigned this Oct 2, 2025
@jahanzaibsuleman07 jahanzaibsuleman07 marked this pull request as draft October 2, 2025 07:07
@nicolai-rhesis nicolai-rhesis added the Tests (& Generation) Issues to tests as a main entity and generation of test cases label Oct 2, 2025
- Fix useRef initialization in BaseDataGrid, TestDrawer, and TestRunDrawer
- Fix useEffect dependency arrays
- Fix unescaped quotes in test generation components
- Fix document client API usage in DescribeTestRequirements
- Add missing Divider import in ConfirmTestGeneration
- Resolve TypeScript type conflicts and palette references
- Fix hardcoded styles by using theme-based styling in TestGenerationLanding
- Replace hardcoded color values with theme.palette color keys
- Use theme.shape.borderRadius for consistent border radius
- Update hardcoded styles script to exclude percentage values for circles

All validations now pass successfully including hardcoded styles check.
- Create TestGenerationModal component with stepper navigation
- Update existing step components to accept onNext/onBack/onGenerateComplete props
- Remove route-based navigation in favor of modal flow
- Fix behaviors section scrolling and color display
- Fix final screen test generation functionality
- Remove unused imports and variables
- Fix TypeScript errors and formatting issues
- Fix behavior highlighting by correcting theme palette access
- Fix chip colors for selected behaviors, topics, categories, scenarios
- Resolve 'Maximum update depth exceeded' error with proper useCallback dependencies
- Simplify test generation request structure to match original working flow
- Add clear helper text and validation for test set name field
- Remove complex num_tests calculation (backend handles automatically)
- Make documents field conditional in generation request
- Fix hardcoded styles check to exclude valid 50% borderRadius for circles
- Fixed useRef type definitions to properly allow undefined values
- Resolved conflicts between feat/gen-stepper-fe and main branches
- Updated TypeScript types for better type safety
- Fix text visibility in dark mode for prompt input and sample text
- Fix placeholder color for test set name field
- Fix vertical scrolling for entire left sidebar configuration section
- Convert hardcoded colors to theme-aware colors throughout wizard
- Remove artificial height constraints from individual behavior sections
- Ensure proper contrast in both light and dark modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tests (& Generation) Issues to tests as a main entity and generation of test cases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants