AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): marketplace top agents section (#10571)
Abhimanyu Yadav3c52b75278ad
diff --git a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainMarketplacePage/useMainMarketplacePage.ts b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainMarketplacePage/useMainMarketplacePage.tsindex 720dd445a8..9f3fcc8937 100644--- a/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainMarketplacePage/useMainMarketplacePage.ts+++ b/autogpt_platform/frontend/src/app/(platform)/marketplace/components/MainMarketplacePage/useMainMarketplacePage.ts@@ -29,6 +29,7 @@ export const useMainMarketplacePage = () => {} = useGetV2ListStoreAgents({sorted_by: "runs",+ page_size: 1000,},{query: {diff --git a/autogpt_platform/frontend/src/tests/pages/navbar.page.ts b/autogpt_platform/frontend/src/tests/pages/navbar.page.tsindex 8ef56353eb..45d05366aa 100644--- a/autogpt_platform/frontend/src/tests/pages/navbar.page.ts+++ b/autogpt_platform/frontend/src/tests/pages/navbar.page.ts@@ -13,7 +13,11 @@ export class NavBar {}async clickBuildLink() {- await this.page.getByTestId("navbar-link-build").click();+ const link = this.page.getByTestId("navbar-link-build");+ await link.waitFor({ state: "visible", timeout: 15000 });+ await link.scrollIntoViewIfNeeded();+ await link.click();+ await this.page.waitForURL(/\/build$/, { timeout: 15000 });}async clickMarketplaceLink() {