feat: make driver to be more flexible and have modularity#122
feat: make driver to be more flexible and have modularity#122andostronaut merged 1 commit intomainfrom
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request introduces multiple updates across configuration and driver components. The Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant D as Driver (index.ts)
participant G as getConfig (config.ts)
participant V as validateParams (validate.ts)
participant B as Builder
participant S as ServiceCase (processServiceCase)
participant L as Logger
C->>D: Call driver({ browser })
D->>G: getConfig()
G-->>D: Return { url }
D->>V: validateParams({ browser })
V-->>D: Validation passed
D->>B: Create Builder instance
D->>B: Navigate to URL
B-->>D: Navigation result
loop For each service case
D->>S: processServiceCase(serviceCase, builder, ...)
S-->>D: Test result (time, status)
end
D->>L: exportGeneratedFiles()
D->>B: Quit browser session
D-->>C: Return test results
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (10)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This is an automated pull request for branch feat/driver-modularity-folder
Summary by CodeRabbit
New Features
Refactor