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

Use a location port for service urls #2308

Merged
merged 5 commits into from
Apr 17, 2018

Conversation

LavrovArtem
Copy link
Contributor

No description provided.

@@ -2,14 +2,16 @@
if (window !== window.top)
return;

var origin = location.protocol + '//' + location.host;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just use the location.origin property.

@@ -53,6 +53,10 @@ export default class BrowserConnection extends EventEmitter {
this.statusDoneUrl = `${gateway.domain}/browser/status-done/${this.id}`;
this.initScriptUrl = `${gateway.domain}/browser/init-script/${this.id}`;

this.heartbeatRelativeUrl = `/browser/heartbeat/${this.id}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

this.heartbeatUrl  = `${gateway.domain}${this.heartbeatRelativeUrl}`;
...

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 5f5be31 have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 2bdfc4f have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit 2bdfc4f have passed. See details:

Copy link
Contributor

@AlexanderMoskovkin AlexanderMoskovkin left a comment

Choose a reason for hiding this comment

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

Can we add a test here?

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 20ee77f have failed. See details:

@LavrovArtem LavrovArtem reopened this Apr 13, 2018
});

test('Second test', async () => {
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add a comment and describe why do we need the second test

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit 6b14992 have passed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@LavrovArtem
Copy link
Contributor Author

@testcafe-build-bot \retest

@testcafe-build-bot
Copy link
Collaborator

❌ Tests for the commit 13eb13e have failed. See details:

@testcafe-build-bot
Copy link
Collaborator

✅ Tests for the commit 13eb13e have passed. See details:

@miherlosev miherlosev merged commit 01963d1 into DevExpress:master Apr 17, 2018
@LavrovArtem LavrovArtem deleted the service-port branch April 17, 2018 14:48
kirovboris pushed a commit to kirovboris/testcafe-phoenix that referenced this pull request Dec 18, 2019
* Use a location port for service urls

* fix review issues

* add test

* fix lint

* add comment
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