-
await t.click(Selector("fieldset p").withText("Time Format is required"));
});
-test("should salve settings", async (t) => {
+test("should save settings", async (t) => {
const nameInput = Selector("input[name=name]");
await t.typeText(nameInput, "Anne Doe");
diff --git a/src/domains/setting/pages/Settings/Settings.tsx b/src/domains/setting/pages/Settings/Settings.tsx
index a68aff87e6..ca83bc2a24 100644
--- a/src/domains/setting/pages/Settings/Settings.tsx
+++ b/src/domains/setting/pages/Settings/Settings.tsx
@@ -61,5 +61,5 @@ export const Settings = ({ onSubmit }: SettingsProps) => {
};
Settings.defaultProps = {
- onSubmit: (profileData: any) => console.log({ profileData }),
+ onSubmit: (profileData: any) => profileData,
};
diff --git a/src/domains/transaction/e2e/transactions-routing.e2e.ts b/src/domains/transaction/e2e/transactions-routing.e2e.ts
index 9a74ea07c7..7c691aa3cb 100644
--- a/src/domains/transaction/e2e/transactions-routing.e2e.ts
+++ b/src/domains/transaction/e2e/transactions-routing.e2e.ts
@@ -20,7 +20,7 @@ test("should navigate to portfolio and sign message", async (t) => {
// Handle sign message
await t.click(Selector("span").withText(translations().COMMON.GO_BACK_TO_PORTFOLIO));
- await t.click(Selector("[data-testid=WalletCard__1ASuusXSW9kfWnicScSgUTjttP6T9GQ3kqT]"));
+ await t.click(Selector("[data-testid=WalletCard__ac38fe6d-4b67-4ef1-85be-17c5f6841129]"));
await scrollBy(0, -200);
await t.click(Selector("[data-testid=WalletHeader__more-button]"));
await t.click(Selector("li").withText(translations().WALLETS.PAGE_WALLET_DETAILS.OPTIONS.SIGN_MESSAGE));
@@ -35,7 +35,7 @@ test("should navigate to portfolio and access registrations", async (t) => {
await t.expect(Selector("div").withText(translations().COMMON.WALLETS).exists).ok();
// Go to registrations
- await t.click(Selector("[data-testid=WalletCard__1ASuusXSW9kfWnicScSgUTjttP6T9GQ3kqT]"));
+ await t.click(Selector("[data-testid=WalletCard__ac38fe6d-4b67-4ef1-85be-17c5f6841129]"));
await t.click(Selector("[data-testid=WalletRegistrations__show-all]"));
await t.expect(Selector("h1").withText(translations().PROFILE.PAGE_MY_REGISTRATIONS.TITLE).exists).ok();
});
@@ -45,7 +45,7 @@ test("should navigate to portfolio and registrate", async (t) => {
await t.expect(Selector("div").withText(translations().COMMON.WALLETS).exists).ok();
// Go to registrations
- await t.click(Selector("[data-testid=WalletCard__1ASuusXSW9kfWnicScSgUTjttP6T9GQ3kqT]"));
+ await t.click(Selector("[data-testid=WalletCard__ac38fe6d-4b67-4ef1-85be-17c5f6841129]"));
await t.click(Selector("[data-testid=WalletRegistrations__register]"));
await t.expect(Selector("h1").withText("Registration").exists).ok();
});
diff --git a/src/domains/wallet/e2e/wallets-routing.e2e.ts b/src/domains/wallet/e2e/wallets-routing.e2e.ts
index 86655b38d3..d3294f0827 100644
--- a/src/domains/wallet/e2e/wallets-routing.e2e.ts
+++ b/src/domains/wallet/e2e/wallets-routing.e2e.ts
@@ -8,7 +8,7 @@ test("should navigate to portfolio and access a wallet details", async (t) => {
await t.click(Selector("p").withText("John Doe"));
await t.expect(Selector("div").withText(translations().COMMON.WALLETS).exists).ok();
- await t.click(Selector("[data-testid=WalletCard__1ASuusXSW9kfWnicScSgUTjttP6T9GQ3kqT]"));
+ await t.click(Selector("[data-testid=WalletCard__ac38fe6d-4b67-4ef1-85be-17c5f6841129]"));
await t.expect(Selector("h2").withText("ARK Wallet 1").exists).ok();
});