1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Add a e2e-test for Modal

This commit is contained in:
asmsuechan
2017-05-31 15:38:55 +09:00
parent 67d8b02c49
commit a9e3572f4f

View File

@@ -22,7 +22,7 @@ test.afterEach.always(async t => {
await t.context.app.stop()
})
test(async t => {
test('Measure BrowserWindow status with await', async t => {
const app = t.context.app
await app.client.waitUntilWindowLoaded()
@@ -37,3 +37,9 @@ test(async t => {
t.true(width > 0)
t.true(height > 0)
})
test('', async t => {
const app = t.context.app
await app.client.click('.TopBar__control-newPostButton___browser-main-TopBar-')
await app.client.click('.NewNoteModal__close-mark___browser-main-modals-')
})