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

Issue 57 bis - Closes #64 #67

Merged
merged 1 commit into from
Jun 28, 2017
Merged

Conversation

gggeek
Copy link
Contributor

@gggeek gggeek commented Jun 15, 2015

A fix for issue #57 that avoids introducing issue #64.
Intended to replace #58

@aik099
Copy link
Contributor

aik099 commented Jun 15, 2015

  1. you can really squash at this point
  2. please add Closes #64 to PR description so that associated issue will be closed automatically on PR merge

@@ -27,7 +27,8 @@
"ext-curl": "*"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
"satooshi/php-coveralls": "dev-master",
"phpunit/phpunit": ">=4.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

How this is helpful knowing, that:

  • Travis CI has PHPUnit installed already
  • Most of developers have PHPUnit installed anyway (e.g. via Composer globally or PHAR)

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well, I personally do not have phpunit installed globally, but tend to install it inside every project I develop. This because there have been in the past incompatible updates, so different projects were stuck with different phpunit versions.
But I can move this to a separate PR if you think

Copy link
Contributor

Choose a reason for hiding this comment

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

well, I personally do not have phpunit installed globally, but tend to install it inside every project I develop.

I'm personally against having tools, that are better to be used at latest version on all projects as project dependency at all. PHPUnit tends to include more and more different dependencies to work and all that really takes up disk space.

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 then, will revert

@gggeek gggeek changed the title Issue 57 bis Issue 57 bis - Closes #64 Jun 15, 2015
@gggeek
Copy link
Contributor Author

gggeek commented Jun 15, 2015

ps: will squash after all the changes from suggestions

@aik099
Copy link
Contributor

aik099 commented Jun 15, 2015

ps: will squash after all the changes from suggestions

Since GitHub code review process isn't very feature reach, then please reply to inline comments once you'll have corresponding changes committed/pushed.

@gggeek
Copy link
Contributor Author

gggeek commented Jun 17, 2015

All points for which there was a clear indication have been tackled.
A couple of points remain open for which I have no clear answer on best solution.
Waiting for Travis to validate the changes (https://travis-ci.org/instaclick/php-webdriver/builds/67275002).

@aik099
Copy link
Contributor

aik099 commented Jul 3, 2015

While this PR is being reviewed the 0c20707 commit was made to revert code line added, that caused exception.

namespace WebDriver\Exception;


final class CurlDetails extends \Exception {
Copy link
Member

Choose a reason for hiding this comment

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

Move to lib/WebDriver/Service/CurlServiceException.php and rename class to CurlServiceException

Fix: require phpunit when installing via composer in dev mode

Allow configuring testsuite via env var (for root url)

Refactor error handling for curl requests

Clean up leftover code

Remove one more leftover var_dump comment

Add one more test for Selenium different response types

Better detection of non-running selenium (tested on php 5.5.17 windows)

Proper fix for last commit (skip tests when selenium down, not otherwise)

Merge branch 'master' of github.com:instaclick/php-webdriver into issue_57_bis

Conflicts:
	lib/WebDriver/SauceLabs/SauceRest.php

Fix the travis build which runs selenium

fix travis/selenium/firefox: 2nd try

Remove one more leftover

Revert: declare dependency on phpunit

Merge branch 'master' of github.com:instaclick/php-webdriver into issue_57_bis

Implement changes according to PR review

One more PR fix: even more detailed error message for bad responses from Selenium

Fix previous commit: typo

Implement changes recommended by @robocoder
@gggeek
Copy link
Contributor Author

gggeek commented Jul 4, 2015

Implemented all changes suggested by @robocoder and squashed.
I suggest that the improvements to Travis (testing against multiple versions of Selenium/FF) be carried out in a separate issue/PR.

@chillu
Copy link

chillu commented Sep 29, 2015

@robocoder Is there anything blocking the merge of this? We're using php-webdriver with Behat (which requires ~1.1 of your library), and the 1.4.3 release made it much harder to debug any failures in CI due to important context being swallowed as described in #64. Also, once you merge this, can you please tag a new 1.4.4 release as well?

chillu referenced this pull request in IgorNadj/php-webdriver Sep 29, 2015
@robocoder
Copy link
Member

@chillu Sorry. The last commit message was "WIP: ...", and it simply fell by the wayside. If everyone is satisfied with this PR's functionality, I'll review and merge.

@chillu
Copy link

chillu commented Oct 5, 2015

@robocoder I think you can take that silence as agreement? ;)

@gggeek
Copy link
Contributor Author

gggeek commented Feb 17, 2016

I am also ok with this being merged :-)

@chillu
Copy link

chillu commented Feb 22, 2016

@robocoder Given your message from October, are you happy to press the big green button? ;)

Copy link

@spolischook spolischook left a comment

Choose a reason for hiding this comment

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

Guys, any update on this PR? It's too old and affects too many people.

@robocoder robocoder merged commit 4f08bcd into instaclick:master Jun 28, 2017
robocoder added a commit that referenced this pull request Jun 29, 2017
@tractorcow
Copy link
Contributor

@robocoder this merge caused breaking regressions. Can you please look at #79?

robocoder added a commit that referenced this pull request Aug 9, 2022
robocoder added a commit that referenced this pull request Aug 9, 2022
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

6 participants