-
Notifications
You must be signed in to change notification settings - Fork 17
IBX-9519: [Behat] Added Behat content tree coverage #1685
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
base: 4.6
Are you sure you want to change the base?
Conversation
9c21aa2
to
f7b174b
Compare
fb6fe2a
to
cb9354e
Compare
578649c
to
baa9975
Compare
| Article2 | art2 | root | eng-GB | | ||
| Article3 | art3 | root | eng-GB | | ||
And I am logged as admin | ||
And I'm on Content view Page for "root/art1" |
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 please add here a dedicated step to verify items on the content tree?
And I'm on Content view Page for "root/art1"
does not verify tree (only main container, breadcrumbs, content name and content type). We need something similar to https://github.com/ibexa/taxonomy/blob/5570a47c15d685381ca6603e27dba6e0a60800d1/features/Taxonomy.feature#L40
| Short title | arttest | | ||
| Intro | TestArticleIntro | | ||
And I perform the "Publish" action | ||
And I should be on Content view Page for "root/art1/arttest" No newline at end of file |
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.
Verifying items on the content tree also should be added here.
b63fbe9
to
c972535
Compare
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.
Please resolve issues reported by phpstan and code style check.
Can you run one regression build for the OSS and one for one of the higher editions to make sure the tests are working correctly? (Content tree differs on OSS edition)
/** | ||
* @Given I wait :number seconds | ||
*/ | ||
public function iWait(string $number): void |
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.
This seems unused, please delete it if so.
new VisibleCSSLocator('treeItem', '.c-tb-list-item-single__label'), | ||
new VisibleCSSLocator('treeElement', '.ibexa-content-tree-container__root .c-tb-list-item-single__element'), | ||
new VisibleCSSLocator('search', '.c-tb-search .ibexa-input'), |
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.
This seems unused, please delete it if so.
Co-authored-by: tomaszszopinski <[email protected]>
Co-authored-by: katarzynazawada <[email protected]> Co-authored-by: Adrian Pawlak <[email protected]>
8e032a9
to
2836713
Compare
|
Related PRs:
Description:
This test suite covers the basic tests for the content tree component:
Plans for the next iteration (to be discussed):
For QA:
Documentation: