Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: change ramps e2e tag #12062

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions e2e/specs/ramps/offramp.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { CustomNetworks } from '../../resources/networks.e2e';
import TestHelpers from '../../helpers';
import FixtureServer from '../../fixtures/fixture-server';
import { getFixturesServerPort } from '../../fixtures/utils';
import { SmokeAssets } from '../../tags';
import { SmokeCore } from '../../tags';
import Assertions from '../../utils/Assertions';
import SellGetStartedView from '../../pages/Ramps/SellGetStartedView';
import SelectRegionView from '../../pages/Ramps/SelectRegionView';
Expand All @@ -32,9 +32,9 @@ const PaymentMethods = {
DEBIT_OR_CREDIT: 'Debit or Credit',
INSTANT_ACH_BANK_TRANSFER: 'Insant ACH Bank Transfer',
ACH_BANK_TRANSFER: 'ACH Bank Transfer',
}
};

describe(SmokeAssets('Off-Ramp'), () => {
describe(SmokeCore('Off-Ramp'), () => {
beforeAll(async () => {
await TestHelpers.reverseServerPort();
const fixture = new FixtureBuilder()
Expand Down Expand Up @@ -66,10 +66,11 @@ describe(SmokeAssets('Off-Ramp'), () => {
await SelectRegionView.tapRegionOption(Regions.USA);
await SelectRegionView.tapRegionOption(Regions.CALIFORNIA);
await SelectRegionView.tapContinueButton();
await SelectPaymentMethodView.tapPaymentMethodOption(PaymentMethods.DEBIT_OR_CREDIT);
await SelectPaymentMethodView.tapContinueButton();
await SelectPaymentMethodView.tapPaymentMethodOption(
PaymentMethods.DEBIT_OR_CREDIT,
);
await SelectPaymentMethodView.tapContinueButton();
await Assertions.checkIfVisible(BuildQuoteView.amountToSellLabel);
await Assertions.checkIfVisible(BuildQuoteView.getQuotesButton);
});

});
4 changes: 2 additions & 2 deletions e2e/specs/ramps/onramp.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import TestHelpers from '../../helpers';
import FixtureServer from '../../fixtures/fixture-server';
import { getFixturesServerPort } from '../../fixtures/utils';
import { SmokeAssets } from '../../tags';
import { SmokeCore } from '../../tags';
import BuyGetStartedView from '../../pages/Ramps/BuyGetStartedView';
import SelectRegionView from '../../pages/Ramps/SelectRegionView';
import SelectPaymentMethodView from '../../pages/Ramps/SelectPaymentMethodView';
Expand All @@ -20,7 +20,7 @@ import Assertions from '../../utils/Assertions';

const fixtureServer = new FixtureServer();

describe(SmokeAssets('Buy Crypto'), () => {
describe(SmokeCore('Buy Crypto'), () => {
beforeAll(async () => {
await TestHelpers.reverseServerPort();
const fixture = new FixtureBuilder().build();
Expand Down
Loading