Skip to content
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

wait for the folder to be deleted and then go further! #74

Merged
merged 1 commit into from Oct 31, 2015

Conversation

compojoom
Copy link
Contributor

This should fix
#45
#51

I couldn't make it work with waitForElementChange, but this solution is basically the same with JS. The js is executed until the condition is met(the field becomes disabled). If this happens within 60s, then we go further...

60
);
*/
$I->waitForJS("return jQuery('form#adminForm input[name=instDefault]').attr('disabled') == 'disabled';", 60);
Copy link
Member

Choose a reason for hiding this comment

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

Holy!

Copy link
Member

Choose a reason for hiding this comment

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

@compojoom if you are trying to execute the click event of the "remove installation folder" button through javascript, then do you think we still need https://github.com/joomla-projects/joomla-browser/pull/74/files#diff-676cca4b1f4fdd04825e9c7ae7b54691R206

javigomez added a commit that referenced this pull request Oct 31, 2015
wait for the folder to be deleted and then go further!
@javigomez javigomez merged commit 6e249db into joomla-projects:develop Oct 31, 2015
javigomez added a commit to javigomez/weblinks that referenced this pull request Oct 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants