You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 13, 2022. It is now read-only.
[2020-01-08 22:20:23,492] ERROR in app: Exception on /project/EAACreateApp/test/Register_User_To_Mercury_Tours/ [GET] Traceback (most recent call last): File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app response = self.full_dispatch_request() File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request rv = self.handle_user_exception(e) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception reraise(exc_type, exc_value, tb) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise raise value File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request rv = self.dispatch_request() File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask_login/utils.py", line 261, in decorated_view return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/gui_utils.py", line 217, in wrapper return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/gui_utils.py", line 240, in wrapper return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/web_app.py", line 135, in test_case_view test_components=test.components, File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test.py", line 290, in components 'steps': self.steps File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test.py", line 263, in steps steps['test'] = test_parser.parse_function_steps(test_function) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test_parser.py", line 51, in parse_function_steps if _code_block_is_function_call(block): File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test_parser.py", line 147, in _code_block_is_function_call parsed = ast.parse(block.lstrip()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ast.py", line 35, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "<unknown>", line 1 element = browser.find_element_by_xpath("//a["eba98f20-9522-46fc-a912-f3831bd3b177"]")
`from golem import actions
description = 'Register a new user to Mercury Tours'
[2020-01-08 22:20:23,492] ERROR in app: Exception on /project/EAACreateApp/test/Register_User_To_Mercury_Tours/ [GET] Traceback (most recent call last): File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app response = self.full_dispatch_request() File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request rv = self.handle_user_exception(e) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception reraise(exc_type, exc_value, tb) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise raise value File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request rv = self.dispatch_request() File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/flask_login/utils.py", line 261, in decorated_view return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/gui_utils.py", line 217, in wrapper return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/gui_utils.py", line 240, in wrapper return func(*args, **kwargs) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/gui/web_app.py", line 135, in test_case_view test_components=test.components, File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test.py", line 290, in components 'steps': self.steps File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test.py", line 263, in steps steps['test'] = test_parser.parse_function_steps(test_function) File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test_parser.py", line 51, in parse_function_steps if _code_block_is_function_call(block): File "/Users/anag/PycharmProjects/golem-project/.venv/lib/python3.7/site-packages/golem/core/test_parser.py", line 147, in _code_block_is_function_call parsed = ast.parse(block.lstrip()) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ast.py", line 35, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "<unknown>", line 1 element = browser.find_element_by_xpath("//a["eba98f20-9522-46fc-a912-f3831bd3b177"]")
`from golem import actions
description = 'Register a new user to Mercury Tours'
tags = ['Registration']
pages = []
def setup(data):
actions.navigate('http://newtours.demoaut.com/')
def test(data):
browser = actions.get_browser()
actions.verify_title_contains('Welcome: Mercury Tours')
element = browser.find_element_by_xpath("//a[contains(text(),'REGISTER')]")
actions.click(element)
def teardown(data):
pass
`
The text was updated successfully, but these errors were encountered: