Closed gbl-jackibarra closed 5 years ago
Verified the changes on local environment and the following are the findings:
In my opinion, it might be wise to avoid the clicking of any operators right after the '(' since it's technically looking for an operand.
After further investigation, it always fails when there is a left parenthesis, and operator and then the carat sign. One other thing I observed was that if we enter an equation, into the calculator, that has a trailing operator (tried with +,-,*,/) then it shows an 'Error' in the calculator screen/label.
We might want better handling of where the operators should be considered in the calculation and where they should get ignored.
Removed the code review and QA labels as per discussion with Jack who will be working on a solution for the error.
@james-west-il I updated the PR. so kamna requested for re-approve it
The failure can still be seen. Assigning to Jack as per our discussion.
Verified on local machine. Working fine. Passed QA.
Closes MATH-1825
Purpose Pressing the (^) after a subtract sign (-), causes the next click to crash. On lesson player, this brings up the Something went wrong screen. Locally, you cannot press any other buttons. This fix allows you to do this without raising any exception .
To QA
First scenario:
^
button onceSecond scenario: