👩💻 Join our community of thousands of amazing developers!
Recently a Cypress asked in my Discord channel the following question:I have a question, is the below a good practice? I have a 'Test' class (in another file, of course), in it there is a method that takes text from an element. Is assigning an alias in the class and then using that alias in the test a correct approach? Because it's a bit unclear in the test, especially when the project grows, where a given alias comes from.How does the test "know" if a page object method sets a Cypress alias? Le...