langflow/.github/workflows
Cristhian Zanforlin Lousa e4cf3e2b9b
test: Enhance frontend testability with data attributes and integration tests (#4948)
*  (ChatCodeTabComponent.tsx): add data-testid attribute to ChatCodeTabComponent for testing purposes
🔧 (TemplateCardComponent/index.tsx): add data-testid attribute with dynamic value for testing
🔧 (sidebarDraggableComponent/index.tsx): import convertTestName function and add data-testid attribute with dynamic value for testing
🔧 (Custom Component Generator.spec.ts): add test for Custom Component Generator with Playwright
🔧 (Image Sentiment Analysis.spec.ts): add test for Image Sentiment Analysis with Playwright

 (Instagram Copywriter.spec.ts, Market Research.spec.ts): Add integration tests for Instagram Copywriter and Market Research functionalities.

 (Prompt Chaining.spec.ts): Add integration test for Prompt Chaining feature
 (SEO Keyword Generator.spec.ts): Add integration test for SEO Keyword Generator feature

 (SaaS Pricing.spec.ts): Add integration test for SaaS Pricing feature
 (Twitter Thread Generator.spec.ts): Add integration test for Twitter Thread Generator feature

*  (Custom Component Generator.spec.ts): Update environment variable name from OPENAI_API_KEY to ANTHROPIC_API_KEY for consistency and clarity
📝 (Custom Component Generator.spec.ts): Update test descriptions to reflect the correct environment variable names and requirements
📝 (Instagram Copywriter.spec.ts): Add support for TAVILY_API_KEY environment variable in tests and update test descriptions to reflect the change

* 📝 Add test utilities for updating components, adding new API keys, adjusting screen view, awaiting bootstrap test, and getting all response messages.

* 📝 (Custom Component Generator.spec.ts): Add waitForOpenModalWithChatInput utility function for better code organization and readability
📝 (Image Sentiment Analysis.spec.ts): Add buildDataTransfer utility function for better code organization and readability
📝 (Instagram Copywriter.spec.ts): Add waitForOpenModalWithChatInput utility function for better code organization and readability
📝 (Market Research.spec.ts): Add waitForOpenModalWithChatInput utility function for better code organization and readability
📝 (Prompt Chaining.spec.ts): Add waitForOpenModalWithChatInput utility function for better code organization and readability
📝 (SEO Keyword Generator.spec.ts): Add waitForOpenModalWithoutChatInput utility function for better code organization and readability
📝 (SaaS Pricing.spec.ts): Add waitForOpenModalWithoutChatInput utility function for better code organization and readability
📝 (Twitter Thread Generator.spec.ts): Add waitForOpenModalWithoutChatInput utility function for better code organization and readability
📝 (build-data-transfer.ts): Add buildDataTransfer utility function for better code organization and readability
📝 (wait-for-open-modal.ts): Add waitForOpenModalWithChatInput and waitForOpenModalWithoutChatInput utility functions for better code organization and readability

* 🔧 (ci.yml): add ANTHROPIC_API_KEY and TAVILY_API_KEY secrets for CI workflows
🔧 (nightly_build.yml): add ANTHROPIC_API_KEY and TAVILY_API_KEY secrets for nightly build jobs
🔧 (typescript_test.yml): add ANTHROPIC_API_KEY and TAVILY_API_KEY secrets for TypeScript test workflows

* feat: Add initialGPTsetup utility function for setting up GPT environment

This commit adds the initialGPTsetup utility function to the test/utils directory. The function is responsible for setting up the GPT environment by performing tasks such as adjusting the screen view, updating old components, removing old API keys, adding new API keys, and selecting the GPT model. The function accepts optional parameters to skip specific tasks if needed.

* change to utility function

* change to utility function

* change to utility function

* change to utility function

* change to utility function

* change to utility function

* change to utility function

* change to utility function

---------

Co-authored-by: anovazzi1 <otavio2204@gmail.com>
2024-12-04 16:49:16 +00:00
..
matchers Update linting workflows for frontend and Python code (#2171) 2024-06-14 06:27:48 -07:00
auto-update.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
ci.yml test: Enhance frontend testability with data attributes and integration tests (#4948) 2024-12-04 16:49:16 +00:00
codeql.yml Bump github/codeql-action from 2 to 3 (#1420) 2024-02-15 10:49:28 -03:00
codspeed.yml ci: Exclude specific components from Codspeed workflow paths (#4596) 2024-11-14 11:28:21 +00:00
conventional-labels.yml build(deps):(deps): bump Namchee/conventional-pr from 0.15.4 to 0.15.5 (#4974) 2024-12-02 04:27:52 -08:00
create-release.yml ci: Add GitHub Actions workflow for creating releases (#4587) 2024-11-13 16:11:30 -08:00
deploy_gh-pages.yml docs: added fetching from notion (#2670) 2024-07-12 22:59:52 +02:00
docker-build.yml build: adds arm64 build to docker build workflow (#4872) 2024-11-26 10:00:41 -08:00
docker_test.yml fix: update Test Docker Images workflow to use get_version_info (#4721) 2024-11-19 21:48:37 +00:00
docs_test.yml docs: added fetching from notion (#2670) 2024-07-12 22:59:52 +02:00
fetch_docs_notion.yml build(deps):(deps): bump peter-evans/create-pull-request from 6 to 7 (#3976) 2024-10-01 18:31:30 +00:00
integration_tests.yml ci: fix release workflows for uv (#4053) 2024-10-07 21:41:19 +00:00
js_autofix.yml build(deps):(deps): bump autofix-ci/action from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c (#4973) 2024-12-02 12:29:53 +00:00
lint-js.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
lint-py.yml ci: fix release workflows for uv (#4053) 2024-10-07 21:41:19 +00:00
nightly_build.yml test: Enhance frontend testability with data attributes and integration tests (#4948) 2024-12-04 16:49:16 +00:00
py_autofix.yml build(deps):(deps): bump autofix-ci/action from dd55f44df8f7cdb7a6bf74c78677eb8acd40cd0a to ff86a557419858bb967097bfc916833f5647fa8c (#4973) 2024-12-02 12:29:53 +00:00
python_test.yml build(deps): bump astral-sh/setup-uv from 3 to 4 (#4975) 2024-12-02 12:35:28 +00:00
release.yml tests: organize playwright tests by feature suites and optimize CI runtime (#4687) 2024-11-25 20:55:03 +00:00
release_nightly.yml chore: Update langflow-base dependency to version 0.1.0 (#4581) 2024-11-13 21:46:59 +00:00
store_pytest_durations.yml ci: Add GitHub Actions workflow to store pytest durations once a day (#4937) 2024-11-29 21:09:13 +00:00
style-check-py.yml ci: Limit workflows to Python files and optimize environment setup (#4567) 2024-11-13 05:49:08 -08:00
typescript_test.yml test: Enhance frontend testability with data attributes and integration tests (#4948) 2024-12-04 16:49:16 +00:00