mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-25 12:20:24 -04:00
replaced tab with 4 spaces
This commit is contained in:
parent
eb788acac0
commit
eaaa2faf2a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue