https://cypress.io logo
Hello I'm new to the cypress and I'm trying to wri...
# e2e-testing
e
Hello I'm new to the cypress and I'm trying to write some basic e2e tests for my Hangman js/html/css project. The goal I'm trying to achive is to run getWord() function and work with the word (press buttons that contain Letters in word and win the game). Unfortunately As I try command var name = getWord() I got an error saying getWord is not defined. I tried to include ./Hangman.js file (whole logic is here including specific function) but was unsuccessful. Can anyone help me please? Thank a lot
3 Views