Skip to content

Commit

Permalink
Further subdivide directFromSellerSignals WPT tests.
Browse files Browse the repository at this point in the history
Tests 6-10 were marked as flaky on one bot, so switch to using
subdivisions of 4 tests.

Also, the last couple tests were added without adding new test batches,
so fix that.

Fixed: 1502382
Change-Id: I54918e7af5309beab663d3aa6b9e186487395043
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5177807
Reviewed-by: Caleb Raitto <[email protected]>
Commit-Queue: Matt Menke <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1244171}
  • Loading branch information
Matt Menke authored and chromium-wpt-export-bot committed Jan 8, 2024
1 parent 7c6e579 commit 32017da
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions fledge/tentative/direct-from-seller-signals.https.window.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
// META: script=resources/fledge-util.sub.js
// META: script=/common/subset-tests.js
// META: timeout=long
// META: variant=?1-5
// META: variant=?6-10
// META: variant=?11-15
// META: variant=?16-20
// META: variant=?21-last
// META: variant=?1-4
// META: variant=?5-8
// META: variant=?9-12
// META: variant=?13-16
// META: variant=?17-20
// META: variant=?21-24
// META: variant=?25-28
// META: variant=?29-last

"use strict;"

// Subset 1 - 5
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
await fetchDirectFromSellerSignals({ 'Buyer-Origin': window.location.origin });
Expand Down Expand Up @@ -96,7 +98,6 @@ subsetTest(promise_test, async test => {
);
}, 'Test directFromSellerSignals with sellerSignals, auctionSignals and perBuyerSignals.');

// Subset 6 - 10
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
await fetchDirectFromSellerSignals({ 'Buyer-Origin': window.location.origin });
Expand Down Expand Up @@ -224,7 +225,6 @@ subsetTest(promise_test, async test => {
);
}, 'Test directFromSellerSignals with mismatched perBuyerSignals.');

// Subset 11 - 15
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
await fetchDirectFromSellerSignals({ 'Buyer-Origin': '*' });
Expand Down Expand Up @@ -304,7 +304,6 @@ subsetTest(promise_test, async test => {
);
}, 'Test directFromSellerSignals with HTTP error.');

// Subset 16 - 20
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
await fetchDirectFromSellerSignals({ 'Negative-Test-Option': 'No Ad-Auction-Signals Header' });
Expand Down Expand Up @@ -397,7 +396,6 @@ subsetTest(promise_test, async test => {
);
}, 'Test directFromSellerSignals different interest group owner origin from top frame.');

// Subset 21 - last
subsetTest(promise_test, async test => {
const uuid = generateUuid(test);
let iframe = await createIframe(test, OTHER_ORIGIN1, "join-ad-interest-group; run-ad-auction");
Expand Down

0 comments on commit 32017da

Please sign in to comment.