Skip to content

Commit

Permalink
move budget to top.
Browse files Browse the repository at this point in the history
  • Loading branch information
kt-12 committed Sep 27, 2024
1 parent 7edeb3b commit 4ff5165
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ test.describe( 'Set up Ads account', () => {
page = await browser.newPage();
dashboardPage = new DashboardPage( page );
setupAdsAccounts = new SetupAdsAccountsPage( page );
setupBudgetPage = new SetupBudgetPage( page );
await setOnboardedMerchant();
await setupAdsAccounts.mockAdsAccountsResponse( [] );
await dashboardPage.mockRequests();
Expand Down Expand Up @@ -280,9 +281,7 @@ test.describe( 'Set up Ads account', () => {

test.describe( 'Create your paid campaign', () => {
test.beforeAll( async () => {
setupBudgetPage = new SetupBudgetPage( page );

// Mock billing approved status.
// `Launch Paid Campaign` button is only enabled when billing status is approved.
await setupBudgetPage.fulfillBillingStatusRequest( {
status: 'approved',
} );
Expand Down

0 comments on commit 4ff5165

Please sign in to comment.