-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MFTF] Set correct url for CmsPageEditPage #27563
[MFTF] Set correct url for CmsPageEditPage #27563
Conversation
Hi @Usik2203. Thank you for your contribution
For more details, please, review the Magento Contributor Guide documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also should proceed with moving towards {Area}
+ {Page}
+ Page suffix.
If you have some spare time you can rename the Page and it's references to:
AdminCmsPageEditPage
.
The most important for now is just to get rid of generic parameter names.
@@ -7,7 +7,7 @@ | |||
--> | |||
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |||
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/PageObject.xsd"> | |||
<page name="CmsPageEditPage" area="admin" url="admin/cms_page/edit/page_id/{{var}}" parameterized="true" module="Magento_Cms"> | |||
<page name="CmsPageEditPage" area="admin" url="cms/page/edit/page_id/{{var}}" parameterized="true" module="Magento_Cms"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you, by the way, change this generic {{var}}
to something more meaningful?
<page name="CmsPageEditPage" area="admin" url="cms/page/edit/page_id/{{var}}" parameterized="true" module="Magento_Cms"> | |
<page name="CmsPageEditPage" area="admin" url="cms/page/edit/page_id/{{pageId}}" parameterized="true" module="Magento_Cms"> |
@magento give me 2.4-develop instance |
Hi @Usik2203. Thank you for your request. I'm working on Magento 2.4-develop instance for you |
Hi @Usik2203, here is your Magento instance. |
@magento give me 2.3.4 instance |
Hi @lbajsarowicz. Thank you for your request. I'm working on Magento 2.3.4 instance for you |
Hi @lbajsarowicz, here is your Magento instance. |
OK. I was wrong. For some reason my local env prefixed that with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Well done.
We need to wait for CI, to check if some PageBuilder / EE / B2B are not failing.
Hi @lbajsarowicz, thank you for the review.
|
@lbajsarowicz Thanks for review this PR and recommendations. |
@magento run Functional Tests EE, Functional Tests B2B |
✔️ QA passed |
@magento run all tests |
Failed functional tests not related to the changes in this PR |
Hi @Usik2203, thank you for your contribution! |
Description (*)
This PR set correct url for
CmsPageEditPage
Related Pull Requests
https://github.com/magento/partners-magento2ee/pull/176