Skip to content
This repository was archived by the owner on Mar 17, 2020. It is now read-only.

Conversation

pritalpatel
Copy link
Contributor

Pull Request for Issue #35 .

Add a Category back end scenario.

I need to create modify trash publish and Unpublish category

Background:
Given Joomla CMS is installed
Copy link
Contributor

@yvesh yvesh Jul 21, 2016

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 :-)

Copy link
Contributor Author

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.


public static $selectMenuTypeArticle = ['link' => 'Articles'];

public static $singleArticle = ['xpath' => "//div[@id='collapseTypes']//a[contains(text()[normalize-space()], 'Single Article')]"];
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I am trying this xpath in firepath then it is working. But when I am using it here it's not working. Not getting what is problem.

xpath-issue

Copy link
Member

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');

Copy link
Contributor Author

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.

@yvesh
Copy link
Contributor

yvesh commented Aug 2, 2016

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 .

@nibra nibra merged commit 7c6313d into joomla-projects:staging Aug 8, 2016
@pritalpatel pritalpatel deleted the category-scenario branch August 8, 2016 10:21
yvesh pushed a commit that referenced this pull request Jun 17, 2017
* 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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants