Commit graph

91 commits

Author SHA1 Message Date
cristhianzl
820c0c3712 🐛 (chat.py): fix type annotation for 'data' parameter in retrieve_vertices_order function to allow None as a value
🐛 (constants.py): fix import statement for JsonSpec from langchain.tools.json.tool to langchain_community.tools.json.tool
🐛 (index.tsx): add data-testid attribute to the div element to improve testability
🐛 (buildUtils.ts): add debugger statement for debugging purposes
🐛 (chatInputOutput.spec.ts): fix click event target from "Run" to "Playground"
🐛 (fileUploadComponent.spec.ts): fix click event target from "Run" to "Playground"
🐛 (textInputOutput.spec.ts): fix click event target from "Run" to "Playground"
2024-05-02 15:54:16 -03:00
Gabriel Luiz Freitas Almeida
0648e3f2ac Update component descriptions to reflect Playground instead of Interaction Panel 2024-05-02 13:50:01 -03:00
cristhianzl
00b7bbae3c (codeAreaModalComponent.spec.ts): comment out unused code and remove unused import to improve code readability and maintainability
 (store.spec.ts): add a delay before selecting the "Alphabetical" option to ensure the dropdown is fully loaded before interacting with it
2024-04-19 15:51:19 -03:00
cristhianzl
3727c98937 📝 (codeAreaModalComponent.spec.ts): remove unnecessary code that checks for invalid syntax in the test case
♻️ (codeAreaModalComponent.spec.ts): refactor test case to remove redundant code and improve readability
2024-04-19 14:58:57 -03:00
cristhianzl
d87456f29c (textInputOutput.spec.ts): remove redundant expectations for contentOutput variable to improve test readability 2024-04-19 14:15:48 -03:00
cristhianzl
4965dca588 🔧 (Makefile): remove unnecessary kill command for frontend server in run_frontend target
📝 (frontend/.gitignore): add test-results/ directory to .gitignore
⬆️ (frontend/package.json): upgrade @playwright/test dependency to version 1.43.1
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected tooltip test ID from "tooltip-Models" to "tooltip-Model Specs"
💡 (frontend/tests/end-to-end/filterEdge.spec.ts): update expected test ID from "disclosure-models" to "disclosure-model specs"
💡 (frontend/tests/end-to-end/globalVariables.spec.ts): add hover and delete functionality to test for global variables
💡 (frontend/tests/end-to-end/saveComponents.spec.ts): add additional wait times to ensure modal is loaded before interacting with it
2024-04-19 12:38:57 -03:00
Cristhian Zanforlin Lousa
47aad8aa87
Resolve Test Failures Post-Dev Merge (#1742)
* 🔧 (playwright.config.ts): set workers to 1 to avoid parallel tests on CI
 (chat_io.spec.ts): refactor code to wait for modal to appear before clicking on the new project button
 (codeAreaModalComponent.spec.ts): refactor code to wait for modal to appear before clicking on the new project button, update code assertions
 (curl_api_generation.spec.ts): refactor code to wait for modal to appear before clicking on the new project button
 (dragAndDrop.spec.ts): refactor code to handle the case when generic node is not present
 (dropdownComponent.spec.ts): refactor code to wait for modal to appear before clicking on the new project button

 (filterEdge.spec.ts): add support for dynamic waiting for modal to appear before interacting with it
🐛 (filterEdge.spec.ts): remove redundant clicks on buttons and improve code readability
♻️ (filterEdge.spec.ts): refactor code to use loop instead of repetitive code for zooming out and waiting for timeout
 (filterEdge.spec.ts): update assertions to match changes in the application UI

 (floatComponent.spec.ts): refactor floatComponent test to use getByTitle instead of complex locators for button clicks
 (flowPage.spec.ts): refactor flowPage test to use getByTitle instead of complex locators for button clicks
 (group.spec.ts): refactor group test to use getByTestId instead of complex locators for button clicks and add loop to handle modal loading
 (inputComponent.spec.ts): refactor inputComponent test to use getByTitle instead of complex locators for button clicks

 (inputListComponent.spec.ts): add support for dynamic modal count to handle asynchronous modal loading
🐛 (inputListComponent.spec.ts): fix search query in inputListComponent test
♻️ (inputListComponent.spec.ts): refactor repetitive code for zooming out in inputListComponent test
 (intComponent.spec.ts): add support for dynamic modal count to handle asynchronous modal loading
♻️ (intComponent.spec.ts): refactor repetitive code for zooming out in intComponent test

 (keyPairListComponent.spec.ts): add support for dynamic modal count to handle modal loading delay
 (keyPairListComponent.spec.ts): update search input value to "amazon bedrock" for more accurate search results
 (keyPairListComponent.spec.ts): update node locator to "model_specsAmazon Bedrock" for more accurate node selection
 (keyPairListComponent.spec.ts): update zoom out action to use "zoom out" title for better readability
 (keyPairListComponent.spec.ts): update keypair verification locator to "editNodekeypair0" for more accurate verification
 (keyPairListComponent.spec.ts): update showcache checkbox locator to "showcache" for better readability
 (keyPairListComponent.spec.ts): update showcredentials_profile_name checkbox locator to "showcredentials_profile_name" for better readability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocator variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocatorNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocator variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocatorNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocator variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocatorNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocator variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocatorNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocator variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCount variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plusButtonLocatorNode variable to handle nullability
 (keyPairListComponent.spec.ts): update elementCountNode variable to handle nullability
 (keyPairListComponent.spec.ts): update keyPairVerification variable to handle nullability
 (keyPairListComponent.spec.ts): update elementKeyCount variable to handle nullability
 (keyPairListComponent.spec.ts): update plus

 (promptModalComponent.spec.ts): add support for dynamic modal count to handle asynchronous modal rendering
 (python_api_generation.spec.ts): add support for dynamic modal count to handle asynchronous modal rendering
 (saveComponents.spec.ts): add support for dynamic modal count to handle asynchronous modal rendering
 (store.spec.ts): add support for dynamic icon count to handle asynchronous rendering
 (textAreaModalComponent.spec.ts): add support for dynamic modal count to handle asynchronous modal rendering

 (toggleComponent.spec.ts): add support for dynamic waiting for modal to appear before interacting with it
🐛 (toggleComponent.spec.ts): fix typo in element locator for dataDirectory
♻️ (toggleComponent.spec.ts): refactor repetitive code for zooming out
 (toggleComponent.spec.ts): add assertions for checking toggle state and button clicks
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggleComponent.spec.ts): refactor repetitive code for toggling and checking toggle state
♻️ (toggle

* 🔧 (frontend/package.json): add dotenv package as a dependency to enable environment variable configuration
🔧 (frontend/playwright.config.ts): add dotenv configuration to read environment variables from .env file
♻️ (frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx): refactor code to add data-testid attribute to span element for sender name to improve testability
 (frontend/tests/end-to-end/chatInputOutput.spec.ts): add end-to-end test for user interaction with chat input/output functionality
 (frontend/tests/end-to-end/chat_io_teste.spec.ts): add end-to-end test for chat input/output functionality with file upload

 (chat_io.spec.ts): remove chat_io.spec.ts test file as it is no longer needed
 (textInputOutput.spec.ts): add new test file textInputOutput.spec.ts to test the functionality of text input and output components in the application

* 📝 (typescript_test.yml): remove unnecessary comments and unused code related to Playwright browser binaries caching and installation
🔧 (typescript_test.yml): refactor setup of Python and Poetry versions to use a custom GitHub action for caching and setting up the environment efficiently

*  (globalVariables.spec.ts): add end-to-end test for global variables functionality in the frontend
 (textInputOutput.spec.ts): rename test from "CodeAreaModalComponent" to "TextInputOutputComponent" to improve clarity and accuracy

* 📝 (chatInputOutput.spec.ts): update test URL to use relative path instead of absolute path for better test portability
📝 (filterEdge.spec.ts): update test URL to use relative path instead of absolute path for better test portability
📝 (inputListComponent.spec.ts): update test URL to use relative path instead of absolute path for better test portability
📝 (store.spec.ts): update test URL to use relative path instead of absolute path for better test portability
📝 (textAreaModalComponent.spec.ts): update test URL to use relative path instead of absolute path for better test portability

* 🚀 (typescript_test.yml): add uvicorn command to run the app with Playwright tests
🔧 (typescript_test.yml): configure uvicorn to use the langflow.main:create_app factory function, listen on all interfaces, use port 7860, enable auto-reload, read environment variables from .env file, and use asyncio event loop

* 🔧 (typescript_test.yml): fix path to .env file in the uvicorn command to correctly load environment variables

* 🔧 (typescript_test.yml): fix path to .env file in uvicorn command to correctly locate the file

* 🐛 (typescript_test.yml): remove unnecessary --env-file flag from uvicorn command to fix an issue with loading environment variables

* 🔧 (typescript_test.yml): run uvicorn command in the background and add a 2-second sleep to allow the server to start before running Playwright tests

*  (typescript_test.yml): update Playwright test command to use a single worker (--workers=1) to avoid race conditions and improve stability during test execution

*  (.github/workflows/typescript_test.yml): remove unnecessary flags from the Playwright test command to simplify the command and improve readability

* 🔧 (typescript_test.yml): add command to install Playwright dependencies before running Playwright tests to ensure all required dependencies are installed

* ⬆️ (typescript_test.yml): upgrade Playwright installation command to use 'npm install' instead of 'npx playwright install --with-deps' to simplify the installation process

*  (typescript_test.yml): add npm start command before running the tests to ensure the frontend server is running during the tests

* 🔧 (typescript_test.yml): run 'npm start' command in the background to allow the next step to execute concurrently
 (typescript_test.yml): add step to upload blob report to GitHub Actions Artifacts for easier access and analysis

*  (typescript_test.yml): update Playwright test command to include shard index and total for parallel test execution

* 🔧 (playwright.config.ts): add conditional dotenv configuration based on process.env.CI to prevent loading .env file in CI environment

* 🔧 (playwright.config.ts): update dotenv configuration to only load .env file when not running in a CI environment
📝 (playwright.config.ts): add comment explaining the purpose of the dotenv configuration and providing a link to the Playwright documentation for test configuration

* ♻️ (playwright.config.ts): comment out dotenv.config() calls to improve performance and remove unnecessary code

* 📝 (playwright.config.ts): comment out the forbidOnly and retries options to disable them
📝 (playwright.config.ts): change the reporter option to always use the "blob" reporter
📝 (playwright.config.ts): comment out the globalTeardown option to disable it
📝 (playwright.config.ts): set the reuseExistingServer option to always be true

* ♻️ (playwright.config.ts): refactor fullyParallel option to be set to false instead of true to disable running tests in parallel

*  (.github/workflows/typescript_test.yml): remove shardIndex and shardTotal arguments from the Playwright test command to simplify the command and avoid unnecessary complexity

* 🐛 (playwright.config.ts): add --loop asyncio flag to uvicorn command to fix asyncio event loop issue

* 📝 (playwright.config.ts): add support for reading environment variables from a .env file
♻️ (playwright.config.ts): refactor code to use path module instead of importing it from @playwright/test
 (playwright.config.ts): enable forbidOnly option to fail the build on CI if test.only is accidentally left in the source code
 (playwright.config.ts): enable retries option to retry tests on CI 2 times
♻️ (playwright.config.ts): refactor code to use globalTeardown option to specify the path to globalTeardown.ts file

* 🔧 (typescript_test.yml): run Playwright tests in the background using the '&' operator to improve workflow efficiency
♻️ (playwright.config.ts): refactor workers configuration to use 10 workers on CI and 1 worker otherwise to optimize test execution
🐛 (darkStore.tsx): fix issue where stars and lastUpdated values were not being refreshed correctly on CI environment

* ♻️ (darkStore.tsx): remove unnecessary empty line to improve code readability

* 🔧 (typescript_test.yml): remove unnecessary ampersand (&) at the end of the 'npx playwright test' command to prevent running the command in the background

* 📝 (darkStore.tsx): set "githubStars" to "0" in localStorage when running in CI environment to ensure consistent test results
🐛 (filterEdge.spec.ts): update test assertions to match changes in the application UI

* 📝 (api.tsx): add condition to reject promise if error occurs during API request to GitHub to prevent auto-login flow
📝 (auto_login.spec.ts): update page.goto() URLs to use relative paths instead of absolute URLs
📝 (chatInputOutput.spec.ts): move dotenv.config() call after page.goto() to ensure proper environment variable loading
📝 (codeAreaModalComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (curl_api_generation.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (dragAndDrop.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (dropdownComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (floatComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (flowPage.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (globalVariables.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (group.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (inputComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (intComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (keyPairListComponent.spec.ts): update page.goto() URL to use relative path instead of absolute URL
📝 (langflowShortcuts.spec.ts): update page.goto() URL to use relative path instead of absolute URL

📝 (nestedComponent.spec.ts): update page URL to use relative path instead of absolute path for better portability and flexibility
📝 (promptModalComponent.spec.ts): update page URL to use relative path instead of absolute path for better portability and flexibility
📝 (saveComponents.spec.ts): update page URL to use relative path instead of absolute path for better portability and flexibility
📝 (textInputOutput.spec.ts): update page URL to use relative path instead of absolute path for better portability and flexibility
📝 (toggleComponent.spec.ts): update page URL to use relative path instead of absolute path for better portability and flexibility

* 🔧 (playwright.config.ts): set workers to a fixed value of 10 to improve test performance and avoid parallel tests on CI
🐛 (group.spec.ts): move page.goto("/") inside the test function to ensure the page is properly loaded before running the test

*  (chatInputOutput.spec.ts): add dotenv configuration to load environment variables before running the test
🐛 (chatInputOutput.spec.ts): fix issue where the test was not waiting for the page to load before interacting with it
 (curl_api_generation.spec.ts): add dotenv configuration to load environment variables before running the test
🐛 (curl_api_generation.spec.ts): fix issue where the test was not waiting for the page to load before interacting with it

* 🔧 (playwright.config.ts): update number of workers based on the value of the CI environment variable
🐛 (chatInputOutput.spec.ts): fix potential null reference error when getting modal count
🐛 (codeAreaModalComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (curl_api_generation.spec.ts): fix potential null reference error when getting modal count
🐛 (dropdownComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (filterEdge.spec.ts): fix potential null reference error when getting modal count
🐛 (globalVariables.spec.ts): fix potential null reference error when getting modal count
🐛 (group.spec.ts): fix potential null reference error when getting modal count
🐛 (inputComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (inputListComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (intComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (keyPairListComponent.spec.ts): fix potential null reference error when getting modal count
🐛 (langflowShortcuts.spec.ts): fix potential null reference error when getting modal count
🐛 (nestedComponent.spec.ts): fix potential null reference error when getting modal count

🐛 (promptModalComponent.spec.ts): fix potential null pointer exception when accessing page object
🐛 (python_api_generation.spec.ts): fix potential null pointer exception when accessing page object
🐛 (saveComponents.spec.ts): fix potential null pointer exception when accessing page object
🐛 (textAreaModalComponent.spec.ts): fix potential null pointer exception when accessing page object
🐛 (textInputOutput.spec.ts): fix potential null pointer exception when accessing page object
🐛 (toggleComponent.spec.ts): fix potential null pointer exception when accessing page object
🐛 (tweaks_test.spec.ts): fix potential null pointer exception when accessing page object

* 🔧 (playwright.config.ts): update workers configuration to use 10 workers on CI and default to an empty value otherwise
🔧 (playwright.config.ts): update reporter configuration to use "blob" reporter on CI and "html" reporter otherwise

* 🔧 (playwright.config.ts): update workers configuration to use a default value of 5 when not running on CI environment, to improve test performance and resource usage

*  (playwright.config.ts): enable fully parallel test execution to improve test performance
🐛 (chatInputOutput.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (codeAreaModalComponent.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (curl_api_generation.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (dragAndDrop.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (dropdownComponent.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (filterEdge.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (flowPage.spec.ts): handle potential error when counting modal titles to prevent test failures
🐛 (globalVariables.spec.ts): handle potential error when counting modal titles to prevent test failures

🐛 (group.spec.ts): Fix bug in group and ungroup updating values test where modalCount was not correctly initialized
🐛 (inputComponent.spec.ts): Fix bug in InputComponent test where modalCount was not correctly initialized
🐛 (inputListComponent.spec.ts): Fix bug in InputListComponent test where modalCount was not correctly initialized
🐛 (intComponent.spec.ts): Fix bug in IntComponent test where modalCount was not correctly initialized
🐛 (keyPairListComponent.spec.ts): Fix bug in KeypairListComponent test where modalCount was not correctly initialized
🐛 (langflowShortcuts.spec.ts): Fix bug in LangflowShortcuts test where modalCount was not correctly initialized
🐛 (nestedComponent.spec.ts): Fix bug in NestedComponent test where modalCount was not correctly initialized
🐛 (promptModalComponent.spec.ts): Fix bug in PromptTemplateComponent test where modalCount was not correctly initialized
🐛 (python_api_generation.spec.ts): Fix bug in python_api_generation test where modalCount was not correctly initialized
🐛 (saveComponents.spec.ts): Fix bug in save group component tests where modalCount was not correctly initialized
🐛 (textAreaModalComponent.spec.ts): Fix bug in TextAreaModalComponent test where modalCount was not correctly initialized

 (textInputOutput.spec.ts): handle error when getting modal title element and set modalCount to 0 in case of error
 (toggleComponent.spec.ts): handle error when getting modal title element and set modalCount to 0 in case of error
 (tweaks_test.spec.ts): handle error when getting modal title element and set modalCount to 0 in case of error

* ⬆️ (playwright.config.ts): downgrade the number of workers from 10 to 5 to reduce resource usage and improve test stability

* ⬆️ (playwright.config.ts): decrease the number of workers to 1 to avoid parallel tests on CI
📝 (playwright.config.ts): comment out the workers configuration and add a new line with a single worker to clarify the intention
 (playwright.config.ts): add a new file "temp" to the frontend directory

* 📝 (chatInputOutput.spec.ts): add support for loading environment variables from .env file for local development and CI/CD environments
📝 (textInputOutput.spec.ts): add support for loading environment variables from .env file for local development and CI/CD environments

* 🔧 (typescript_test.yml): add step to create .env file and populate it with secret environment variables
🚀 (typescript_test.yml): run Playwright tests after creating .env file to ensure tests have access to necessary environment variables

*  (dragAndDrop.spec.ts): add a test to close the modal by clicking on the "Close" button

* 🔧 (typescript_test.yml): update Playwright test command to include shard index and total for distributed test execution
♻️ (playwright.config.ts): refactor workers configuration to use environment variable CI to determine the number of workers for parallel tests

* ⬆️ (playwright.config.ts): downgrade the number of workers to 1 to avoid parallel tests on CI environment

* 📝 (filterEdge.spec.ts): remove unnecessary click on element with id 'headlessui-disclosure-button-:rld:'
♻️ (filterEdge.spec.ts): remove redundant assertions for elements with ids 'saved_componentsBasic RAG' and 'saved_componentsGroup'
♻️ (floatComponent.spec.ts): refactor code to handle modal dynamically by checking for modal title element and waiting for it to appear before clicking on 'new-project-btn' element

* 🔧 (playwright.config.ts): update number of workers to 5 when running on CI to improve test parallelization
🐛 (filterEdge.spec.ts): add a 2-second delay before asserting visibility of tooltips to ensure they are fully rendered before checking visibility

* 📝 (index.tsx): add data-testid attribute to the flow name element for easier testing and querying
📝 (index.tsx): add data-testid attribute to the public checkbox for easier testing and querying
📝 (test_file.txt): add a test file for end-to-end testing purposes
📝 (fileUploadComponent.spec.ts): add end-to-end test for file upload functionality

 (flowSettings.spec.ts): add end-to-end test for flow settings functionality
 (store.spec.ts): add end-to-end test for sharing a component with the share button

* 🔧 (playwright.config.ts): set workers to 1 to avoid parallel tests execution and improve stability
📝 (test_file.txt): remove newline at the end of the file for consistency
♻️ (flowPage.spec.ts): refactor code to remove unnecessary lines and commented out code
♻️ (flowSettings.spec.ts): refactor code to generate a random flow name instead of hardcoding it

* 🔧 (typescript_test.yml): remove shardIndex and shardTotal arguments from the 'npx playwright test' command to simplify the command and remove unnecessary complexity
🐛 (textInputOutput.spec.ts): change 'textContent()' to 'inputValue()' to correctly retrieve the value of the input field

* ♻️ (typescript_test.yml): refactor test workflow to remove unnecessary matrix configuration for shardIndex and shardTotal
 (typescript_test.yml): update test workflow to run tests on a single shard instead of multiple shards for simplicity and efficiency

* 🔧 (playwright.config.ts): add clipboard permissions for chromium and firefox projects to enable clipboard read and write functionality
🔧 (curl_api_generation.spec.ts): remove unnecessary context permission grant for clipboard read and write
🔧 (python_api_generation.spec.ts): remove unnecessary context permission grant for clipboard read and write
🔧 (tweaks_test.spec.ts): remove unnecessary context permission grant for clipboard read and write

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-04-19 09:11:30 -03:00
Gabriel Luiz Freitas Almeida
4ee9b72634
Fix various issues and refactor code (#1671)
* Update setup_mode to "Sync" in AstraDBVectorStoreComponent

* Fix search_kwargs default value in PineconeSearch and QdrantSearch components

* Update Playwright test and ChatMessage component in chat_io.spec.ts and chatMessage/index.tsx

* Refactor test_pickle_each_vertex function in test_graph.py

* Refactor database service to improve performance and readability
2024-04-10 22:40:21 -03:00
anovazzi1
69c13133de Update Playwright test in chat_io.spec.ts and ChatMessage component in chatMessage/index.tsx 2024-04-10 16:45:30 -03:00
Gabriel Luiz Freitas Almeida
83c915916d
Add PythonREPLToolComponent to tools/__init__.py and create PythonREPLTool.py (#1639)
* re-add --fix

* Add PythonREPLToolComponent to tools/__init__.py and create PythonREPLTool.py

* Refactor PythonREPLToolComponent to use build_status_from_tool in PythonREPLTool.py

* Refactor model_specs imports in ChatLiteLLMSpecs.py

* Refactor imports in various files

* Refactor model_specs imports and class names in AnthropicLLMSpecs.py and AnthropicSpecs.py
2024-04-08 16:51:03 -03:00
cristhianzl
276dc09926 (playwright.config.ts): increase the number of workers from 2 to 3 to improve test parallelization
📝 (auto_login.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (chat_io.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (codeAreaModalComponent.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (dragAndDrop.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (flowPage.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (inputComponent.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (keyPairListComponent.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (nestedComponent.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (promptModalComponent.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (saveComponents.spec.ts): remove unnecessary beforeEach hook and commented code
📝 (toggleComponent.spec.ts): remove unnecessary beforeEach hook and commented code
2024-04-08 12:58:00 -03:00
cristhianzl
357029865f merge fix 2024-04-08 12:56:28 -03:00
Gabriel Luiz Freitas Almeida
05cd6e4fd7
1.0 Alpha (#1599)
* Update model kwargs and temperature values

* Update keyboard shortcuts for advanced editing

* make Message field have no handles

* Update OpenAI API Key handling in OpenAIEmbeddingsComponent

* Remove unnecessary field_type key from CustomComponent class

* Update required field behavior in CustomComponent class

* Refactor AzureOpenAIModel.py: Removed unnecessary "required" attribute from input parameters

* Update BaiduQianfanChatModel and OpenAIModel configurations

* Fix range_spec step type validation

* Update RangeSpec step_type default value to "float"

* Fix Save debounce

* Update parameterUtils to use debounce instead of throttle

* Update input type options in schemas and graph base classes

* Refactor run_flow_with_caching endpoint to include simplified and experimental versions

* Add PythonFunctionComponent and test case for it

* Add nest_asyncio to fix event loop issue

* Refactor test_initial_setup.py to use RunOutputs instead of ResultData

* Remove unused code in test_endpoints.py

* Add asyncio loop to uvicorn command

* Refactor load_session method to handle coroutine result

* Fixed saving

* Fixed debouncing

* Add InputType and OutputType literals to schema.py

* Update input type in Graph class

* Add new schema for simplified API request

* Add delete_messages function and update test_successful_run assertions

* Add STREAM_INFO_TEXT constant to model components

* Add session_id to simplified_run_flow_with_caching endpoint

* Add field_typing import to OpenAIModel.py

* update starter projects

* Add constants for Langflow base module

* Update setup.py to include latest component versions

* Update Starter Examples

* sets starter_project fixture to Basic Prompting

* Refactor test_endpoints.py: Update test names and add new tests for different output types

* Update HuggingFace Spaces link and add image for dark mode

* Remove filepath reference

* Update Vertex params in base.py

* Add tests for different input types

* Add type annotations and improve test coverage

* Add duplicate space link to README

* Update HuggingFace Spaces badge in README

* Add Python 3.10 installation requirement to README

* Refactor flow running endpoints

* Refactor SimplifiedAPIRequest and add documentation for Tweaks

* Refactor input_request parameter in simplified_run_flow function

* Add support for retrieving specific component output

* Add custom Uvicorn worker for Langflow application

* Add asyncio loop to LangflowApplication initialization

* Update Makefile with new variables and start command

* Fix indentation in Makefile

* Refactor run_graph function to add support for running a JSON flow

* Refactor getChatInputField function and update API code

* Update HuggingFace Spaces documentation with duplication process

* Add asyncio event loop to uvicorn command

* Add installation of backend in start target

* udpate some starter projects

* Fix formatting in hugging-face-spaces.mdx

* Update installation instructions for Langflow

* set examples order

* Update start command in Makefile

* Add installation and usage instructions for Langflow

* Update Langflow installation and usage instructions

* Fix langflow command in README.md

* Fix broken link to HuggingFace Spaces guide

* Add new SVG assets for blog post, chat bot, and cloud docs

* Refactor example rendering in NewFlowModal

* Add new SVG file for short bio section

* Remove unused import and add new component

* Update title in usage.mdx

* Update HuggingFace Spaces heading in usage.mdx

* Update usage instructions in getting-started/usage.mdx

* Update cache option in usage documentation

* Remove 'advanced' flag from 'n_messages' parameter in MemoryComponent.py

* Refactor code to improve performance and readability

* Update project names and flow examples

* fix document qa example

* Remove commented out code in sidebars.js

* Delete unused documentation files

* Fix bug in login functionality

* Remove global variables from components

* Fix bug in login functionality

* fix modal returning to input

* Update max-width of chat message sender name

* Update styling for chat message component

* Refactor OpenAIEmbeddingsComponent signature

* Update usage.mdx file

* Update path in Makefile

* Add new migration and what's new documentation files

* Add new chapters and migration guides

* Update version to 0.0.13 in pyproject.toml

* new locks

* Update dependencies in pyproject.toml

* general fixes

* Update dependencies in pyproject.toml and poetry.lock files

* add padding to modal

*  (undrawCards/index.tsx): update the SVG used for BasicPrompt component to undraw_short_bio_re_fmx0.svg to match the desired design
♻️ (undrawCards/index.tsx): adjust the width and height of the BasicPrompt SVG to 65% to improve the visual appearance

* Commented out components/data in sidebars.js

* Refactor component names in outputs.mdx

* Update embedded chat script URL

* Add data component and fix formatting in outputs component

* Update dependencies in poetry.lock and pyproject.toml

* Update dependencies in poetry.lock and pyproject.toml

* Refactor code to improve performance and readability

* Update dependencies in poetry.lock and pyproject.toml

* Fixed IO Modal updates

* Remove dead code at API Modal

* Fixed overflow at CodeTabsComponent tweaks page

*  (NewFlowModal/index.tsx): update the name of the example from "Blog Writter" to "Blog Writer" for better consistency and clarity

* Update dependencies versions

* Update langflow-base to version 0.0.15 and fix setup_env script

* Update dependencies in pyproject.toml

* Lock dependencies in parallel

* Add logging statement to setup_app function

* Fix Ace not having type="module" and breaking build

* Update authentication settings for access token cookie

* Update package versions in package-lock.json

* Add scripts directory to Dockerfile

* Add setup_env command to build_and_run target

* Remove unnecessary make command in setup_env

* Remove unnecessary installation step in build_and_run

* Add debug configuration for CLI

* 🔧 chore(Makefile): refactor build_langflow target to use a separate script for updating dependencies and building
 feat(update_dependencies.py): add script to update pyproject.toml dependency version based on langflow-base version in src/backend/base/pyproject.toml

* Add number_of_results parameter to AstraDBSearchComponent

* Update HuggingFace Spaces links

* Remove duplicate imports in hugging-face-spaces.mdx

* Add number_of_results parameter to vector search components

* Fixed supabase not commited

* Revert "Fixed supabase not commited"

This reverts commit afb10a6262.

* Update duplicate-space.png image

* Delete unused files and components

* Add/update script to update dependencies

* Add .bak files to .gitignore

* Update version numbers and remove unnecessary dependencies

* Update langflow-base dependency path

* Add Text import to VertexAiModel.py

* Update langflow-base version to 0.0.16 and update dependencies

* Delete start projects and commit session in delete_start_projects function

* Refactor backend startup script to handle autologin option

* Update poetry installation script to include pipx update check

* Update pipx installation script for different operating systems

* Update Makefile to improve setup process

* Add error handling on streaming and fix streaming bug on error

* Added description to Blog Writer

* Sort base classes alphabetically

* Update duplicate-space.png image

* update position on langflow prompt chaining

* Add Langflow CLI and first steps documentation

* Add exception handling for missing 'content' field in search_with_vector_store method

* Remove unused import and update type hinting

* fix bug on egdes after creating group component

* Refactor APIRequest class and update model imports

* Remove unused imports and fix formatting issues

* Refactor reactflowUtils and styleUtils

* Add CLI documentation to getting-started/cli.mdx

* Add CLI usage instructions

* Add ZoomableImage component to first-steps.mdx

* Update CLI and first steps documentation

* Remove duplicate import and add new imports for ThemedImage and useBaseUrl

* Update Langflow CLI documentation link

* Remove first-steps.mdx and update index.mdx and sidebars.js

* Update Docusaurus dependencies

* Add AstraDB RAG Flow guide

* Remove unused imports

* Remove unnecessary import statement

* Refactor guide for better readability

* Add data component documentation

* Update component headings and add prompt template

* Fix logging level and version display

* Add datetime import and buffer for alembic log

* Update flow names in NewFlowModal and documentation

* Add starter projects to sidebars.js

* Fix error handling in DirectoryReader class

* Handle exception when loading components in setup.py

* Update version numbers in pyproject.toml files

* Update build_langflow_base and build_langflow_backup in Makefile

* Added docs

* Update dependencies and build process

* Add Admonition component for API Key documentation

* Update API endpoint in async-api.mdx

* Remove async-api guidelines

* Fix UnicodeDecodeError in DirectoryReader

* Update dependency version and fix encoding issues

* Add conditional build and publish for base and main projects

* Update version to 1.0.0a2 in pyproject.toml

* Remove duplicate imports and unnecessary code in custom-component.mdx

* Fix poetry lock command in Makefile

* Update package versions in pyproject.toml

* Remove unused components and update imports

* 📦 chore(pre-release-base.yml): add pre-release workflow for base project
📦 chore(pre-release-langflow.yml): add pre-release workflow for langflow project

* Add ChatLiteLLMModelComponent to models package

* Add frontend installation and build steps

* Add Dockerfile for building and pushing base image

* Add emoji package and nest-asyncio dependency

* 📝 (components.mdx): update margin style of ZoomableImage to improve spacing
📝 (features.mdx): update margin style of ZoomableImage to improve spacing
📝 (login.mdx): update margin style of ZoomableImage to improve spacing

* Fix module import error in validate.py

* Fix error message in directory_reader.py

* Update version import and handle ImportError

* Add cryptography and langchain-openai dependencies

* Update poetry installation and remove poetry-monorepo-dependency-plugin

* Update workflow and Dockerfile for Langflow base pre-release

* Update display names and descriptions for AstraDB components

* Update installation instructions for Langflow

* Update Astra DB links and remove unnecessary imports

* Rename AstraDB

* Add new components and images

* Update HuggingFace Spaces URLs

* Update Langflow documentation and add new starter projects

* Update flow name to "Basic Prompting (Hello, world!)" in relevant files

* Update Basic Prompting flow name to "Ahoy World!"

* Remove HuggingFace Spaces documentation

* Add new files and update sidebars.js

* Remove async-tasks.mdx and update sidebars.js

* Update starter project URLs

* Enable migration of global variables

* Update OpenAIEmbeddings deployment and model

* 📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment
📝 (inputs.mdx): add margin to image style to improve spacing and center alignment

📝 (rag-with-astradb.mdx): add margin to image styles to improve spacing and readability

* Update welcome message in index.mdx

* Add global variable feature to Langflow documentation

* Reorganized sidebar categories

* Update migration documentation

* Refactor SplitTextComponent class to accept inputs of type Record and Text

* Adjust embeddings docs

*  (cardComponent/index.tsx): add a minimum height to the card component to ensure consistent layout and prevent content from overlapping when the card is empty or has minimal content

* Update flow name from "Ahoy World!" to "Hello, world!"

* Update documentation for embeddings, models, and vector stores

* Update CreateRecordComponent and parameterUtils.ts

* Add documentation for Text and Record types

* Remove commented lines in sidebars.js

* Add run_flow_from_json function to load.py

* Update Langflow package to run flow from JSON file

* Fix type annotations and import errors

* Refactor tests and fix test data

---------

Co-authored-by: Rodrigo Nader <rodrigosilvanader@gmail.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Lucas Oliveira <lucas.edu.oli@hotmail.com>
Co-authored-by: carlosrcoelho <carlosrodrigo.coelho@gmail.com>
Co-authored-by: cristhianzl <cristhian.lousa@gmail.com>
Co-authored-by: Matheus <jacquesmats@gmail.com>
2024-04-04 02:46:44 -03:00
cristhianzl
aa2c148614 (GenericNode/index.tsx): add unique id to input element for accessibility and testing purposes
🐛 (input.tsx): add missing data-testid attribute to input element
🐛 (group.spec.ts): fix test case to correctly group and ungroup nodes, update selectors to match changes in UI
2024-04-01 22:56:50 -03:00
cristhianzl
6216337ed9 📝 (index.tsx): remove unused import of cn function from utils/utils file
🐛 (index.tsx): fix condition for checking if event.shiftKey is true in NodeToolbarComponent
🐛 (index.tsx): fix button data-testid attribute value for duplicate button in NodeToolbarComponent
🐛 (intComponent.spec.ts): fix data-testid attribute value for model_specsChatOpenAI element in IntComponent test
🐛 (intComponent.spec.ts): fix data-testid attribute value for title-ChatOpenAI element in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
🐛 (intComponent.spec.ts): remove unnecessary code for checking checkbox state in IntComponent test
2024-04-01 22:25:11 -03:00
cristhianzl
5e9410cd89 fix test 2024-04-01 21:33:17 -03:00
cristhianzl
120c4687ee (playwright.config.ts): decrease the number of workers from 3 to 2 to improve test performance
🐛 (chat_io.spec.ts): remove unnecessary wait and fix typo in test name
🐛 (codeAreaModalComponent.spec.ts): remove unnecessary click action
🐛 (curl_api_generation.spec.ts): fix the URL in page.goto() to include the protocol
🐛 (dropdownComponent.spec.ts): remove unnecessary click actions
🐛 (inputListComponent.spec.ts): remove duplicate click action
🐛 (python_api_generation.spec.ts): fix the test name in getByRole() function
🐛 (tweaks_test.spec.ts): fix the test name in getByRole() function
2024-04-01 21:28:06 -03:00
cristhianzl
c6b04d20b3 add new test to store 2024-04-01 20:28:05 -03:00
cristhianzl
a93e971005 merge fix 2024-03-29 22:11:53 -03:00
cristhianzl
22256daf08 fix all tests 2024-03-29 21:54:38 -03:00
cristhianzl
3a612c874c merge fix 2024-03-29 17:52:09 -03:00
Gabriel Luiz Freitas Almeida
ac5f81f5ec Format assets json 2024-03-28 20:16:52 -03:00
Gabriel Luiz Freitas Almeida
76dbaf3b21 Refactor API generation tests 2024-03-28 20:16:16 -03:00
anovazzi1
c7cdf3f9e9 Fix nodeToolbarComponent rendering issue and add chat_io end-to-end test 2024-03-28 18:42:16 -03:00
anovazzi1
f80af6bd03 Add end-to-end test for tweaks functionality 2024-03-28 17:24:36 -03:00
anovazzi1
7a844466d8 migrate commits on wrong branch 2024-03-28 17:17:24 -03:00
cristhianzl
f13d7ecab4 fix zustand 2024-03-28 11:59:32 -03:00
Gabriel Luiz Freitas Almeida
6737c845eb Refactor code and fix formatting issues 2024-03-27 23:46:11 -03:00
anovazzi1
7ea25b52f1 Refactor group.spec.ts test case 2024-03-27 18:00:40 -03:00
cristhianzl
a99612af3b (playwright.config.ts): set the number of workers to 2 to improve test parallelization
📝 (API/index.ts): remove conditional return of 100 for getRepoStars function to ensure accurate retrieval of stargazers count from GitHub API
📝 (API/index.ts): remove conditional return of example data for getExamples function to ensure accurate retrieval of examples from GitHub API
📝 (auto_login.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (codeAreaModalComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (dragAndDrop.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (dropdownComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (floatComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (flowPage.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (group.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (inputComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (intComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (keyPairListComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (langflowShortcuts.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (nestedComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues
📝 (promptModalComponent.spec.ts): update page.goto URLs to include the protocol to fix navigation issues

 (saveComponents.spec.ts): update page.goto() URL to include the correct protocol and port for the frontend app
 (toggleComponent.spec.ts): update page.goto() URL to include the correct protocol and port for the frontend app
2024-03-27 17:04:19 -03:00
cristhianzl
4d0a1616bb remove location 2024-03-27 16:56:54 -03:00
cristhianzl
0bbd77afd0 merge fix 2024-03-27 16:29:48 -03:00
cristhianzl
cfc2913e9c merge fix 2024-03-27 16:29:32 -03:00
cristhianzl
735c1808b2 (parameterComponent/index.tsx): add data-testid attributes to improve testability and accessibility
 (codeTabsComponent/index.tsx): add componentName prop to InputListComponent to improve testability and accessibility
 (inputListComponent/index.tsx): add componentName prop to improve testability and accessibility
 (textAreaComponent/index.tsx): add data-testid attribute to IconComponent to improve testability and accessibility
 (EditNodeModal/index.tsx): add componentName prop to InputListComponent to improve testability and accessibility
 (DisclosureComponent/index.tsx): add data-testid attribute to Disclosure.Button to improve testability and accessibility
 (components/index.ts): add componentName prop to InputListComponentType to improve testability and accessibility
 (codeAreaModalComponent.spec.ts): reduce wait time for better test performance
 (dragAndDrop.spec.ts): reduce wait time for better test performance

 (dropdownComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (dropdownComponent.spec.ts): add new test file filterEdge.spec.ts to test filtering functionality in dropdown component
 (filterEdge.spec.ts): add tests for tooltip and filter functionality in dropdown component

 (floatComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (flowPage.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (group.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (inputComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance

 (inputListComponent.spec.ts): add end-to-end test for InputListComponent to ensure proper functionality
 (intComponent.spec.ts): add end-to-end test for IntComponent to ensure proper functionality
 (keyPairListComponent.spec.ts): add end-to-end test for KeyPairListComponent to ensure proper functionality
 (nestedComponent.spec.ts): add end-to-end test for NestedComponent to ensure proper functionality

 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (promptModalComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (saveComponents.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (textAreaModalComponent.spec.ts): add test for TextAreaModalComponent
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
 (toggleComponent.spec.ts): reduce wait time for page.waitForTimeout from 2000ms to 1000ms to improve test performance
2024-03-27 16:11:59 -03:00
Gabriel Luiz Freitas Almeida
f19c449f15
Add Frontend Tests (#1571)
* Add TypeScript test workflow

* Update follow-redirects and katex versions

* Add Python setup and Poetry installation for backend

* Update Poetry version and setup Python in workflows

* Add Poetry installation step to GitHub Actions workflow

* Add Playwright report artifact upload and improve test script

* Update Playwright test configuration and add global teardown script

* Update path for playwright-report directory

* Update timeout value in playwright.config.ts

* Update page URLs in end-to-end tests

* Update GitHub Actions workflow and Playwright configuration

* Update TypeScript test workflow

* Add pattern and merge-multiple options to artifact download

* Update TypeScript test workflow to install Poetry

* Add cache steps for Playwright and Poetry

* Update PLAYWRIGHT_BROWSERS_PATH in TypeScript test workflow

* Add 'stuff/' to .gitignore

* Remove caching of Poetry virtualenv

* Update frontend tests to use Playwright for UI testing

* Add global teardown for removing temp database

* Add cache-hit condition to setup-node and setup-python steps

* Add new file to .gitignore and update ignored files

* Update playwright cache key in TypeScript test workflow

* Update path for blob-report in GitHub workflow

* Update path for playwright cache

* Update dependency installation in workflows

* Update baseURL in playwright.config.ts

* Update baseURL in playwright.config.ts

* Refactor test timeouts

* Remove playwright-report index.html file

* Add npm run start command to playwright.config.ts

* Update npm start command in playwright.config.ts

* Update Playwright browser caching and installation

* Update playwright cache path

* Update playwright cache path

* Update actions/cache version to v4

* Update Playwright cache key to use package-lock.json

* Update Playwright cache and install dependencies

* Fix typo in Playwright installation command

* Fix npm ci command in TypeScript test workflow

* Update TypeScript test workflow
2024-03-27 14:27:40 -03:00
anovazzi1
a6d42c043c check edge case when options is empty 2024-03-26 14:25:49 -03:00
anovazzi1
1cdaa284d6 add utf-8 characters to inputCOmponent test 2024-03-26 13:23:50 -03:00
Matheus Jacques
8172e62236
Split Langflow into Langflow and Langflow Base (#1562)
* Initial Restructure

* Replace import langflow for import langflow_base

* Fix dependencies

* 🔧 chore(Makefile): refactor build process to separate base and frontend builds for better organization and maintainability

* 🚀 chore(Makefile): update build_frontend command to copy frontend build to the correct directory
🔖 chore(pyproject.toml): update python and httpx dependencies versions
🔧 chore(__init__.py): update import statement for load_flow_from_json function

* 🔖 chore(pyproject.toml): update package version from 0.0.6 to 0.0.8 to reflect changes in the codebase

* 🚀 feat(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
🚀 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port

* 🐛 fix(server.ts): change port variable case from lowercase port to uppercase PORT to improve semantics
 feat(server.ts): add support for process.env.PORT environment variable to be able to run app on a configurable port
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10
 feat(server.ts): add new agent component LCAgentComponent to langflow_base
 feat(server.ts): add new model component LCModelComponent to langflow_base
 feat(server.ts): add new helper functions docs_to_records and records_to_text to langflow_base
 feat(server.ts): add new flow helper functions list_flows, load_flow, run_flow, generate_function_for_flow, get_flow_inputs, build_schema_from_inputs to langflow_base
 feat(server.ts): add new prompt component PromptComponent to langflow_base
 feat(server.ts): add new chat components ChatInput and ChatOutput to langflow_base
 feat(server.ts): add new model component OpenAIModelComponent to langflow_base
🚚 chore(main.py): update import path from langflow.main to langflow_base.main
🚚 chore(service.py): update import path from langflow.services.database.manager to langflow_base.services.database.manager
🚚 chore(factory.py): update import path from langflow.services to langflow_base.services
🚚 chore(service.py): update import path from langflow.services.plugins to langflow_base.services.plugins
🚚 chore(utils.py): update import path from langflow.services to langflow_base.services
🚚 chore(validate.py): update import path from langflow.field_typing to langflow_base.field_typing
🚚 chore(pyproject.toml): update langflow-base version from 0.0.8 to 0.0.10

* Update Makefile to install backend dependencies and build langflow

* Add langflow main module and update __init__.py

* Update langflow install process to use implicit namespace

* Add langflow-base as a local dependency

* Add setup_poetry target to Makefile

* Update Poetry version and add poetry-monorepo-dependency-plugin

* Refactor code to improve performance and readability

* Update imports to custom and load

* Update content-hash in poetry.lock

---------

Co-authored-by: Matheus <jacquesmats@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@logspace.ai>
2024-03-26 09:26:30 -03:00
cristhianzl
70c083451e 📝 (index.tsx): add data-testid attributes to the toolbar select items to improve testability
♻️ (toolbarSelectItem/index.tsx): remove unused import and refactor code to include data-testid attribute in the rendered element
📝 (index.ts): add dataTestId property to the toolbarSelectItemProps type to reflect the addition of data-testid attribute in the component
📝 (auto_login.spec.ts): increase timeout for page.waitForTimeout to 16 seconds and test.setTimeout to 140 seconds to accommodate slower test execution
📝 (keyPairListComponent.spec.ts): increase timeout for page.waitForTimeout to 20 seconds to accommodate slower test execution
2024-03-15 15:56:13 -03:00
cristhianzl
92aa159f39 add configuration to run all tests 2024-03-11 19:07:43 -03:00
cristhianzl
ea8b5faad2 check SO before add keyboard command 2024-03-09 09:30:32 -03:00
cristhianzl
2d6a1d193f 🔧 fix(NewFlowCard2): add missing data-testid attribute to the NewFlowCardComponent to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the save button to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the edit button to improve testability
🔧 fix(nodeToolbarComponent): add missing data-testid attribute to the duplicate button to improve testability
🔧 fix(codeAreaModalComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(dropdownComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(floatComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(flowPage.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(group.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(inputComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup
🔧 fix(intComponent.spec): add click on the blank-flow element before performing other actions to ensure proper test setup

🐛 fix(keyPairListComponent.spec.ts): update key pair IDs and values to match test expectations
 feat(keyPairListComponent.spec.ts): add support for dynamic key pair creation and deletion
🔀 merge(langflowShortcuts.spec.ts): add end-to-end tests for langflow shortcuts
🔀 merge(nestedComponent.spec.ts): add end-to-end tests for nested components
🔀 merge(promptModalComponent.spec.ts): add end-to-end tests for prompt modal component
🔀 merge(saveComponents.spec.ts): add end-to-end tests for save components

 test(toggleComponent.spec.ts): add test case to simulate clicking on "blank-flow" element and waiting for 2 seconds
🐛 fix(toggleComponent.spec.ts): fix typo in test case, change "locator" to "waitForSelector" for better readability
2024-03-08 18:05:19 -03:00
Gabriel Luiz Freitas Almeida
4daf4ffc81 Fix variable name and simplify if statements 2024-03-06 14:56:36 -03:00
cristhianzl
2be300b158 🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts): remove unnecessary code that clicks and checks showcode element
🔧 fix(codeAreaModalComponent.spec.ts

🐛 fix(intComponent.spec.ts): fix test case for IntComponent to use correct input field and update assertions
 feat(intComponent.spec.ts): add additional test cases for IntComponent to cover more scenarios and improve test coverage
2024-03-05 14:42:07 -03:00
cristhianzl
2190d65c59 fix tests 2024-02-29 19:15:00 -03:00
cristhianzl
066a5969e7 fix all the tests 2024-02-29 18:42:24 -03:00
cristhianzl
b83a18bcc9 add draganddrop test 2024-02-29 17:01:19 -03:00
anovazzi1
3188103e61 migrate tests to be e2e 2024-02-28 15:54:55 -03:00
cristhianzl
a999f46328 🐛 fix(parameterComponent): add missing prop 'editNode' to ParameterToggleComponent
🐛 fix(inputComponent): add missing data-testid prop to InputComponent
🐛 fix(intComponent): add missing data-testid prop to IntComponent
🐛 fix(toggleShadComponent): add missing data-testid prop to ToggleShadComponent
🐛 fix(ConfirmationModal): add missing data-testid prop to replace button
🐛 fix(EditNodeModal): add missing 'editNode' prop to ParameterToggleComponent and InputComponent
🐛 fix(nodeToolbarComponent): remove duplicate import statement
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary import statement
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix(nodeToolbarComponent): remove unnecessary line break
🐛 fix

🐛 fix(group.spec.ts): uncomment code to enable mocking API requests for testing purposes
🐛 fix(group.spec.ts): fix incorrect URL pattern in page.routeFromHAR() method
🐛 fix(group.spec.ts): fix incorrect URL pattern in page.route() method
 feat(group.spec.ts): add fulfillment of API request with a JSON response and status 201
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability
🐛 fix(inputComponent.spec.ts): update locator IDs to match changes in HTML structure
 feat(inputComponent.spec.ts): add support for getting elements by test ID for improved test readability

🐛 fix(nestedComponent.spec.ts): fix incorrect assertions for checkbox states
 feat(nestedComponent.spec.ts): add tests for new checkboxes in nestedComponent
🐛 fix(toggleComponent.spec.ts): fix incorrect assertions for checkbox states
 feat(toggleComponent.spec.ts): add tests for new checkboxes in toggleComponent
2024-02-26 19:58:08 -03:00
cristhianzl
1b7d80a373 🐛 fix(parameterComponent): fix key prop in map function to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in InputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in ToggleShadComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in Dropdown component to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in PromptInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in CodeInputComponent to use name instead of index for better uniqueness
🐛 fix(parameterComponent): fix id prop in IntComponent to use name instead of index for better uniqueness
🐛 fix

🔧 chore(dropdownComponent.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(floatComponent.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(flowPage.spec.ts): comment out unused code to improve code readability and maintainability
🔧 chore(group.spec.ts): comment out unused code to improve code readability and maintainability

🔧 chore(tests): comment out unused code in inputComponent.spec.ts, intComponent.spec.ts, keyPairListComponent.spec.ts, nestedComponent.spec.ts, saveComponents.spec.ts, and toggleComponent.spec.ts to improve code readability and reduce noise
2024-02-23 18:05:39 -03:00