Skip to content

Commit a8b9686

Browse files
committed
Revert "fix:test:e2e: CircleCI cannot find Dialog snap sig"
This reverts commit 9d35713.
1 parent 99edd6b commit a8b9686

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

test/e2e/accounts/common.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,7 @@ export async function importKeyAndSwitch(driver: Driver) {
132132
await switchToAccount2(driver);
133133
}
134134

135-
export async function makeNewAccountAndSwitch(
136-
driver: Driver,
137-
{ waitUntilWindowCount }: { waitUntilWindowCount?: number } = {},
138-
) {
135+
export async function makeNewAccountAndSwitch(driver: Driver) {
139136
await driver.clickElement({
140137
text: 'Create account',
141138
tag: 'div',
@@ -147,9 +144,6 @@ export async function makeNewAccountAndSwitch(
147144
});
148145

149146
// Click "Create" on the Snap's confirmation popup
150-
if (waitUntilWindowCount) {
151-
await driver.waitUntilXWindowHandles(waitUntilWindowCount);
152-
}
153147
await driver.switchToWindowWithTitle(WINDOW_TITLES.Dialog);
154148
await driver.clickElement({
155149
css: '[data-testid="confirmation-submit-button"]',

test/e2e/accounts/snap-account-signatures.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ describe('Snap Account Signatures', function (this: Suite) {
2929

3030
await installSnapSimpleKeyring(driver, isAsyncFlow);
3131

32-
const newPublicKey = await makeNewAccountAndSwitch(driver, {
33-
waitUntilWindowCount: 3,
34-
});
32+
const newPublicKey = await makeNewAccountAndSwitch(driver);
3533

3634
await tempToggleSettingRedesignedConfirmations(driver);
3735

0 commit comments

Comments
 (0)