MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / acceptTermOfUse

Function acceptTermOfUse

e2e/viewHelper.js:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36const validAccount = Accounts.getValidAccount();
37
38export const acceptTermOfUse = async () => {
39 // tap on accept term of use screen
40 await TestHelpers.delay(3500);
41 await TermsOfUseModal.isDisplayed();
42 await TermsOfUseModal.tapScrollEndButton();
43 await TermsOfUseModal.tapAgreeCheckBox();
44 await TestHelpers.delay(3500);
45 await TermsOfUseModal.tapAcceptButton();
46 await TermsOfUseModal.isNotDisplayed();
47};
48
49export const importWalletWithRecoveryPhrase = async () => {
50 // tap on import seed phrase button

Calls 6

delayMethod · 0.80
isDisplayedMethod · 0.45
tapScrollEndButtonMethod · 0.45
tapAgreeCheckBoxMethod · 0.45
tapAcceptButtonMethod · 0.45
isNotDisplayedMethod · 0.45

Tested by

no test coverage detected