Sign in
Log inSign up
Jakša Milanović

52 likes

·

1.5K reads

3 comments

Vojko Pribudić
Vojko Pribudić
May 22, 2022

Looking forward to reading more about Playwright.

3
·
Gustavo Matto
Gustavo Matto
Nov 19, 2022

Thanks for this solution, Jaksa, just what I was looking for. Just a question: then you need two files for this, conftest.py and config.py?

·
·1 reply
Jakša Milanović
Jakša Milanović
Author
·Nov 23, 2022

Yes, conftest.py is a file read by pytest that executes test-specific things, such as fixtures, while the config.py file stores application-specific things, such as the project environment. Maybe you could squeeze everything into one file, but I wouldn't recommend that for better readability.

1
·