← Back to Discord Forum

Passing a variable from config to test file

Hi everybody,

I have got a small question about passing variables from playwright.config.js to back_login.setup.js file.

Why is BACK_URL undefined in back_login.setup.js ? See attached images please.

Thank you very much !


This thread is trying to answer question "Why is BACK_URL undefined in back_login.setup.js when it's being passed from playwright.config.js?"

0 replies
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.