mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-22 12:43:11 +00:00
log out after smoke tests
This commit is contained in:
parent
af2de3cdeb
commit
6f9969d6e1
1 changed files with 11 additions and 0 deletions
|
@ -34,6 +34,17 @@ describe "Opening", ->
|
||||||
throw error if error?
|
throw error if error?
|
||||||
done()
|
done()
|
||||||
|
|
||||||
|
after (done)->
|
||||||
|
request.get {
|
||||||
|
url: buildUrl("logout")
|
||||||
|
headers:
|
||||||
|
"X-Forwarded-Proto": "https"
|
||||||
|
}, (error, response, body) =>
|
||||||
|
throw error if error?
|
||||||
|
done()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
it "a project", (done) ->
|
it "a project", (done) ->
|
||||||
request {
|
request {
|
||||||
url: buildUrl("project/#{Settings.smokeTest.projectId}")
|
url: buildUrl("project/#{Settings.smokeTest.projectId}")
|
||||||
|
|
Loading…
Reference in a new issue