Skip to content

Commit

Permalink
Remove policy requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvinb committed Aug 20, 2024
1 parent e4dbeb9 commit 32bbb30
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/e2e/specs/setup-mc/step-2-product-listings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,6 @@ test.describe( 'Configure product listings', () => {
} );

test( 'should see the heading of next step and send two requests after clicking "Continue"', async () => {
const requestPromises =
productListingsPage.registerContinueRequests();

await productListingsPage.clickContinueButton();

await expect(
Expand All @@ -429,13 +426,6 @@ test.describe( 'Configure product listings', () => {
exact: true,
} )
).toBeVisible();

const requests = await requestPromises;
const policyCheckResponse = await requests[ 1 ].response();
const policyCheckResponseBody = await policyCheckResponse.json();

expect( policyCheckResponse.status() ).toBe( 200 );
expect( policyCheckResponseBody.allowed_countries ).toBeTruthy();
} );
} );
} );

0 comments on commit 32bbb30

Please sign in to comment.