Hello! I'm quite new to Cypress, but I'm working hard to learn! I'm trying to build out tests for APIs, but am getting stuck at getting the authorize token into the test from my custom command. I am able to see it in the alias I created, but the variable on the actual test says it isn't defined. Would someone please show me what's wrong? I'm so interested in learning and am frustrated at getting stuck on this! I covered up some confidential things in the screenshots, but I don't think it will hinder people from seeing the code . The first screenshot is the custom command and the second is the test.
https://cdn.discordapp.com/attachments/1111120414022832158/1111122195641553016/image.png▾
https://cdn.discordapp.com/attachments/1111120414022832158/1111122195951923261/image.png▾