mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
(core) Extending timeout in Fork tests
Summary: Extending the time tests wait for the confirmation popup in Fork tests. Test Plan: Existing Reviewers: georgegevoian Reviewed By: georgegevoian Differential Revision: https://phab.getgrist.com/D3870
This commit is contained in:
parent
35f7072bea
commit
f9f212d328
@ -564,7 +564,7 @@ describe("Fork", function() {
|
|||||||
// check Replace Original gives expected button, and press it.
|
// check Replace Original gives expected button, and press it.
|
||||||
await driver.find('.test-tb-share').click();
|
await driver.find('.test-tb-share').click();
|
||||||
await driver.find('.test-replace-original').click();
|
await driver.find('.test-replace-original').click();
|
||||||
let confirmButton = driver.findWait('.test-modal-confirm', 1000);
|
let confirmButton = driver.findWait('.test-modal-confirm', 3000);
|
||||||
assert.equal(await confirmButton.getText(), 'Update');
|
assert.equal(await confirmButton.getText(), 'Update');
|
||||||
await confirmButton.click();
|
await confirmButton.click();
|
||||||
|
|
||||||
@ -585,7 +585,7 @@ describe("Fork", function() {
|
|||||||
// check Replace Original gives a scarier button, and press it anyway.
|
// check Replace Original gives a scarier button, and press it anyway.
|
||||||
await driver.find('.test-tb-share').click();
|
await driver.find('.test-tb-share').click();
|
||||||
await driver.find('.test-replace-original').click();
|
await driver.find('.test-replace-original').click();
|
||||||
confirmButton = driver.findWait('.test-modal-confirm', 1000);
|
confirmButton = driver.findWait('.test-modal-confirm', 3000);
|
||||||
assert.equal(await confirmButton.getText(), 'Overwrite');
|
assert.equal(await confirmButton.getText(), 'Overwrite');
|
||||||
await confirmButton.click();
|
await confirmButton.click();
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ describe("Fork", function() {
|
|||||||
// check Replace Original mentions that the document is the same as the trunk.
|
// check Replace Original mentions that the document is the same as the trunk.
|
||||||
await driver.find('.test-tb-share').click();
|
await driver.find('.test-tb-share').click();
|
||||||
await driver.find('.test-replace-original').click();
|
await driver.find('.test-replace-original').click();
|
||||||
confirmButton = driver.findWait('.test-modal-confirm', 1000);
|
confirmButton = driver.findWait('.test-modal-confirm', 3000);
|
||||||
assert.equal(await confirmButton.getText(), 'Update');
|
assert.equal(await confirmButton.getText(), 'Update');
|
||||||
assert.match(await driver.find('.test-modal-dialog').getText(),
|
assert.match(await driver.find('.test-modal-dialog').getText(),
|
||||||
/already identical/);
|
/already identical/);
|
||||||
|
Loading…
Reference in New Issue
Block a user