Skip to content

Commit

Permalink
fix path parameter for create method of newCMSnewPageView
Browse files Browse the repository at this point in the history
Update path parameter passed to create method of newCMSnewPageView. New validator was added and path must start with '/'. Fix for test test_api_key_autocomplete
  • Loading branch information
mastastny committed Sep 18, 2024
1 parent 3900a9c commit 12ededd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testsuite/tests/ui/oas/test_api_key_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def api_doc_page(login, navigator, ui_active_doc, request, custom_admin_login):
"""Custom doc page for developer portal"""
view = navigator.navigate(CMSNewPageView)
page_name = blame(request, "CustomDocumentation")
page_path = blame(request, "apidocs")
page_path = f'/{blame(request, "apidocs")}'

view.create(
page_name,
Expand Down

0 comments on commit 12ededd

Please sign in to comment.