fix(frontend): marketplace top agents section (#10571)

Currently, we’re only seeing the top 20 agents, but we need to display
all of them until we see more call-to-action buttons.

#### For code changes:
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - [x] All tests are working perfectly
  - [x] It's working manually as well
This commit is contained in:
Abhimanyu Yadav
2025-08-08 10:22:51 +05:30
committed by GitHub
parent 40601f1616
commit 3c52b75278
2 changed files with 6 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ export const useMainMarketplacePage = () => {
} = useGetV2ListStoreAgents(
{
sorted_by: "runs",
page_size: 1000,
},
{
query: {

View File

@@ -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() {