mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
test: increase timeout for failing tests (#18189)
This commit is contained in:
parent
a3af0b53e3
commit
17147b3817
@ -392,7 +392,9 @@ describe('Custom network', function () {
|
||||
text: 'Delete',
|
||||
});
|
||||
|
||||
await driver.findElement('.modal-container__footer');
|
||||
await driver.waitForSelector('.modal-container__footer', {
|
||||
timeout: 15000,
|
||||
});
|
||||
// should be deleted from the modal shown again to complete deletion custom network
|
||||
await driver.clickElement({
|
||||
tag: 'button',
|
||||
|
@ -292,10 +292,13 @@ describe('Create token, approve token and approve token without gas', function (
|
||||
await gasLimitInput.fill('60001');
|
||||
await driver.clickElement({ text: 'Save', tag: 'button' });
|
||||
|
||||
await driver.waitForSelector({
|
||||
css: '.box--flex-direction-row > h6',
|
||||
text: '0.0006 ETH',
|
||||
});
|
||||
await driver.waitForSelector(
|
||||
{
|
||||
css: '.box--flex-direction-row > h6',
|
||||
text: '0.0006 ETH',
|
||||
},
|
||||
{ timeout: 15000 },
|
||||
);
|
||||
|
||||
// editing spending cap
|
||||
await driver.clickElement({
|
||||
|
@ -354,9 +354,12 @@ describe('Send ETH from dapp using advanced gas controls', function () {
|
||||
'.transaction-list-item__primary-currency',
|
||||
);
|
||||
await txValue.click();
|
||||
const baseFeeValue = await driver.waitForSelector({
|
||||
text: '0.000000025',
|
||||
});
|
||||
const baseFeeValue = await driver.waitForSelector(
|
||||
{
|
||||
text: '0.000000025',
|
||||
},
|
||||
{ timeout: 15000 },
|
||||
);
|
||||
assert.equal(await baseFeeValue.getText(), '0.000000025');
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user