Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
test: update timerange dusk case
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Dec 19, 2020
1 parent f42692e commit c41d46a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/Browser/TimeRangeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ public function testAdd()
$table->click('.el-date-editor:first-child .el-range-input:nth-child(2)')
->keys('.el-date-editor:first-child .el-range-input:nth-child(2)', '12:34:56')
->click('.el-date-editor:first-child .el-range-input:nth-child(4)')
->keys('.el-date-editor:first-child .el-range-input:nth-child(4)', '13:01:07');
->keys(
'.el-date-editor:first-child .el-range-input:nth-child(4)',
['{control}', 'a'],
'13:01:07'
);
})
->pause(200)
->click('#submit')
->assertSee('"bar_name":"12:34:56,13:01:07"');
});
Expand All @@ -36,7 +41,11 @@ public function testEdit()
$table->click('.el-date-editor:first-child .el-range-input:nth-child(2)')
->keys('.el-date-editor:first-child .el-range-input:nth-child(2)', '12:34:56')
->click('.el-date-editor:first-child .el-range-input:nth-child(4)')
->keys('.el-date-editor:first-child .el-range-input:nth-child(4)', '13:01:22');
->keys(
'.el-date-editor:first-child .el-range-input:nth-child(4)',
['{control}', 'a'],
'13:01:22'
);
})
->click('#submit-edit')
->assertSee('"bar_name_edit":"12:34:56,13:01:22"');
Expand Down

0 comments on commit c41d46a

Please sign in to comment.