Registrar Badges Show Up
(they occasionally don't) - test is simply to navigate to each of these pages and assert that the badge is there
see also
next actions
done
- this script runs the test: tests/badge_acceptance_test.sh
test pages
top 12 registrars tested plus two domains without badges
- tucows: http://www.aboutus.org/KaboomDesign.com
- none: http://www.aboutus.org/TippKram.de
- dotster: http://www.aboutus.org/VitalIx.net
- none: http://www.aboutus.org/Meiti.net
- network solutions: http://www.aboutus.org/HeydayDesigns.com
- MelbourneIT: http://www.aboutus.org/GroO-Web.com
- go daddy http://www.aboutus.org/AliciaHosting.com
- schlund+partner http://www.aboutus.org/GogoRitas.com
- enom http://www.aboutus.org/BagFull.net
- nameking.com http://www.aboutus.org/NameKing.com (no other pages link here so I'm guessing no other badges exist)
- register.com http://www.aboutus.org/AllNaturalSkincare.com
- wild west domains http://www.aboutus.org/AbbyDodge.com
- moniker online services http://www.aboutus.org/BillGoss.com
- BulkRegister http://www.aboutus.org/EStreet.com
php file
- create file RegistrarBadgesShowUp.php based on CanonicalAboutUsURLs.php
- navigate to the 4 pages above
(half hour total so far, including above and these two actions)
badge is id="registrar"
Should be there ($locator="registrar";
):
$this->open("/KaboomDesign.com"); $this->waitForPageToLoad(10001); $this->assertElementPresent($locator);
Should NOT be there:
$this->open("/Meiti.net"); $this->waitForPageToLoad(10004); $this->assertElementNotPresent($locator);
future work
Maybe verify that it's the correct badge, not just that a badge is there?
# /html/body/div/div[2]/div[7] (div id="registrar") # /html/body/div/div[2]/div[7]/div/p/a/img (the image itself) <img border="0" alt="Tucows.com" style="width: 135px;" src="/skins/common/registrars/tucows.com.gif"/> # /html/body/div/div[2]/div[7] (div id="registrar") # /html/body/div/div[2]/div[7]/div/p/a/img (the image itself) <img border="0" alt="Dotster" style="width: 135px;" src="/skins/common/registrars/dotster.com.jpg"/>