We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3608feb commit e65e677Copy full SHA for e65e677
2 files changed
functional-tests/conftest.py
@@ -66,6 +66,10 @@ def browser(webdriver_instance):
66
def base_address(pytestconfig):
67
return pytestconfig.getoption(BASE_ADDRESS_OPTION_NAME)
68
69
+@pytest.fixture()
70
+def frontend_address():
71
+ """ Returns the frontend address of the LangPro Annotator application. """
72
+ return 'http://localhost:4200/'
73
74
@pytest.fixture
75
def api_address(base_address):
functional-tests/test_foundations.py
@@ -1,6 +1,5 @@
1
-def test_langpro_annotator_frontend(browser, base_address):
2
- print('Base address:', base_address)
3
- browser.get(base_address)
+def test_langpro_annotator_frontend(browser, frontend_address):
+ browser.get(frontend_address)
4
try:
5
assert 'LangPro Annotator' in browser.title
6
except:
0 commit comments