Affect variable #18620
Unanswered
pcmanprogrammeur
asked this question in
Questions and Help
Affect variable
#18620
Replies: 2 comments
-
Hi! Looks like your first |
Beta Was this translation helpful? Give feedback.
0 replies
-
1: you cannot use async keyword and functions in cypress hooks and tests
2: find a video why cy log prints null among my videos at https://cypress.tips/search
…Sent from my iPhone
On Oct 25, 2021, at 06:41, Mark Noonan ***@***.***> wrote:
Hi! Looks like your first console.log call is outside the then, so it runs before that href has been assigned to the link variable.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
The first
cy.log(link)
return empty string. Do you know why please ?Beta Was this translation helpful? Give feedback.
All reactions