-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add example tests for js #191
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
c1fd523
to
33aa04a
Compare
CI Failure Feedback 🧐(Checks updated until commit 56005cc)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
### **PR Type** Enhancement, Bug fix ___ Refactor workspace ### **Description** - Added `execute` command to `actions` group for executing actions with parameters. - Replaced `_get_enum_key` with `get_enum_key` from `composio.utils.enums` across multiple files. - Added `ExecutionEnvironment` and `Env` classes to handle different execution environments. - Modified `LocalToolHandler` to initialize and execute actions based on the execution environment. - Simplified tools initialization by removing old toolset code and importing `ComposioToolSet`. - Added `execute_action` method to `DockerWorkspace` and abstract method in `base_workspace`. - Modified `create_workspace` in `workspace_factory` to return `Workspace` object instead of ID.
- building docker images from the -- git clone required version -- pip install requirements -- pip install composio core - to run composio tools docker images are public and hosted on `techcomposio` namespace --------- Co-authored-by: Karan Vaidya <[email protected]> Co-authored-by: angrybayblade <[email protected]> Co-authored-by: Viraj <[email protected]>
Pull Request SummaryChanges and ObjectivesThis PR includes several updates aimed at enhancing the JavaScript examples, testing workflow, and incorporating the
Categorization
Important Change FilesThis PR mainly affects multiple areas including JavaScript examples, workflows, and test configurations. The important files are:
|
PR Type
Tests, Enhancement
Description
package.json
to include Playwright as a dependency and to run Playwright tests.Changes walkthrough 📝
run-tests.spec.ts
Add Playwright tests for example projects
js/tests/run-tests.spec.ts
.last-run.json
Add file to store last test run results
js/test-results/.last-run.json
playwright.config.ts
Configure Playwright settings for testing
js/playwright.config.ts
package.json
Update package.json to include Playwright tests
js/package.json
package.json
Add start script for e2e example
js/examples/e2e/package.json
package.json
Add start script for OpenAI example
js/examples/openai/package.json
package.json
Add start script for LangChain example
js/examples/langchain/package.json