mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
remove extraneous arg from clickElement (#18050)
This commit is contained in:
parent
601e02c5ee
commit
5c30fee59a
@ -48,13 +48,10 @@ describe('Test Snap bip-32', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -47,13 +47,10 @@ describe('Test Snap bip-44', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -47,13 +47,10 @@ describe('Test Snap Confirm', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -47,13 +47,10 @@ describe('Test Snap Cronjob', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -47,13 +47,10 @@ describe('Test Snap Dialog', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -48,13 +48,10 @@ describe('Test Snap Error', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -47,13 +47,10 @@ describe('Test Snap Installed', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
@ -86,13 +83,10 @@ describe('Test Snap Installed', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -49,13 +49,10 @@ describe('Test Snap Management', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(1000);
|
||||
|
||||
|
@ -50,13 +50,10 @@ describe('Test Snap manageState', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
await driver.delay(2000);
|
||||
|
||||
// approve install of snap
|
||||
|
@ -50,13 +50,10 @@ describe('Test Snap Notification', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
await driver.delay(2000);
|
||||
|
||||
// approve install of snap
|
||||
|
@ -49,13 +49,10 @@ describe('Test Snap RPC', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
await driver.delay(2000);
|
||||
|
||||
|
@ -48,13 +48,10 @@ describe('Test Snap TxInsights', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
|
||||
// delay for npm installation
|
||||
await driver.delay(2000);
|
||||
|
@ -49,13 +49,10 @@ describe('Test Snap update', function () {
|
||||
'MetaMask Notification',
|
||||
windowHandles,
|
||||
);
|
||||
await driver.clickElement(
|
||||
{
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
},
|
||||
10000,
|
||||
);
|
||||
await driver.clickElement({
|
||||
text: 'Connect',
|
||||
tag: 'button',
|
||||
});
|
||||
await driver.delay(2000);
|
||||
|
||||
// approve install of snap
|
||||
|
Loading…
Reference in New Issue
Block a user