So I have this structure of folders:
./tests inside i have 1 file with multiple tests ( this one needs to use LoginKC.json ) ./tests/testsCMS and also have 1 file with multiple tests ( this one LoginCMS.json )
I have 2 login tests inside global.setup.ts that creates json-s above
I can't figure out how to setup in projects and dependencies that ./tests user LoginKC.json and ./tests/testsCMS to use LoginCMS.json
This is latest that I tried I know in here there is extra projects that I don't actually need but I'm trying to figure out what is happening
This thread is trying to answer question "How to setup projects and dependencies so that different folders use different json files?"
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 [email protected].