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

Support https protocol (testcafe #1985) #1590

Merged
merged 5 commits into from
May 17, 2018

Conversation

intermike
Copy link
Contributor

No description provided.

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 1911d3b have failed. See details:

@LavrovArtem
Copy link
Contributor

Hi @intermike,
I need some time to investigate your PR and make changes if it necessary.

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 109d1d6 have failed. See details:

};
}

// Proxy
export default class Proxy extends Router {
constructor (hostname, port1, port2) {
constructor (hostname, port1, port2, options) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Set default value for option parameter in constructor:

constructor (hostname, port1, port2, options = {})


const serverProvider = options.ssl ? https : http;
const protocol = options.ssl ? 'https:' : 'http:';
const serverOptions = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Rename to options.
Because there is no another options in this scope.

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 85046e3 have failed. See details:

@@ -211,6 +216,12 @@ test('relative path', function () {
strictEqual(parsedUrl.partAfterHost, 'share?id=1kjQMWh7IcHdTBbTv6otRvCGYr-p02q206M7aR7dmog0');
});

test('relative path (https proxy)', function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Change the structure of tests:

module('https proxy protocol');
test('relative path');
test('special pages');
test('http');

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit a4b18d6 have failed. See details:

@LavrovArtem LavrovArtem changed the title [WIP] run testcafe with https protocol (#1985) run testcafe with https protocol (testcafe #1985) May 8, 2018
@LavrovArtem LavrovArtem changed the title run testcafe with https protocol (testcafe #1985) Support https protocol (testcafe #1985) May 8, 2018
@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@LavrovArtem
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@LavrovArtem
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@LavrovArtem
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@miherlosev
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@miherlosev
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@LavrovArtem
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit d7fb324 have failed. See details:

@miherlosev
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 9693b4c have failed. See details:

@miherlosev
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 9693b4c have failed. See details:

@miherlosev
Copy link
Contributor

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit 9693b4c have passed. See details:

@miherlosev miherlosev merged commit e254ca1 into DevExpress:master May 17, 2018
AndreyBelym pushed a commit to AndreyBelym/testcafe-hammerhead that referenced this pull request Feb 28, 2019
* run testcafe with https protocol (DevExpress#1985)

* fix some places, add `--ssl` option to playground, add tests

* make separate tasks

* rename tasks

* fix tests
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.

4 participants