File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def pytest_addoption(parser):
1616 )
1717 parser .addoption (
1818 '--base-address' ,
19- default = 'http://localhost:8000 /' ,
19+ default = 'http://localhost:4200 /' ,
2020 help = 'specifies the base address where the application is running' ,
2121 dest = BASE_ADDRESS_OPTION_NAME ,
2222 )
@@ -66,11 +66,6 @@ def browser(webdriver_instance):
6666def base_address (pytestconfig ):
6767 return pytestconfig .getoption (BASE_ADDRESS_OPTION_NAME )
6868
69- @pytest .fixture ()
70- def frontend_address ():
71- """ Returns the frontend address of the LangPro Annotator application. """
72- return 'http://localhost:4200/'
73-
7469@pytest .fixture
7570def api_address (base_address ):
7671 return base_address + 'api/'
Original file line number Diff line number Diff line change 1- def test_langpro_annotator_frontend (browser , frontend_address ):
2- browser .get (frontend_address )
1+ def test_langpro_annotator_frontend (browser , base_address ):
2+ browser .get (base_address )
33 try :
44 assert 'LangPro Annotator' in browser .title
55 except :
You can’t perform that action at this time.
0 commit comments