diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 89fcaf0..1d3b9c2 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -22,7 +22,7 @@ //- Used for displaying any info v-snackbar( :timeout='5000', - top, right, + top, v-model='$store.state.infoSnackbar.show' ) {{ $store.state.infoSnackbar.text }} v-btn.pink--text(text, @click='$store.state.infoSnackbar.show = false') Close diff --git a/test/app/search.spec.js b/test/app/search.spec.js index e81e502..b73effe 100644 --- a/test/app/search.spec.js +++ b/test/app/search.spec.js @@ -93,9 +93,8 @@ module.exports = function () { it('should open on click', function () { return this.app.client - .$('nav.toolbar > div > div:nth-child(4)').click() + .$('.toolbar > div > *:nth-child(5)').click() .pause(500) - .$('input').getAttribute('aria-label').should.eventually.equal('Search') .$('input').hasFocus().should.eventually.be.true .saveScreenshot('test/screenshots/search_modal.png') }) @@ -148,7 +147,6 @@ module.exports = function () { return this.app.client .$('input').hasFocus().should.eventually.be.true .keys([ 'Escape' ]).pause(750) - .$('input[aria-label="Search"]').isVisible().should.eventually.be.false .$('.v-dialog').isVisible().should.eventually.be.false }) }) diff --git a/test/app/toolbar.spec.js b/test/app/toolbar.spec.js index 5267bbd..5c2ec47 100644 --- a/test/app/toolbar.spec.js +++ b/test/app/toolbar.spec.js @@ -10,6 +10,7 @@ module.exports = function () { .getText('.toolbar > div > *:nth-child(8)').should.eventually.equal('file_download') .getText('.toolbar > div > *:nth-child(10)').should.eventually.equal('settings') .getText('.toolbar > div > *:last-child').should.eventually.equal('fiber_new') + .pause(500) }) it.skip('should be able to expand the drawer', function () {