mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 01:02:33 +00:00
use cookie domain in smoke test path
This commit is contained in:
parent
8895ceea35
commit
a082dd0f3b
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ expect = chai.expect
|
|||
Settings = require "settings-sharelatex"
|
||||
port = Settings.internal?.web?.port or Settings.port or 3000
|
||||
cookeFilePath = "/tmp/smoke-test-cookie-#{port}.txt"
|
||||
buildUrl = (path) -> "-b #{cookeFilePath} -c #{cookeFilePath} --resolve 'smoke.sharelatex.dev:#{port}:127.0.0.1' http://smoke.sharelatex.dev:#{port}/#{path}?setLng=en"
|
||||
buildUrl = (path) -> "-b #{cookeFilePath} -c #{cookeFilePath} --resolve 'smoke#{Settings.cookieDomain}:#{port}:127.0.0.1' http://smoke#{Settings.cookieDomain}:#{port}/#{path}?setLng=en"
|
||||
|
||||
describe "Opening", ->
|
||||
|
||||
|
|
Loading…
Reference in a new issue