refactor: change downloadFolders requests to use useQuery hook (#2920)
* ✨ (sidebarComponent): Add support for downloading folders in the sidebar component to allow users to download folder data as JSON files 🔧 (sidebarComponent): Remove unused import and function related to downloading folders to clean up the codebase 📝 (use-get-download-folders): Add a new function to handle downloading folders from the API in a separate file for better code organization ♻️ (MainPage/services): Remove unused functions related to downloading and uploading flows from folders to simplify the services file and improve maintainability 🔧 (foldersStore): Remove unused import and function related to uploading flows from folders to clean up the codebase * 📝 (sideBarFolderButtons/index.tsx): add error handling logic to display error message when downloading folder fails * update error message --------- Co-authored-by: anovazzi1 <otavio2204@gmail.com>
This commit is contained in:
parent
7d5ccb324a
commit
44ffe8e6cd
5 changed files with 59 additions and 58 deletions
|
|
@ -77,7 +77,7 @@ class CustomComponent(Component):
|
|||
await page.locator("textarea").press("Control+a");
|
||||
await page.locator("textarea").fill(customCodeWithError);
|
||||
|
||||
await page.getByRole("button", { name: "Check & Save" }).click();
|
||||
await page.getByText("Check & Save").last().click();
|
||||
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue