Skip to content

Commit

Permalink
Update 'Soroban RPC' to 'Stellar RPC' (#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeesunikim authored Nov 15, 2024
1 parent 6fe8842 commit 9e16303
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ import { openUrl } from "@/helpers/openUrl";
export const EndpointsLandingPage = () => {
const infoCards = [
{
id: "soroban-rpc",
title: "Soroban RPC Methods",
id: "stellar-rpc",
title: "Stellar RPC Methods",
description: "Learn about the RPC methods in our Developer Docs.",
buttonLabel: "See docs",
buttonIcon: <Icon.LinkExternal01 />,
buttonAction: () =>
openUrl("https://developers.stellar.org/network/soroban-rpc/methods"),
openUrl(
"https://developers.stellar.org/docs/data/rpc/api-reference/methods",
),
},
{
id: "horizon",
Expand Down
8 changes: 4 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ export default function Introduction() {
buttonAction: () => openUrl("https://developers.stellar.org/docs/tools"),
},
{
id: "soroban-rpc",
title: "Soroban RPC",
description: "Learn about Soroban RPC, a gateway to the Stellar network",
id: "stellar-rpc",
title: "Stellar RPC",
description: "Learn about Stellar RPC, a gateway to the Stellar network",
buttonLabel: "Go to docs",
buttonIcon: <Icon.LinkExternal01 />,
buttonAction: () =>
openUrl("https://developers.stellar.org/network/soroban-rpc"),
openUrl("https://developers.stellar.org/docs/data/rpc"),
},
{
id: "horizon",
Expand Down
4 changes: 2 additions & 2 deletions tests/endpointsPage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ test.describe("API Explorer page", () => {
});

test("Renders info cards", async ({ page }) => {
await expect(page.getByTestId("info-cards").locator("h2")).toHaveText([
"Soroban RPC Methods",
await expect(page.locator("h2")).toHaveText([
"Stellar RPC Methods",
"Horizon Endpoints",
]);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/introductionPage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test.describe("Introduction Page", () => {
await expect(page.getByTestId("info-cards").locator("h2")).toHaveText([
"Stellar Quest",
"Developer Tools",
"Soroban RPC",
"Stellar RPC",
"Horizon",
]);
});
Expand Down

0 comments on commit 9e16303

Please sign in to comment.