Error: Numbers do not display correctly within id=“display” : expected ‘1’ to equal ‘123’
When using the calculator it behaves as expected for the tests so far. When I comment out the number 1 on my calculator, it displays: expected ‘2’ to equal ‘123’. When I comment out the numbers 1 and 2, it displays: expected ‘3’ to equal ‘123’. This leads me to believe the test is able to find the buttons properly, but it is failing after clicking the first button. I set up console logs to display the number being clicked and cannot see the expected output of 1, 2, 3 when the tests are ran. I dont see any errors. Any insights would be greatly appreciated!
Your code so far
Your browser information:
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.
Link to the challenge: