replaced tab with 4 spaces

This commit is contained in:
jwzimmer 2016-09-15 13:28:17 -04:00
parent eb788acac0
commit eaaa2faf2a

View file

@ -33,7 +33,7 @@ driver.get('https://scratch.ly');
*/
//this xpath is fragile, can i look up by successive attributes instead?
tap.test('checkCreateLinkWhenSignedOut', function (t) {
var xPathLink = '//div[@id="navigation"]/div[@class="inner"]/ul/li[@class="link create"]/a';
var xPathLink = '//div[@id="navigation"]/div[@class="inner"]/ul/li[@class="link create"]/a';
var createLinkSignedOut = driver.findElement(seleniumWebdriver.By.xpath(xPathLink));
createLinkSignedOut.getAttribute('href').then( function (href) {
t.equal('https://scratch.ly/projects/editor/?tip_bar=home', href);