Skip to content

Commit

Permalink
ads campaign request
Browse files Browse the repository at this point in the history
  • Loading branch information
kt-12 committed Sep 26, 2024
1 parent d053b77 commit c8ee77f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/e2e/specs/add-paid-campaigns/add-paid-campaigns.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,20 @@ test.describe( 'Set up Ads account', () => {
} );

test( 'It should show the campaign creation success message', async () => {
await setupBudgetPage.fulfillAdsCampaignsRequest(
{
id: 111111111,
name: 'Test Campaign',
status: 'enabled',
type: 'performance_max',
amount: budget,
country: 'US',
targeted_locations: {},
},
200,
[ 'POST' ]
);

await setupBudgetPage.getLaunchPaidCampaignButton().click();

//It should redirect to the dashboard page
Expand Down

0 comments on commit c8ee77f

Please sign in to comment.