-
-
Notifications
You must be signed in to change notification settings - Fork 28
Category Scenario for issue #35 #54
Conversation
tests/acceptance/category.feature
Outdated
I need to create modify trash publish and Unpublish category | ||
|
||
Background: | ||
Given Joomla CMS is installed |
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.
Remove that Given Joomla is installed please :-)
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.
Ok, I will remove it.
Thanks Yves.
…utomated-tests into category-scenario
|
||
public static $selectMenuTypeArticle = ['link' => 'Articles']; | ||
|
||
public static $singleArticle = ['xpath' => "//div[@id='collapseTypes']//a[contains(text()[normalize-space()], 'Single Article')]"]; |
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.
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.
Prital, the xpath is really not readable, can't we simple use
$I->click('Single Article');
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 method works for $selectMenuTypeArticle = ['link' => 'Articles'];
case but not in this case. It's a submenu which appear when we click on Articles
link. I am also switching scope to iframe. But no luck.
When it's in an iframe, you need to switch to it and wait before you switch. Take a look at what we do in JoomlaBrowser . |
e3e8883
to
5b2c0c8
Compare
* Codestyle * indent * order * oops * changes requested by @andrepereiradasilva * cs * changes requested by @wojsmol * Update mod_logged.xml (#43) * Update templateDetails.xml (#45) i need to fix my ide!! * Update mod_popular.xml (#44) * Update templateDetails.xml (#57) * Update mod_version.xml (#56) * Update mod_toolbar.xml (#55) * Update mod_title.xml (#54) * Update mod_submenu.xml (#53) * Update mod_status.xml (#52) * Update mod_stats_admin.xml (#51) * Update mod_quickicon.xml (#50) * Update mod_menu.xml (#49) * Update mod_login.xml (#48) * Update mod_latest.xml (#47) * Update mod_feed.xml (#46)
Pull Request for Issue #35 .
Add a Category back end scenario.