mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Merge pull request #2351 from BryceLTaylor/Integration-test-update
Get integration tests to pass after preview to project change
This commit is contained in:
commit
cfcd2abd53
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
const webdriver = require('selenium-webdriver');
|
||||
const bindAll = require('lodash.bindall');
|
||||
require('chromedriver');
|
||||
|
||||
const headless = process.env.SMOKE_HEADLESS || false;
|
||||
const remote = process.env.SMOKE_REMOTE || false;
|
||||
|
|
|
@ -82,7 +82,7 @@ test('clicking See Inside should take you to the editor', t => {
|
|||
.then(() => clickXpath('//a[@data-control="edit"]'))
|
||||
.then(() => driver.getCurrentUrl())
|
||||
.then(function (u) {
|
||||
var expectedUrl = '/#editor';
|
||||
var expectedUrl = '/editor';
|
||||
t.equal(u.substr(-expectedUrl.length), expectedUrl, 'after clicking, the URL should end in #editor');
|
||||
})
|
||||
.then(() => t.end());
|
||||
|
|
Loading…
Reference in a new issue