codeforamerica / snap-it-up

Super-simple dashboard showing the status of SNAP-related web services.
http://status.citizenonboard.com/
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Figure out how to keyword check New Jersey #10

Open lippytak opened 9 years ago

lippytak commented 9 years ago

see details in old issue: https://github.com/codeforamerica/citizen-onboard/issues/34

lippytak commented 9 years ago

NV is good. NJ still shows down if I add a assert_in_content step.

lippytak commented 9 years ago

@pingometer I think this is the last monitor that doesn't seem to be working with a keyword. Much appreciated if you could help figure this one out. I assume this is the cause: screen shot 2015-02-02 at 10 25 57 pm

pingometer commented 9 years ago

@lippytak This should be fixed, per #26.

lippytak commented 9 years ago

@pingometer doesn't look like the fix worked for this case. I tried this transaction:

{ "1": { "get": "https://oneapp.dhs.state.nj.us/Forms/SignIn/frmNewApplication.aspx" }, "2": { "assert_in_content": "Create User" } }

And it went down even though 'Create User' shows as plain text in the source. Thoughts?

pingometer commented 9 years ago

Hmm... we tried a few different IE user agent strings (http://www.useragentstring.com/pages/Internet%20Explorer/) and the response is just an empty HTML document.

We'll see if we can get any user agents to work - it looks like they're extremely strict.