diff --git a/src/app/(sidebar)/account/create/page.tsx b/src/app/(sidebar)/account/create/page.tsx index 95a788d17..e92b837bf 100644 --- a/src/app/(sidebar)/account/create/page.tsx +++ b/src/app/(sidebar)/account/create/page.tsx @@ -94,7 +94,7 @@ export default function CreateAccount() { return (
- +
These keypairs can be used on the Stellar network where one is @@ -136,7 +136,7 @@ export default function CreateAccount() { setIsSaveModalVisible(true); }} > - Save Keypair + Save keypair ) : null} diff --git a/src/app/(sidebar)/account/muxed-create/page.tsx b/src/app/(sidebar)/account/muxed-create/page.tsx index df8f40e45..3674928c4 100644 --- a/src/app/(sidebar)/account/muxed-create/page.tsx +++ b/src/app/(sidebar)/account/muxed-create/page.tsx @@ -70,7 +70,7 @@ export default function CreateMuxedAccount() { return (
diff --git a/src/app/(sidebar)/account/muxed-parse/page.tsx b/src/app/(sidebar)/account/muxed-parse/page.tsx index a995c383c..22cc39e1d 100644 --- a/src/app/(sidebar)/account/muxed-parse/page.tsx +++ b/src/app/(sidebar)/account/muxed-parse/page.tsx @@ -61,7 +61,7 @@ export default function ParseMuxedAccount() { return (
diff --git a/src/app/(sidebar)/account/saved/page.tsx b/src/app/(sidebar)/account/saved/page.tsx index e31698992..fa0ff7485 100644 --- a/src/app/(sidebar)/account/saved/page.tsx +++ b/src/app/(sidebar)/account/saved/page.tsx @@ -148,7 +148,7 @@ export default function SavedKeypairs() { return ( fundWithFriendbot()} > - Fund with Friendbot + Fund with friendbot ); } diff --git a/src/app/(sidebar)/network-limits/page.tsx b/src/app/(sidebar)/network-limits/page.tsx index f83b4a08f..2231c2065 100644 --- a/src/app/(sidebar)/network-limits/page.tsx +++ b/src/app/(sidebar)/network-limits/page.tsx @@ -36,7 +36,7 @@ export default function NetworkLimits() { return (
- + {network.id === "custom" ? ( - + {!network.rpcUrl ? ( RPC URL is required to view contract information. You can add it in diff --git a/src/app/(sidebar)/smart-contracts/contract-list/page.tsx b/src/app/(sidebar)/smart-contracts/contract-list/page.tsx index 93eae69a1..0ac090e71 100644 --- a/src/app/(sidebar)/smart-contracts/contract-list/page.tsx +++ b/src/app/(sidebar)/smart-contracts/contract-list/page.tsx @@ -53,7 +53,7 @@ export default function ContractList() { return ( - Build Upload transaction + Build upload transaction @@ -978,7 +978,7 @@ export default function DeployContract() { return ( - + <> {savedContracts.length === 0 diff --git a/src/app/(sidebar)/transaction-dashboard/page.tsx b/src/app/(sidebar)/transaction-dashboard/page.tsx index a7f6ea142..9e5f00c3c 100644 --- a/src/app/(sidebar)/transaction-dashboard/page.tsx +++ b/src/app/(sidebar)/transaction-dashboard/page.tsx @@ -239,7 +239,7 @@ export default function TransactionDashboard() { return ( - + {!network.rpcUrl ? ( RPC URL is required to view transaction information. You can add it diff --git a/src/app/(sidebar)/transaction/build/components/ClassicOperation.tsx b/src/app/(sidebar)/transaction/build/components/ClassicOperation.tsx index 0b849c341..f9a1bce11 100644 --- a/src/app/(sidebar)/transaction/build/components/ClassicOperation.tsx +++ b/src/app/(sidebar)/transaction/build/components/ClassicOperation.tsx @@ -505,7 +505,7 @@ export const ClassicOperation = ({ }); }} > - Add Operation + Add operation diff --git a/src/app/(sidebar)/transaction/build/components/Params.tsx b/src/app/(sidebar)/transaction/build/components/Params.tsx index 1d629ee2c..3069f5ad9 100644 --- a/src/app/(sidebar)/transaction/build/components/Params.tsx +++ b/src/app/(sidebar)/transaction/build/components/Params.tsx @@ -268,7 +268,7 @@ export const Params = () => { }; return ( - + { }} icon={} > - Clear Params + Clear params diff --git a/src/app/(sidebar)/transaction/build/components/SorobanOperation.tsx b/src/app/(sidebar)/transaction/build/components/SorobanOperation.tsx index 9264a9660..5bddf64ea 100644 --- a/src/app/(sidebar)/transaction/build/components/SorobanOperation.tsx +++ b/src/app/(sidebar)/transaction/build/components/SorobanOperation.tsx @@ -326,7 +326,7 @@ export const SorobanOperation = ({ /* noop*/ }} > - Add Operation + Add operation diff --git a/src/app/(sidebar)/transaction/fee-bump/page.tsx b/src/app/(sidebar)/transaction/fee-bump/page.tsx index 4db5e047c..eec143f2f 100644 --- a/src/app/(sidebar)/transaction/fee-bump/page.tsx +++ b/src/app/(sidebar)/transaction/fee-bump/page.tsx @@ -166,7 +166,7 @@ export default function FeeBumpTransaction() { return ( - + <> {savedTxns.length === 0 diff --git a/src/app/(sidebar)/transaction/sign/components/Import.tsx b/src/app/(sidebar)/transaction/sign/components/Import.tsx index 7bb56bbd8..89cdfc6af 100644 --- a/src/app/(sidebar)/transaction/sign/components/Import.tsx +++ b/src/app/(sidebar)/transaction/sign/components/Import.tsx @@ -65,7 +65,7 @@ export const Import = () => { return ( - +
{ return ( <> + {!network.rpcUrl ? ( RPC URL is required to simulate a transaction. You can add it in the diff --git a/src/app/(sidebar)/transaction/submit/page.tsx b/src/app/(sidebar)/transaction/submit/page.tsx index 7b70c489c..82148d9fd 100644 --- a/src/app/(sidebar)/transaction/submit/page.tsx +++ b/src/app/(sidebar)/transaction/submit/page.tsx @@ -452,7 +452,7 @@ export default function SubmitTransaction() { return ( - + - + {errorElement} - + }) { return ( - + {errorElement} {tx.isLoading && ( diff --git a/src/components/Home/Networks.tsx b/src/components/Home/Networks.tsx index 083bdb8e8..6cbeb4f41 100644 --- a/src/components/Home/Networks.tsx +++ b/src/components/Home/Networks.tsx @@ -230,7 +230,7 @@ export const Networks = ({ ] : [ { - label: "Build Transaction", + label: "Build transaction", onAction: () => { router.push(Routes.BUILD_TRANSACTION); }, diff --git a/src/components/Home/Slider.tsx b/src/components/Home/Slider.tsx index 0b4472163..bab667e99 100644 --- a/src/components/Home/Slider.tsx +++ b/src/components/Home/Slider.tsx @@ -84,7 +84,7 @@ export const Slider = ({ imgTheme }: { imgTheme: "light" | "dark" }) => { `/images/lab-home-intro-tx-${imgTheme}.png`, ), actionButton: { - label: "Build Transaction", + label: "Build transaction", route: Routes.BUILD_TRANSACTION, }, buttons: [ diff --git a/src/components/SignerSelector/index.tsx b/src/components/SignerSelector/index.tsx index cd0217299..e4ff0c3d3 100644 --- a/src/components/SignerSelector/index.tsx +++ b/src/components/SignerSelector/index.tsx @@ -137,7 +137,7 @@ const SignerSelectorDropdown = ({ if (currentNetworkKeypairs.length > 0) { const saved = { - label: "Saved Keypairs", + label: "Saved keypairs", items: currentNetworkKeypairs, }; availableAddress.push(saved); diff --git a/src/constants/navItems.tsx b/src/constants/navItems.tsx index 38c8b35e1..b2042e367 100644 --- a/src/constants/navItems.tsx +++ b/src/constants/navItems.tsx @@ -49,19 +49,19 @@ export type NavItem = { const ACCOUNT_NAV = [ { route: Routes.ACCOUNT_CREATE, - label: "Create Account Keypair", + label: "Create account keypair", }, { route: Routes.ACCOUNT_FUND, - label: "Fund Account", + label: "Fund account", }, { route: Routes.ACCOUNT_CREATE_MUXED, - label: "Create Muxed Account", + label: "Create muxed account", }, { route: Routes.ACCOUNT_PARSE_MUXED, - label: "Parse Muxed Account", + label: "Parse muxed account", }, ]; @@ -85,38 +85,38 @@ const ENDPOINTS_NAV = [ const SMART_CONTRACTS_NAV = [ { route: Routes.SMART_CONTRACTS_CONTRACT_EXPLORER, - label: "Contract Explorer", + label: "Contract explorer", }, { route: Routes.SMART_CONTRACTS_CONTRACT_LIST, - label: "Smart Contract List", + label: "Smart contract list", }, { route: Routes.SMART_CONTRACTS_DEPLOY_CONTRACT, - label: "Upload and Deploy Contract", + label: "Upload and deploy contract", }, ]; const TRANSACTION_NAV = [ { route: Routes.BUILD_TRANSACTION, - label: "Build Transaction", + label: "Build transaction", }, { route: Routes.SIGN_TRANSACTION, - label: "Sign Transaction", + label: "Sign transaction", }, { route: Routes.SIMULATE_TRANSACTION, - label: "Simulate Transaction", + label: "Simulate transaction", }, { route: Routes.SUBMIT_TRANSACTION, - label: "Submit Transaction", + label: "Submit transaction", }, { route: Routes.FEE_BUMP_TRANSACTION, - label: "Fee Bump", + label: "Fee bump", }, ]; @@ -195,18 +195,18 @@ export const NAV: NavItem[] = [ ]), { route: Routes.TRANSACTION_DASHBOARD, - label: "Transaction Dashboard", + label: "Transaction dashboard", }, ...(process.env.NEXT_PUBLIC_ENABLE_EXPLORER === "true" ? [ { route: Routes.TRANSACTIONS_EXPLORER, - label: "Transactions Explorer", + label: "Transactions explorer", }, ] : []), { route: Routes.NETWORK_LIMITS, - label: "Network Limits", + label: "Network limits", }, ]; diff --git a/src/constants/networkLimits.ts b/src/constants/networkLimits.ts index 612d1f085..86d1f0a6f 100644 --- a/src/constants/networkLimits.ts +++ b/src/constants/networkLimits.ts @@ -48,66 +48,66 @@ export interface NetworkLimits { } export const MAINNET_LIMITS: NetworkLimits = { - "tx_max_instructions": 100000000, + "tx_max_instructions": 400000000, "tx_memory_limit": 41943040, - "tx_max_footprint_entries": 100, - "tx_max_disk_read_entries": 100, - "tx_max_write_ledger_entries": 50, + "tx_max_footprint_entries": 200, + "tx_max_disk_read_entries": 200, + "tx_max_write_ledger_entries": 200, "tx_max_disk_read_bytes": 200000, "tx_max_write_bytes": 132096, "tx_max_contract_events_size_bytes": 16384, "contract_data_key_size_bytes": 250, "contract_max_size_bytes": 131072, - "ledger_max_instructions": 600000000, + "ledger_max_instructions": 580000000, "ledger_max_disk_read_entries": 1000, - "ledger_max_disk_read_bytes": 7000000, - "ledger_max_write_ledger_entries": 500, - "ledger_max_write_bytes": 143360, - "ledger_max_txs_size_bytes": 133120, + "ledger_max_disk_read_bytes": 400000, + "ledger_max_write_ledger_entries": 1000, + "ledger_max_write_bytes": 286720, + "ledger_max_txs_size_bytes": 266240, "max_entry_ttl": 3110400, "min_temporary_ttl": 17280, "min_persistent_ttl": 2073600, - "fee_rate_per_instructions_increment": 25, - "fee_read_ledger_entry": "6250", - "fee_write_ledger_entry": "10000", - "fee_read_1kb": "1786", - "fee_write_1kb": "3500", - "fee_tx_size_1kb": "1624", - "fee_historical_1kb": "16235", - "fee_contract_events_1kb": "10000", + "fee_rate_per_instructions_increment": 7, + "fee_read_ledger_entry": "1563", + "fee_write_ledger_entry": "2500", + "fee_read_1kb": "447", + "fee_write_1kb": "875", + "fee_tx_size_1kb": "406", + "fee_historical_1kb": "4059", + "fee_contract_events_1kb": "5000", "persistent_rent_rate_denominator": "1215", "temp_rent_rate_denominator": "2430", "live_soroban_state_size_window": [ - "639550254", - "639816338", - "640336626", - "640898482", - "641183094", - "641525202", - "641843482", - "642494818", - "642878194", - "643247942", - "643572234", - "643972654", - "644631746", - "644821618", - "645208854", - "645451710", - "646009482", - "646431090", - "646708318", - "647139742", - "647534574", - "648094906", - "648367754", - "648734894", - "649158802", - "649675654", - "650160422", - "650469458", - "650834126", - "651261698" + "801563611", + "802292119", + "800653870", + "801170606", + "801663662", + "802428234", + "803121214", + "803637106", + "801564554", + "797279414", + "793080878", + "788780418", + "784489742", + "780153374", + "776033050", + "771836234", + "767649042", + "763244234", + "751944266", + "737330374", + "722479822", + "707736534", + "693060614", + "678515426", + "664818246", + "665182810", + "665876706", + "666744362", + "667472506", + "668067462" ], "state_target_size_bytes": "3000000000", "rent_fee_1kb_state_size_low": "-17000", @@ -146,36 +146,36 @@ export const TESTNET_LIMITS: NetworkLimits = { "persistent_rent_rate_denominator": "1215", "temp_rent_rate_denominator": "2430", "live_soroban_state_size_window": [ - "428384390", - "428430404", - "428376904", - "428090295", - "428173007", - "428193043", - "428223431", - "428239683", - "428250219", - "428251275", - "426398251", - "426407555", - "426413167", - "426412271", - "426416351", - "426420287", - "426424099", - "426298533", - "426614325", - "426982937", - "427007853", - "427021357", - "427095893", - "427122911", - "427113399", - "426893721", - "427015848", - "427496584", - "427536329", - "427567281" + "416696078", + "415827914", + "415831850", + "418234927", + "418325696", + "418330600", + "418483387", + "419299137", + "418546931", + "418512030", + "418756046", + "418760558", + "418764590", + "418864337", + "418835353", + "419797905", + "419779181", + "418736731", + "419110240", + "419761525", + "420542925", + "421769190", + "421751802", + "421756130", + "421789231", + "420230971", + "420648146", + "422317417", + "425668384", + "425722992" ], "state_target_size_bytes": "3000000000", "rent_fee_1kb_state_size_low": "-17000", @@ -214,36 +214,36 @@ export const FUTURENET_LIMITS: NetworkLimits = { "persistent_rent_rate_denominator": "1215", "temp_rent_rate_denominator": "2430", "live_soroban_state_size_window": [ - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635", - "48491635" + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49582838", + "49583046", + "49583826", + "49583826", + "49583826", + "49584134", + "49584134", + "49585018", + "49585466", + "49585466", + "49585466", + "49585466", + "49585570", + "49586350" ], "state_target_size_bytes": "3000000000", "rent_fee_1kb_state_size_low": "-17000", diff --git a/tests/e2e/buildTransaction.test.ts b/tests/e2e/buildTransaction.test.ts index b71128e9f..9c896c05c 100644 --- a/tests/e2e/buildTransaction.test.ts +++ b/tests/e2e/buildTransaction.test.ts @@ -7,7 +7,7 @@ test.describe("Build Transaction Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Build Transaction"); + await expect(page.locator("h1")).toHaveText("Build transaction"); }); test("Initial state with errors", async ({ page }) => { @@ -195,7 +195,7 @@ test.describe("Build Transaction Page", () => { await expect(operationsErrors.getByText("Operation #1")).toBeHidden(); - await page.getByText("Add Operation").click(); + await page.getByText("Add operation").click(); await expect(operationsErrors.getByText("Operation #1")).toBeVisible(); await expect( @@ -266,7 +266,7 @@ test.describe("Build Transaction Page", () => { ).toHaveText(["Fix errors"]); // Clear operations - await page.getByText("Clear Operations").click(); + await page.getByText("Clear operations").click(); await expect(operation_0.getByLabel("Operation type")).toHaveValue(""); }); }); @@ -1035,7 +1035,7 @@ test.describe("Build Transaction Page", () => { await operation_0.getByLabel("Sponsored ID").fill(ACCOUNT_ONE); - await page.getByText("Add Operation").click(); + await page.getByText("Add operation").click(); const operation_1 = page.getByTestId("build-transaction-operation-1"); await operation_1 @@ -1325,7 +1325,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // 'Use Ledger Xdr' Tab is the default tab const useLedgerxdrTabButton = page.getByTestId("xdr"); @@ -1419,7 +1419,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // 'Use Ledger Xdr' Tab is the default tab const useLedgerxdrTabButton = page.getByTestId("xdr"); @@ -1644,7 +1644,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // Select Classic Operation await soroban_operation.getByLabel("Operation type").selectOption({ @@ -1657,7 +1657,7 @@ test.describe("Build Transaction Page", () => { await expect(classicOperation).toBeVisible(); - await expect(page.getByText("Add Operation")).toBeVisible(); + await expect(page.getByText("Add operation")).toBeVisible(); }); }); @@ -1685,7 +1685,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // 'Use Ledger Xdr' Tab is the default tab const useLedgerxdrTabButton = page.getByTestId("xdr"); @@ -1778,7 +1778,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // 'Use Ledger Xdr' Tab is the default tab const useLedgerxdrTabButton = page.getByTestId("xdr"); @@ -1994,7 +1994,7 @@ test.describe("Build Transaction Page", () => { // Soroban Operation only allows one operation // Add Operation button should be disabled - await expect(page.getByText("Add Operation")).toBeDisabled(); + await expect(page.getByText("Add operation")).toBeDisabled(); // Select Classic Operation await soroban_operation.getByLabel("Operation type").selectOption({ @@ -2007,7 +2007,7 @@ test.describe("Build Transaction Page", () => { await expect(classicOperation).toBeVisible(); - await expect(page.getByText("Add Operation")).toBeVisible(); + await expect(page.getByText("Add operation")).toBeVisible(); }); }); }); diff --git a/tests/e2e/createAccountPage.test.ts b/tests/e2e/createAccountPage.test.ts index 40c92ae7e..096bb7f07 100644 --- a/tests/e2e/createAccountPage.test.ts +++ b/tests/e2e/createAccountPage.test.ts @@ -6,7 +6,7 @@ test.describe("Create Account Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Keypair Generator"); + await expect(page.locator("h1")).toHaveText("Keypair generator"); }); test("Renders 'Generate keypair' and 'Fund account' button", async ({ diff --git a/tests/e2e/createMuxedAccountPage.test.ts b/tests/e2e/createMuxedAccountPage.test.ts index 9ed250087..c013716d9 100644 --- a/tests/e2e/createMuxedAccountPage.test.ts +++ b/tests/e2e/createMuxedAccountPage.test.ts @@ -8,7 +8,7 @@ test.describe("Create Muxed Account Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Create Multiplexed Account"); + await expect(page.locator("h1")).toHaveText("Create multiplexed account"); }); test("Renders 'Base Account G Address' and 'Muxed Account ID' input field", async ({ diff --git a/tests/e2e/feeBumpPage.test.ts b/tests/e2e/feeBumpPage.test.ts index ae6f372ac..2b47a08b9 100644 --- a/tests/e2e/feeBumpPage.test.ts +++ b/tests/e2e/feeBumpPage.test.ts @@ -6,7 +6,7 @@ test.describe("Fee Bump Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Fee Bump"); + await expect(page.locator("h1")).toHaveText("Fee bump"); await expect(page.getByText("Fee bump errors")).toBeVisible(); }); @@ -61,7 +61,7 @@ test.describe("Fee Bump Page", () => { await page.waitForURL("**/transaction/sign"); - await expect(page.locator("h1")).toHaveText("Transaction Overview"); + await expect(page.locator("h1")).toHaveText("Transaction overview"); await expect(page.getByLabel("Transaction Envelope XDR")).toHaveText( MOCK_XDR, ); diff --git a/tests/e2e/networkLimitsPage.test.ts b/tests/e2e/networkLimitsPage.test.ts index 155b6cc9a..64edbd550 100644 --- a/tests/e2e/networkLimitsPage.test.ts +++ b/tests/e2e/networkLimitsPage.test.ts @@ -22,7 +22,7 @@ test.describe("Network Limits page on Mainnet", () => { "Mainnet", ); - await expect(page.locator("h1")).toHaveText("Network Limits"); + await expect(page.locator("h1")).toHaveText("Network limits"); }); test("Displays introduction text and link", async ({ page }) => { diff --git a/tests/e2e/parseMuxedAccountPage.test.ts b/tests/e2e/parseMuxedAccountPage.test.ts index d9f6482c2..6b02d25b9 100644 --- a/tests/e2e/parseMuxedAccountPage.test.ts +++ b/tests/e2e/parseMuxedAccountPage.test.ts @@ -7,7 +7,7 @@ test.describe("Parse Muxed Account Page", () => { test("Loads", async ({ page }) => { await expect(page.locator("h1")).toHaveText( - "Get Muxed Account from M address", + "Get muxed account from M address", ); }); diff --git a/tests/e2e/savedKeypairs.test.ts b/tests/e2e/savedKeypairs.test.ts index b03559ecb..0e00d1932 100644 --- a/tests/e2e/savedKeypairs.test.ts +++ b/tests/e2e/savedKeypairs.test.ts @@ -16,7 +16,7 @@ test.describe("Saved Keypairs Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Saved Keypairs"); + await expect(page.locator("h1")).toHaveText("Saved keypairs"); }); test("Show no saved keypairs message", async ({ page }) => { diff --git a/tests/e2e/savedSmartContractIds.test.ts b/tests/e2e/savedSmartContractIds.test.ts index 3ee1b8647..c8fee6408 100644 --- a/tests/e2e/savedSmartContractIds.test.ts +++ b/tests/e2e/savedSmartContractIds.test.ts @@ -7,7 +7,7 @@ test.describe("Saved Smart Contracts Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Saved Smart Contracts"); + await expect(page.locator("h1")).toHaveText("Saved smart contracts"); }); test("Show no saved smart contracts message", async ({ page }) => { diff --git a/tests/e2e/savedTransactions.test.ts b/tests/e2e/savedTransactions.test.ts index 65885674e..8a949d4f6 100644 --- a/tests/e2e/savedTransactions.test.ts +++ b/tests/e2e/savedTransactions.test.ts @@ -7,7 +7,7 @@ test.describe("Saved Transactions Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Saved Transactions"); + await expect(page.locator("h1")).toHaveText("Saved transactions"); }); test("Empty message", async ({ page }) => { @@ -75,7 +75,7 @@ test.describe("Saved Transactions Page", () => { await submitItem.getByText("View in submitter").click(); await pageContext.waitForURL("**/transaction/submit"); - await expect(pageContext.locator("h1")).toHaveText("Submit Transaction"); + await expect(pageContext.locator("h1")).toHaveText("Submit transaction"); await expect( pageContext.getByLabel("Input a base-64 encoded TransactionEnvelope:"), ).toHaveValue( @@ -108,7 +108,7 @@ test.describe("Saved Transactions Page", () => { await buildItem.getByText("View in builder", { exact: true }).click(); await pageContext.waitForURL("**/transaction/build"); - await expect(pageContext.locator("h1")).toHaveText("Build Transaction"); + await expect(pageContext.locator("h1")).toHaveText("Build transaction"); // Params await expect( @@ -172,7 +172,7 @@ test.describe("Saved Transactions Page", () => { await submitItem.getByText("View in submitter").click(); await pageContext.waitForURL("**/transaction/submit"); - await expect(pageContext.locator("h1")).toHaveText("Submit Transaction"); + await expect(pageContext.locator("h1")).toHaveText("Submit transaction"); await expect( pageContext.getByLabel("Input a base-64 encoded TransactionEnvelope:"), ).toHaveValue( diff --git a/tests/e2e/signTransactionPage.test.ts b/tests/e2e/signTransactionPage.test.ts index 58ad92ac2..f4c24387d 100644 --- a/tests/e2e/signTransactionPage.test.ts +++ b/tests/e2e/signTransactionPage.test.ts @@ -6,7 +6,7 @@ test.describe("Sign Transaction Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Sign Transaction"); + await expect(page.locator("h1")).toHaveText("Sign transaction"); }); test("Overview with a VALID Classic Transaction with ONE operation envelope XDR", async ({ diff --git a/tests/e2e/signerSelector.test.ts b/tests/e2e/signerSelector.test.ts index 88a986ff2..77837d41f 100644 --- a/tests/e2e/signerSelector.test.ts +++ b/tests/e2e/signerSelector.test.ts @@ -29,7 +29,7 @@ async function validateSignerSelectorOptions(page: Page) { ".SignerSelector__dropdown__item__value", ); - await expect(labels).toHaveText("Saved Keypairs"); + await expect(labels).toHaveText("Saved keypairs"); await expect(values.nth(0)).toHaveText("[Account 1]GA46...GMXG"); await expect(values.nth(1)).toHaveText("[Account 2]GC5T...Z6LD"); @@ -48,7 +48,7 @@ test.describe("Signer Selector", () => { }); test("Loads", async () => { - await expect(pageContext.locator("h1")).toHaveText("Build Transaction"); + await expect(pageContext.locator("h1")).toHaveText("Build transaction"); }); test("'Get address' dropdown works for source account", async () => { @@ -82,7 +82,7 @@ test.describe("Signer Selector", () => { }); test("Loads", async () => { - await expect(pageContext.locator("h1")).toHaveText("Sign Transaction"); + await expect(pageContext.locator("h1")).toHaveText("Sign transaction"); }); test("'Use secret key' dropdown works for source account", async () => { diff --git a/tests/e2e/simulateTransactionPage.test.ts b/tests/e2e/simulateTransactionPage.test.ts index 5b81c089f..37d291ae4 100644 --- a/tests/e2e/simulateTransactionPage.test.ts +++ b/tests/e2e/simulateTransactionPage.test.ts @@ -6,7 +6,7 @@ test.describe("Simulate Transaction Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Simulate Transaction"); + await expect(page.locator("h1")).toHaveText("Simulate transaction"); }); test.describe("Instruction Leeway Input", () => { diff --git a/tests/e2e/smartContractsContractInfo.test.ts b/tests/e2e/smartContractsContractInfo.test.ts index 427f3cf06..19ee2a1e8 100644 --- a/tests/e2e/smartContractsContractInfo.test.ts +++ b/tests/e2e/smartContractsContractInfo.test.ts @@ -15,7 +15,7 @@ test.describe("Smart Contracts: Contract Info", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Contract Explorer"); + await expect(page.locator("h1")).toHaveText("Contract explorer"); await expect(page.getByLabel("Contract ID")).toHaveValue(""); await expect( page.getByRole("button", { name: "Load contract" }), diff --git a/tests/e2e/smartContractsStorage.test.ts b/tests/e2e/smartContractsStorage.test.ts index 2720ae93f..0d327ec4a 100644 --- a/tests/e2e/smartContractsStorage.test.ts +++ b/tests/e2e/smartContractsStorage.test.ts @@ -41,7 +41,7 @@ test.describe("Smart Contracts: Contract Storage", () => { ); await page.goto("http://localhost:3000/smart-contracts/contract-explorer"); - await expect(page.locator("h1")).toHaveText("Contract Explorer"); + await expect(page.locator("h1")).toHaveText("Contract explorer"); // Load Contract Info await page.getByLabel("Contract ID").fill(MOCK_CONTRACT_ID); diff --git a/tests/e2e/smartContractsVersionHistory.test.ts b/tests/e2e/smartContractsVersionHistory.test.ts index 9053922e5..83a9677c9 100644 --- a/tests/e2e/smartContractsVersionHistory.test.ts +++ b/tests/e2e/smartContractsVersionHistory.test.ts @@ -41,7 +41,7 @@ test.describe("Smart Contracts: Version History", () => { ); await page.goto("http://localhost:3000/smart-contracts/contract-explorer"); - await expect(page.locator("h1")).toHaveText("Contract Explorer"); + await expect(page.locator("h1")).toHaveText("Contract explorer"); // Load Contract Info await page.getByLabel("Contract ID").fill(MOCK_CONTRACT_ID); diff --git a/tests/e2e/submitTransactionPage.test.ts b/tests/e2e/submitTransactionPage.test.ts index ba866e13b..251a2d29f 100644 --- a/tests/e2e/submitTransactionPage.test.ts +++ b/tests/e2e/submitTransactionPage.test.ts @@ -7,7 +7,7 @@ test.describe("Submit Transaction Page", () => { }); test("Loads", async ({ page }) => { - await expect(page.locator("h1")).toHaveText("Submit Transaction"); + await expect(page.locator("h1")).toHaveText("Submit transaction"); }); test("Save Transaction Flow", async ({ page }) => { @@ -62,7 +62,7 @@ test.describe("Submit Transaction Page", () => { await page.waitForURL(/\/transaction\/simulate\?/); - await expect(page.locator("h1")).toHaveText("Simulate Transaction"); + await expect(page.locator("h1")).toHaveText("Simulate transaction"); await expect( page.getByLabel("Input a base-64 encoded TransactionEnvelope"), diff --git a/tests/e2e/txDashInfo.test.ts b/tests/e2e/txDashInfo.test.ts index 9bc92d32c..edf3ac1f2 100644 --- a/tests/e2e/txDashInfo.test.ts +++ b/tests/e2e/txDashInfo.test.ts @@ -18,7 +18,7 @@ test.describe("Transaction Dashboard", () => { test("Loads", async ({ page }) => { await page.waitForSelector("h1", { timeout: 5000 }); - await expect(page.locator("h1")).toHaveText("Transaction Dashboard"); + await expect(page.locator("h1")).toHaveText("Transaction dashboard"); }); test("Soroban transaction info", async ({ page }) => { diff --git a/tests/e2e/txDashStateChange.test.ts b/tests/e2e/txDashStateChange.test.ts index 203da7491..92db0b43f 100644 --- a/tests/e2e/txDashStateChange.test.ts +++ b/tests/e2e/txDashStateChange.test.ts @@ -144,7 +144,7 @@ const testTxStateChange = async ({ }); }); - await expect(page.locator("h1")).toHaveText("Transaction Dashboard"); + await expect(page.locator("h1")).toHaveText("Transaction dashboard"); // Fill Transaction Hash input and trigger the API call const loadTxButton = page.getByRole("button", { name: "Load transaction" }); diff --git a/tests/e2e/urlParams.test.ts b/tests/e2e/urlParams.test.ts index aca1afebe..2dd7ad68a 100644 --- a/tests/e2e/urlParams.test.ts +++ b/tests/e2e/urlParams.test.ts @@ -41,7 +41,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/build?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&transaction$build$classic$operations@$operation_type=create_account¶ms$destination=GC5TQ7TXKHGE5JQMZPYV5KBSQ67X6PYQVU5QN7JRGWCHRA227UFPZ6LD&starting_balance=3000;&source_account=;&$operation_type=payment¶ms$destination=GAJAIHPKNTJ362TAUWTU2S56B7PULRTMY456LUELK53USX43537IFMS3&asset$code=USDC&issuer=GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5&type=credit_alphanum4;&amount=4000;&source_account=GA46LGGOLXJY5OSX6N4LHV4MWDFXNGLK76I4NDNKKYAXRRSKI5AJGMXG;;;¶ms$source_account=GA46LGGOLXJY5OSX6N4LHV4MWDFXNGLK76I4NDNKKYAXRRSKI5AJGMXG&fee=2000&seq_num=3668692344766465&cond$time$max_time=1733409768;;&memo$text=123;;&isValid$params:true&operations:true;;", ); - await expect(page.locator("h1")).toHaveText("Build Transaction"); + await expect(page.locator("h1")).toHaveText("Build transaction"); // Params await expect( @@ -116,7 +116,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/sign?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&transaction$sign$activeView=overview&importXdr=AAAAAgAAAAA55ZjOXdOOulfzeLPXjLDLdplq//5HGjapWAXjGSkdAkwAAD6AADQioAAAAAQAAAAEAAAAAAAAAAAAAAABnUbvoAAAAAQAAAAMxMjMAAAAAAgAAAAAAAAAAAAAAALs4fndRzE6mDMvxXqgyh79//PxCtOwb9MTWEeINa//Qr8AAAABvwjrAAAAAABAAAAADnlmM5d0466V//N4s9eMsMt2mWr//kcaNqlYBeMZKR0CTAAAAAQAAAAASBB3qbNO//amClp01Lvg//fRcZsxzvl0ItXd0lfm+7+ggAAAAFVU0RDAAAAAEI+fQXy7K+//7BkrIVo//G+lq7bjY5wJUq+NBPgIH3layAAAACVAvkAAAAAAAAAAAAA==;;", ); - await expect(page.locator("h1")).toHaveText("Transaction Overview"); + await expect(page.locator("h1")).toHaveText("Transaction overview"); await expect(page.getByLabel("Signing for")).toHaveValue( "Test SDF Network ; September 2015", @@ -134,7 +134,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/simulate?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&xdr$blob=AAAAAgAAAAA55ZjOXdOOulfzeLPXjLDLdplq//5HGjapWAXjGSkdAkwAAD6AADQioAAAAAQAAAAEAAAAAAAAAAAAAAABnUbvoAAAAAQAAAAMxMjMAAAAAAgAAAAAAAAAAAAAAALs4fndRzE6mDMvxXqgyh79//PxCtOwb9MTWEeINa//Qr8AAAABvwjrAAAAAABAAAAADnlmM5d0466V//N4s9eMsMt2mWr//kcaNqlYBeMZKR0CTAAAAAQAAAAASBB3qbNO//amClp01Lvg//fRcZsxzvl0ItXd0lfm+7+ggAAAAFVU0RDAAAAAEI+fQXy7K+//7BkrIVo//G+lq7bjY5wJUq+NBPgIH3layAAAACVAvkAAAAAAAAAAAAA==;;", ); - await expect(page.locator("h1")).toHaveText("Simulate Transaction"); + await expect(page.locator("h1")).toHaveText("Simulate transaction"); await expect( page.getByLabel("Input a base-64 encoded TransactionEnvelope"), @@ -148,7 +148,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/submit?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&xdr$blob=AAAAAgAAAAA55ZjOXdOOulfzeLPXjLDLdplq//5HGjapWAXjGSkdAkwAAD6AADQioAAAAAQAAAAEAAAAAAAAAAAAAAABnUbvoAAAAAQAAAAMxMjMAAAAAAgAAAAAAAAAAAAAAALs4fndRzE6mDMvxXqgyh79//PxCtOwb9MTWEeINa//Qr8AAAABvwjrAAAAAABAAAAADnlmM5d0466V//N4s9eMsMt2mWr//kcaNqlYBeMZKR0CTAAAAAQAAAAASBB3qbNO//amClp01Lvg//fRcZsxzvl0ItXd0lfm+7+ggAAAAFVU0RDAAAAAEI+fQXy7K+//7BkrIVo//G+lq7bjY5wJUq+NBPgIH3layAAAACVAvkAAAAAAAAAAAAA==;;", ); - await expect(page.locator("h1")).toHaveText("Submit Transaction"); + await expect(page.locator("h1")).toHaveText("Submit transaction"); await expect( page.getByLabel("Input a base-64 encoded TransactionEnvelope"), @@ -165,7 +165,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/build?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&transaction$build$classic$operations@$operation_type=payment¶ms$destination=GA46LGGOLXJY5OSX6N4LHV4MWDFXNGLK76I4NDNKKYAXRRSKI5AJGMXG&asset$code=&issuer=&type=native;&amount=5;&source_account=;;;&soroban$operation$operation_type=extend_footprint_ttl¶ms$contractDataLedgerKey=AAAABgAAAAEg/u86MzPrVcpNrsFUa84T82Kss8DLAE9ZMxLqhM22HwAAABAAAAABAAAAAgAAAA8AAAAHQ291bnRlcgAAAAASAAAAAAAAAAB+TL0HLiAjanMRnyeqyhb8Iu+4d1g2dl1cwPi1UZAigwAAAAE=&extend_ttl_to=20000&resource_fee=46753;;;¶ms$source_account=GB7EZPIHFYQCG2TTCGPSPKWKC36CF35YO5MDM5S5LTAPRNKRSARIHWGG&seq_num=1727208213184538&cond$time$min_time=1733409768;;&memo$text=100;;&isValid$params:true&operations:true;;", ); - await expect(page.locator("h1")).toHaveText("Build Transaction"); + await expect(page.locator("h1")).toHaveText("Build transaction"); // Params await expect( @@ -209,7 +209,7 @@ test.describe("URL Params", () => { "http://localhost:3000/transaction/fee-bump?$=network$id=testnet&label=Testnet&horizonUrl=https:////horizon-testnet.stellar.org&rpcUrl=https:////soroban-testnet.stellar.org&passphrase=Test%20SDF%20Network%20/;%20September%202015;&transaction$feeBump$source_account=GA46LGGOLXJY5OSX6N4LHV4MWDFXNGLK76I4NDNKKYAXRRSKI5AJGMXG&fee=2000&xdr=AAAAAgAAAAA55ZjOXdOOulfzeLPXjLDLdplq//5HGjapWAXjGSkdAkwAAD6AADQioAAAAAQAAAAEAAAAAAAAAAAAAAABnUbvoAAAAAQAAAAMxMjMAAAAAAgAAAAAAAAAAAAAAALs4fndRzE6mDMvxXqgyh79//PxCtOwb9MTWEeINa//Qr8AAAABvwjrAAAAAABAAAAADnlmM5d0466V//N4s9eMsMt2mWr//kcaNqlYBeMZKR0CTAAAAAQAAAAASBB3qbNO//amClp01Lvg//fRcZsxzvl0ItXd0lfm+7+ggAAAAFVU0RDAAAAAEI+fQXy7K+//7BkrIVo//G+lq7bjY5wJUq+NBPgIH3layAAAACVAvkAAAAAAAAAAAAA==;;", ); - await expect(page.locator("h1")).toHaveText("Fee Bump"); + await expect(page.locator("h1")).toHaveText("Fee bump"); await expect(page.getByLabel("Source Account")).toHaveValue( "GA46LGGOLXJY5OSX6N4LHV4MWDFXNGLK76I4NDNKKYAXRRSKI5AJGMXG",