Skip to content

Commit b0e115c

Browse files
committed
Access title from browserWindow
1 parent 3b406a0 commit b0e115c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('demo app', function () {
6969
.browserWindow.isFocused().should.eventually.be.true
7070
.browserWindow.getBounds().should.eventually.have.property('width').and.be.above(0)
7171
.browserWindow.getBounds().should.eventually.have.property('height').and.be.above(0)
72-
.getTitle().should.eventually.equal('Electron API Demos')
72+
.browserWindow.getTitle().should.eventually.equal('Electron API Demos')
7373
.waitForVisible('#about-modal').should.eventually.be.true
7474
.isVisible('.js-nav').should.eventually.be.false
7575
.click('button[id="get-started"]').pause(500)

0 commit comments

Comments
 (0)