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
|
|
@ -23,7 +23,7 @@ export default defineConfig({
|
|||
/* Opt out of parallel tests on CI. */
|
||||
workers: 2,
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
timeout: 120 * 1000,
|
||||
timeout: 3 * 60 * 1000,
|
||||
// reporter: [
|
||||
// ["html", { open: "never", outputFolder: "playwright-report/test-results" }],
|
||||
// ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue