From dd6c3cb88e24e63817238731373884b8e8c4780b Mon Sep 17 00:00:00 2001 From: ost-ptk Date: Tue, 3 Sep 2024 15:55:34 +0300 Subject: [PATCH] fix e2e tests for buy cspr --- e2e-tests/popup/buy-cspr/buy-cspr.spec.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/e2e-tests/popup/buy-cspr/buy-cspr.spec.ts b/e2e-tests/popup/buy-cspr/buy-cspr.spec.ts index e10eec6fb..15ee207df 100644 --- a/e2e-tests/popup/buy-cspr/buy-cspr.spec.ts +++ b/e2e-tests/popup/buy-cspr/buy-cspr.spec.ts @@ -22,10 +22,6 @@ popup.describe('Popup UI: buy cspr', () => { ).toBeVisible(); await popupPage.getByRole('button', { name: 'Next' }).click(); - await popupExpect( - popupPage.getByRole('heading', { name: 'Review provider option' }) - ).toBeVisible(); - await popupPage.getByText('Topper by Uphold').click(); await popupExpect( @@ -43,7 +39,7 @@ popup.describe('Popup UI: buy cspr', () => { } ); - popup.skip( + popup( 'should redirect to Ramp provider page', async ({ popupPage, unlockVault, context }) => { await unlockVault(); @@ -64,10 +60,6 @@ popup.describe('Popup UI: buy cspr', () => { ).toBeVisible(); await popupPage.getByRole('button', { name: 'Next' }).click(); - await popupExpect( - popupPage.getByRole('heading', { name: 'Pick provider' }) - ).toBeVisible(); - await popupExpect( popupPage.getByRole('button', { name: 'Confirm' }) ).toBeDisabled();