AboutUsBot Invoked from Redlink

aboutusbot redlinks - when you click a redlink or search for a page that doesn't exist yet, should invoke the bot and spider that domain, may depend on ability to completely obliterate a page from our database

Task

test will type in the search box:

  1. domain that does exist in AboutUs - verify that page comes up (wonder if earlier test of cannonical names should've typed in search box as well as location bar?)
  2. domain that has been deleted but has an edit history available to admins - verify that the bot spiders the site again - teardown deletes the site again - should we have a test domain for this so we're dealing with a real (test) website but one we don't care about?
  3. domain that does not exist in the database at all (this will be tricky because when we do this, the page will be created - maybe we need a test domain for this one as well) - assert that bot goes and spider's site - teardown will then be a complete obliteration from the database - I don't know how to do this yet
  4. domain that doesn't exist at all - assert that bot attempts to do it's thing but comes back empty
  5. put in item not existing that's not formatted like a domain, like homeberlin, search page comes up
  6. put in item not existing that's not formatted like a domain, like home.berlin (this currently fails b/c bot doesn't know what's a TLD and what's not, after the dot

next actions

  • When success, this test works, but when failing, it doesn't fail, it times out. Need to rethink exactly what I'm testing.
    • Once I get this working with #2, need to rethink what I'm testing for all the other cases, even the ones listed as done below.

waiting for others

done

  • #1
  • #4
  • #5
  • #6 (this test works, but unfortunately, that means the test fails b/c the bot doesn't know what a TLD is)
  • get a test domain for #2 and &3
  • figure out regular expression to see if need to delete during setup


Retrieved from "http://aboutus.com/index.php?title=AboutUsBot_Invoked_from_Redlink&oldid=12080886"