Skip to content

Commit f77a322

Browse files
committed
re add US baseball tee
1 parent aa85bc5 commit f77a322

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

lib/printify/productsData.ts

+11-9
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const printProviderIds = {
2424
districtPhoto: 28,
2525
jondo: 105,
2626
woyc: 23,
27+
stokedOnPrinting: 43,
2728
};
2829

2930
const blueprintIds = {
@@ -32,6 +33,7 @@ const blueprintIds = {
3233
ceramicMug: 635, // https://printify.com/app/products/635/generic-brand/accent-coffee-mug-11-15oz
3334
canvas: 937, // https://printify.com/app/products/937/generic-brand/matte-canvas-stretched-075
3435
phoneCases: 421, // https://printify.com/app/products/421/generic-brand/tough-cases
36+
baseballTee: 79,
3537
};
3638

3739
// TODO: add these
@@ -77,7 +79,7 @@ const productData: PrintifyProductsData[] = [
7779
enabled: true,
7880
name: "Unisex 3\\4 Sleeve Baseball Tee",
7981
displayName: "Baseball Tee",
80-
blueprintId: 79,
82+
blueprintId: blueprintIds.baseballTee,
8183
printProviderId: printProviderIds.tShirtAndSons,
8284
country: "GB",
8385
},
@@ -158,12 +160,12 @@ const productData: PrintifyProductsData[] = [
158160
printProviderId: printProviderIds.jondo,
159161
country: "US",
160162
},
161-
// {
162-
// enabled: true,
163-
// name: "Unisex 3\\4 Sleeve Baseball Tee",
164-
// displayName: "Baseball Tee",
165-
// blueprintId: 79,
166-
// printProviderId: printProviderIds.tShirtAndSons,
167-
// country: "GB",
168-
// },
163+
{
164+
enabled: true,
165+
name: "Unisex 3\\4 Sleeve Baseball Tee",
166+
displayName: "Baseball Tee",
167+
blueprintId: blueprintIds.baseballTee,
168+
printProviderId: printProviderIds.stokedOnPrinting,
169+
country: "GB",
170+
},
169171
];

tests/happy-path.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ test.describe("happy path us", () => {
150150
).toBeVisible();
151151
});
152152

153-
test.skip("US - buy a baseball tee", async ({ page }) => {
153+
test("US - buy a baseball tee", async ({ page }) => {
154154
await page.locator("#product-links").getByRole("combobox").click();
155155
await page.getByLabel("Baseball Tee").click();
156156
await page.getByRole("button", { name: "Buy now" }).click();

0 commit comments

Comments
 (0)