Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e: test different types of outputs for feature 'Ecxecute method' #225

Merged

Conversation

dennis00010011b
Copy link

Relates #219
Added e2e tests:

Execute Method screen
       Check UI and button's functionality
         ✓ Click button 'Send', 'Execute Method' screen opens (3200ms)
         ✓ title is displayed and correct (141ms)
         ✓ Click arrow  button leads to main screen (271ms)
         ✓ Click button 'Send', 'Execute Method' screen opens (3347ms)
       Check output for data type : ADDRESS
         ✓ Select method 'returnAddress' (1344ms)
         ✓ Button 'Call data' is displayed and disabled (142ms)
         ✓ Fill out input field 'Address' (419ms)
         ✓ Button 'Call data' is displayed and enabled (396ms)
         ✓ method returns correct value (3256ms)
         ✓ 2nd call doesn't throw the error (616ms)
       Check output for data type : STRING
         ✓ Select method 'returnString' (4348ms)
         ✓ Fill out input parameter field  (253ms)
         ✓ Click button 'Call data'  (382ms)
         ✓ method returns correct value (3254ms)
       Check output for data type : BOOLEAN
         ✓ Select method 'returnBoolean' (1225ms)
         ✓ Fill out input parameter field, value is TRUE (259ms)
         ✓ Click button 'Call data'  (384ms)
         ✓ method returns correct value: TRUE (3261ms)
         ✓ Fill out input parameter field, value is FALSE  (502ms)
         ✓ Click button 'Call data'  (369ms)
         ✓ method returns correct value, FALSE (3306ms)
       Check output for data type : BYTES
         ✓ Select method 'returnBytes1' (1286ms)
         ✓ Fill out input parameter field  (210ms)
         ✓ Click button 'Call data'  (378ms)
         ✓ method returns correct value (3399ms)
       Check output for data type : UINT256
         ✓ Select method 'returnUint256' (1262ms)
         ✓ Fill out input parameter field  (347ms)
         ✓ Click button 'Call data'  (400ms)
         ✓ method returns correct value (3249ms)
       Check output for data type : INT256
         ✓ Select method 'returnInt256' (1217ms)
         ✓ Fill out input parameter field  (436ms)
         ✓ Click button 'Call data'  (382ms)
         ✓ method returns correct value (3251ms)
       Check executed method
         ✓ Select method 'transfer' (1237ms)
         ✓ Button 'Copy ABI encoded' is displayed (133ms)
         ✓ Button 'Copy ABI encoded' is disabled (140ms)
         ✓ Button 'Next' is disabled (138ms)
         ✓ Fill out parameter '_value' with valid data (148ms)
         ✓ Button 'Copy ABI encoded' is disabled (139ms)
         ✓ Button 'Next' is disabled (214ms)
         ✓ Fill out parameter '_to'  with wrong data (398ms)
         ✓ Error message if click 'Copy ABI encoded' with wrong address (502ms)
         ✓ Close error message (486ms)
         - Error message if click 'Next' with wrong address
         - Close error message
         ✓ Fill out parameter '_to' with valid data (1152ms)
         ✓ Button 'Next' is enabled (135ms)
         ✓ Button 'Copy ABI encoded' is enabled (387ms)
         ✓ Click button 'Next' (402ms)
     Choose Contract Executor
       ✓ title is displayed and correct (5201ms)
       ✓ two accounts displayed (141ms)
       ✓ Click arrow  button leads to 'Execute Method' screen  (2566ms)
       ✓ Return back to 'Choose Contract Executor' screen (406ms)
       ✓ Button 'Next' is disabled by default (138ms)
       ✓ User is able to select account (371ms)
       ✓ User is able to select only one account (239ms)
       ✓ Click button 'Next' open 'Confirm transaction' screen (5718ms)
       ✓ Label 'CONTRACT' present (521ms)
       ✓ Delete imported account (1287ms)


@ghost ghost assigned dennis00010011b Dec 19, 2018
@ghost ghost added the in progress label Dec 19, 2018
@vbaranov vbaranov merged commit 99c79e0 into poanetwork:contract-call-multiple-outputs Dec 19, 2018
@ghost ghost removed the in progress label Dec 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants