Improved UI tests
This commit is contained in:
parent
3f035294a6
commit
d7bc529a95
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"src_folders": ["tests/browser/ops.js"],
|
"src_folders": ["tests/browser"],
|
||||||
"output_folder": "tests/browser/output",
|
"output_folder": "tests/browser/output",
|
||||||
|
|
||||||
"test_settings": {
|
"test_settings": {
|
||||||
|
@ -395,8 +395,9 @@ function testOp(browser, opName, input, output, args=[]) {
|
|||||||
.urlHash("recipe=" + recipeConfig)
|
.urlHash("recipe=" + recipeConfig)
|
||||||
.setValue("#input-text", input)
|
.setValue("#input-text", input)
|
||||||
.waitForElementVisible("#stale-indicator", 1000)
|
.waitForElementVisible("#stale-indicator", 1000)
|
||||||
.pause(250)
|
.pause(100)
|
||||||
.click("#bake")
|
.click("#bake")
|
||||||
|
.pause(150)
|
||||||
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
.waitForElementPresent("#stale-indicator.hidden", 1000)
|
||||||
.waitForElementNotVisible("#output-loader", 5000);
|
.waitForElementNotVisible("#output-loader", 5000);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user