-
Notifications
You must be signed in to change notification settings - Fork 19
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
When I start creating a new content "Article" | ||
And I set content fields | ||
| label | value | | ||
| Title | Arttest | |
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.
|
needs to be aligned
| Short title | arttest | | ||
| Intro | TestArticleIntro | | ||
And I perform the "Publish" action | ||
And I should be on Content view Page for "root/art1/arttest" |
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.
new VisibleCSSLocator('header', '.ibexa-content-tree-container .c-tb-header__name-content,.c-header .c-header__name'), | ||
// new VisibleCSSLocator('optionsButton', '.c-tb-contextual-menu__toggler'), | ||
// new VisibleCSSLocator('menuOption', '.c-tb-action-list__item'), | ||
// new VisibleCSSLocator('item', '.c-tb-list-item-single__element .c-tb-list-item-single__element--main') |
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 remove comments :)
Related PRs:
Description:
This test suite covers the basic tests for the content tree component:
Plans for the next iteration:
For QA:
Documentation: