Skip to content

Commit 7217f83

Browse files
committed
Fix deprecations
1 parent 028efcb commit 7217f83

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/helper/WebDriver.noSeleniumServer_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ describe('WebDriver - No Selenium server started', function () {
373373
it('should grab the innerHTML for an element', async () => {
374374
await wd.amOnPage('/')
375375
const source = await wd.grabHTMLFrom('#area1')
376-
assert.deepEqual(source, '<a href="/form/file" qa-id="test" qa-link="test">Test Link</a>')
376+
assert.deepEqual(source, '<a href="/form/file" qa-id="test" qa-link="test"> Test Link </a>')
377377
})
378378
})
379379

test/helper/webapi.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -757,9 +757,7 @@ module.exports.tests = function () {
757757
await I.amOnPage('/info')
758758
const val = await I.grabHTMLFrom('#grab-multiple')
759759
assert.equal(
760-
`<a id="first-link">First</a>
761-
<a id="second-link">Second</a>
762-
<a id="third-link">Third</a>`,
760+
'<a id="first-link">First</a>\n<a id="second-link">Second</a>\n<a id="third-link">Third</a>',
763761
val,
764762
)
765763
})

0 commit comments

Comments
 (0)