mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 01:21:31 +00:00
fixed smoke test breaking on title, removed "the" as its not great for SEO (i think)
This commit is contained in:
parent
b8c7163800
commit
b48ca2c7ed
1 changed files with 2 additions and 1 deletions
|
@ -58,6 +58,7 @@ describe "Opening", ->
|
|||
expect(match, "smoke test: project page html does not have project_id").to.equal true
|
||||
done()
|
||||
|
||||
|
||||
it "the project list", (done) ->
|
||||
request {
|
||||
url: buildUrl("project")
|
||||
|
@ -66,7 +67,7 @@ describe "Opening", ->
|
|||
}, (error, response, body) ->
|
||||
expect(error, "smoke test: error returned in getting project list").to.not.exist
|
||||
expect(response.statusCode, "smoke test: response code is not 200 getting project list").to.equal(200)
|
||||
expect(!!body.match("<title>Your Projects - ShareLaTeX, the Online LaTeX Editor</title>"), "smoke test: body does not have correct title").to.equal true
|
||||
expect(!!body.match("<title>Your Projects - ShareLaTeX, Online LaTeX Editor</title>"), "smoke test: body does not have correct title").to.equal true
|
||||
expect(!!body.match("ProjectPageController"), "smoke test: body does not have correct angular controller").to.equal true
|
||||
done()
|
||||
|
||||
|
|
Loading…
Reference in a new issue