browser
fixture is defined in conftest.py file.- --language command line option is defined and processed in conftest.py file.
Value specified with the option can be used in test throughlanguage
fixture. Default value is set to be en-gb (British English). - Testing is done within the
TestCart
class in test_items.py file:
test_add_button_present
does what is asked in the task.- Other test are beyond the task and are skipped by default.