diff --git a/apps/ledger-live-desktop/tests/enum/Currency.ts b/apps/ledger-live-desktop/tests/enum/Currency.ts index 0c5f51533ede..1c42be50a292 100644 --- a/apps/ledger-live-desktop/tests/enum/Currency.ts +++ b/apps/ledger-live-desktop/tests/enum/Currency.ts @@ -38,28 +38,28 @@ export class Currency { "Ethereum", "ETH", "Ethereum", - [DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT], + [DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT], [DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT], ); static readonly tETH = new Currency( "Ethereum Holesky", "𝚝ETH", "Ethereum Holesky", - [DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT], + [DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT], [DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT], ); static readonly sepETH = new Currency( "Ethereum Sepolia", "𝚝ETH", "Ethereum Sepolia", - [DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT], + [DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT], [DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT], ); static readonly ETC = new Currency( "Ethereum Classic", "ETC", "Ethereum Classic", - [DeviceLabels.AMOUT, DeviceLabels.ADDRESS, DeviceLabels.ACCEPT, DeviceLabels.REJECT], + [DeviceLabels.AMOUT, DeviceLabels.TO, DeviceLabels.ACCEPT, DeviceLabels.REJECT], [DeviceLabels.ADDRESS, DeviceLabels.APPROVE, DeviceLabels.REJECT], ); static readonly SOL = new Currency( diff --git a/apps/ledger-live-desktop/tests/page/speculos.page.ts b/apps/ledger-live-desktop/tests/page/speculos.page.ts index a2fa47fdd0e1..71f836c57fbb 100644 --- a/apps/ledger-live-desktop/tests/page/speculos.page.ts +++ b/apps/ledger-live-desktop/tests/page/speculos.page.ts @@ -25,9 +25,9 @@ export class SpeculosPage extends AppPage { @step("Verify transaction info on device") async expectValidTxInfo(tx: Transaction) { - const amountScreen = await pressRightUntil(DeviceLabels.AMOUT); + const amountScreen = await pressRightUntil(tx.accountToDebit.currency.sendPattern[0]); expect(verifyAmount(tx.amount, amountScreen)).toBe(true); - const addressScreen = await pressRightUntil(DeviceLabels.ADDRESS); + const addressScreen = await pressRightUntil(tx.accountToDebit.currency.sendPattern[1]); expect(assertAddressesEquality(tx.recipient, addressScreen)).toBe(true); await pressRightUntil(tx.accountToDebit.currency.sendPattern[2]); await pressBoth();