test: add new tests based on new basic examples + vector store tests (#2879)
* 🔧 (.github/workflows/typescript_test.yml): add BRAVE_SEARCH_API_KEY secret to workflow environment variables ✨ (frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx): add data-testid attribute to div element for testing purposes ✨ (frontend/tests/end-to-end/Hierarchical Tasks Agent.spec.ts): add end-to-end test for Hierarchical Tasks Agent ✨ (frontend/tests/end-to-end/Sequential Tasks Agent.spec.ts): add end-to-end test for Sequential Tasks Agent * updating hierarchical task json * 🔧 (.github/workflows/typescript_test.yml): add secrets for ASTRA_DB_APPLICATION_TOKEN and ASTRA_DB_API_ENDPOINT ♻️ (playwright.config.ts): refactor timeout value to 3 minutes 📝 (Complex Agent.spec.ts): update test to use BRAVE_SEARCH_API_KEY instead of OPENAI_API_KEY 📝 (Complex Agent.spec.ts): update test to use "apple" instead of "agile" 📝 (Hierarchical Tasks Agent.spec.ts): update test to use "langflow" instead of "agile" 📝 (Sequential Tasks Agent.spec.ts): update test to use waitForTimeout instead of isVisible ✨ (Vector Store.spec.ts): Add checks to skip tests if required environment variables are not set 🔧 (Vector Store.spec.ts): Update test logic to fill in required environment variables before running tests to ensure proper test execution
This commit is contained in:
parent
9ecf101449
commit
ae096a3167
8 changed files with 775 additions and 387 deletions
3
.github/workflows/typescript_test.yml
vendored
3
.github/workflows/typescript_test.yml
vendored
|
|
@ -56,6 +56,9 @@ jobs:
|
|||
env:
|
||||
OPENAI_API_KEY: ${{ inputs.openai_api_key || secrets.OPENAI_API_KEY }}
|
||||
STORE_API_KEY: ${{ inputs.store_api_key || secrets.STORE_API_KEY }}
|
||||
BRAVE_SEARCH_API_KEY: "${{ secrets.BRAVE_SEARCH_API_KEY }}"
|
||||
ASTRA_DB_APPLICATION_TOKEN: "${{ secrets.ASTRA_DB_APPLICATION_TOKEN }}"
|
||||
ASTRA_DB_API_ENDPOINT: "${{ secrets.ASTRA_DB_API_ENDPOINT }}"
|
||||
outputs:
|
||||
failed: ${{ steps.check-failure.outputs.failed }}
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue