Skip to content

Feedback on page: /mftf/docs/test/action-groups.html #501

@zhartaunik

Description

@zhartaunik

Not sure but looks like information at described page is obsolete.
Here are 5 examples from magento source:

File name: AddProductToCartActionGroup.xml
File name: AdminProductActionGroup.xml
Source: <actionGroup name="AddSimpleProductToCart"> (name of action group is the same)
Source: <actionGroup name="goToCreateProductPage"> (name differs from action group and starts from the small letter)
Source: <actionGroup name="FillMainProductFormByString"> (name differs from action group and starts from the capital letter)


Phrase from guide:

Every file name ends with ActionGroup, such as LoginToAdminActionGroup.

As I see expected phrase is:

Format: {Admin or Storefront}{Actions List}ActionGroup.xml, where Actions List briefly describes the what Action Group does.

Example: AdminAssignImageRolesActionGroup.xml.

Phrase from guide:

Begin with a Backend/ActionGroup/LoginToAdminActionGroup.xml template for the <actionGroup>:

Expected result: there should be no sub-folder "Backend", name should start from Admin.


And the last thing, name should start from the small letter (not sure)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions