You have correct comparison of success prop in writeText method but inversed comparison in readText method.
Actual behavior
You're getting error upon reading by readText method when it does not have real error.
Expected behavior
No error upon reading text by readText method.
Screenshots
https://i.imgur.com/6lcUGcy.png
You have correct comparison of
successprop inwriteTextmethod but inversed comparison in readText method.Actual behavior
You're getting error upon reading by readText method when it does not have real error.
Expected behavior
No error upon reading text by readText method.
Screenshots
https://i.imgur.com/6lcUGcy.png