Skip to content

Issue 57 bis - Closes #64 - #67

Merged
robocoder merged 1 commit into
instaclick:masterfrom
gggeek:issue_57_bis
Jun 28, 2017
Merged

robocoder merged 1 commit into
instaclick:masterfrom
gggeek:issue_57_bis

Conversation

@gggeek

@gggeek gggeek commented Jun 15, 2015

Copy link
Copy Markdown
Contributor

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

@aik099

aik099 commented Jun 15, 2015

Copy link
Copy Markdown
Contributor
  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

Comment thread composer.json Outdated

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

gggeek commented Jun 15, 2015

Copy link
Copy Markdown
Contributor Author

ps: will squash after all the changes from suggestions

@aik099

aik099 commented Jun 15, 2015

Copy link
Copy Markdown
Contributor

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

gggeek commented Jun 17, 2015

Copy link
Copy Markdown
Contributor Author

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

aik099 commented Jul 3, 2015

Copy link
Copy Markdown
Contributor

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

Comment thread lib/WebDriver/Exception/CurlDetails.php Outdated

Copy link
Copy Markdown
Contributor

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

gggeek commented Jul 4, 2015

Copy link
Copy Markdown
Contributor Author

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

chillu commented Sep 29, 2015

Copy link
Copy Markdown

@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
Copy Markdown
Contributor

@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

chillu commented Oct 5, 2015

Copy link
Copy Markdown

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

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.

6 participants