mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
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:
@@ -29,6 +29,7 @@ export const useMainMarketplacePage = () => {
|
||||
} = useGetV2ListStoreAgents(
|
||||
{
|
||||
sorted_by: "runs",
|
||||
page_size: 1000,
|
||||
},
|
||||
{
|
||||
query: {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user