Skip to content

Commit

Permalink
fix e2e tests for buy cspr
Browse files Browse the repository at this point in the history
  • Loading branch information
ost-ptk committed Sep 3, 2024
1 parent 5f1f723 commit dd6c3cb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions e2e-tests/popup/buy-cspr/buy-cspr.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit dd6c3cb

Please sign in to comment.