Show "Saving..." for 0.5 seconds and show error if it occurred

This commit is contained in:
Yuya Ochiai
2017-02-16 21:55:44 +09:00
parent 949db4ffae
commit 8acd7b99e7
4 changed files with 78 additions and 40 deletions

View File

@@ -100,6 +100,7 @@ describe('browser/settings.html', function desc() {
}
return true;
}).
pause(600).
click('#btnClose').
pause(1000).then(() => {
const savedConfig = JSON.parse(fs.readFileSync(env.configFilePath, 'utf8'));
@@ -133,6 +134,7 @@ describe('browser/settings.html', function desc() {
}
return true;
}).
pause(600).
click('#btnClose').
pause(1000).then(() => {
const savedConfig = JSON.parse(fs.readFileSync(env.configFilePath, 'utf8'));