Skip to content

Commit

Permalink
updated spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiKJha committed Dec 5, 2024
1 parent 712b670 commit 7c58450
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 49 deletions.
4 changes: 0 additions & 4 deletions test/e2e/tests/connections/connect-with-metamask.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ describe('Connections page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/tests/connections/edit-account-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ describe('Edit Accounts Flow', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/tests/connections/edit-networks-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ describe('Edit Networks Flow', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
8 changes: 0 additions & 8 deletions test/e2e/tests/connections/review-permissions-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ describe('Review Permissions page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down Expand Up @@ -90,10 +86,6 @@ describe('Review Permissions page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
5 changes: 0 additions & 5 deletions test/e2e/tests/dapp-interactions/dapp-interactions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ describe('Dapp interactions', function () {
);

await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});

const connectedDapp1 = await driver.isElementPresent({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/tests/dapp-interactions/permissions.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ describe('Permissions', function () {
text: 'All Permissions',
tag: 'div',
});
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.waitForSelector({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
4 changes: 0 additions & 4 deletions test/e2e/tests/metrics/dapp-viewed.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ describe('Dapp viewed Event @no-mmi', function () {
text: 'All Permissions',
tag: 'div',
});
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
8 changes: 0 additions & 8 deletions test/e2e/tests/multichain/all-permissions-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ describe('Permissions Page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
const connectedDapp = await driver.isElementPresent({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down Expand Up @@ -83,10 +79,6 @@ describe('Permissions Page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
const connectedDapp = await driver.isElementPresent({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down
8 changes: 0 additions & 8 deletions test/e2e/tests/multichain/permission-page.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ describe('Permissions Page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
const connectedDapp = await driver.isElementPresent({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down Expand Up @@ -68,10 +64,6 @@ describe('Permissions Page', function () {
'[data-testid ="account-options-menu-button"]',
);
await driver.clickElement({ text: 'All Permissions', tag: 'div' });
await driver.clickElementAndWaitToDisappear({
text: 'Got it',
tag: 'button',
});
await driver.clickElement({
text: '127.0.0.1:8080',
tag: 'p',
Expand Down

0 comments on commit 7c58450

Please sign in to comment.