Skip to content

Commit e65e677

Browse files
committed
update functional test base address to refer to port 4200
1 parent 3608feb commit e65e677

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

functional-tests/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ def browser(webdriver_instance):
6666
def 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/'
6973

7074
@pytest.fixture
7175
def api_address(base_address):

functional-tests/test_foundations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
def test_langpro_annotator_frontend(browser, base_address):
2-
print('Base address:', base_address)
3-
browser.get(base_address)
1+
def test_langpro_annotator_frontend(browser, frontend_address):
2+
browser.get(frontend_address)
43
try:
54
assert 'LangPro Annotator' in browser.title
65
except:

0 commit comments

Comments
 (0)