diff --git a/services/web/test/smoke/coffee/SmokeTests.coffee b/services/web/test/smoke/coffee/SmokeTests.coffee index 1ef29d86b7..e102d0ec05 100644 --- a/services/web/test/smoke/coffee/SmokeTests.coffee +++ b/services/web/test/smoke/coffee/SmokeTests.coffee @@ -54,7 +54,7 @@ describe "Opening", -> expect(error, "smoke test: error in getting project").to.not.exist expect(response.statusCode, "smoke test: response code is not 200 getting project").to.equal(200) # Check that the project id is present in the javascript that loads up the project - match = !!body.match("\"project_id\":\"#{Settings.smokeTest.projectId}\"") + match = !!body.match("window.project_id = \"#{Settings.smokeTest.projectId}\"") expect(match, "smoke test: project page html does not have project_id").to.equal true done() @@ -67,6 +67,6 @@ describe "Opening", -> 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("