fix(): pipeline missing suites (#13457)
* fix(): pipeline missing suites * fix tax integration tests * fix tax integration tests * fix pipeline * fix link integration tests * remove old tests and move current one * fix workflow execution integration tests * fix tests and orchestrator * Fix missing suites in pipeline Remove integration-tests-modules from patch list.
This commit is contained in:
committed by
GitHub
parent
21c6e8600f
commit
ebf33bea43
@@ -103,47 +103,50 @@ medusaIntegrationTestRunner({
|
||||
|
||||
const values = await links.linkServiceName.list()
|
||||
|
||||
expect(values).toEqual([
|
||||
{
|
||||
product_id: "modA_id",
|
||||
inventory_item_id: "modB_id",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: -1,
|
||||
another_field: null,
|
||||
created_at: expect.any(Date),
|
||||
updated_at: expect.any(Date),
|
||||
deleted_at: null,
|
||||
},
|
||||
expect.objectContaining({
|
||||
product_id: "123",
|
||||
inventory_item_id: "abc",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: 333,
|
||||
another_field: "value**",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "111",
|
||||
inventory_item_id: "aaa",
|
||||
extra_field: -1,
|
||||
another_field: "test",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "222",
|
||||
inventory_item_id: "bbb",
|
||||
extra_field: -1,
|
||||
another_field: null,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "333",
|
||||
inventory_item_id: "ccc",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: 2,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "444",
|
||||
inventory_item_id: "bbb",
|
||||
}),
|
||||
])
|
||||
expect(values).toHaveLength(6)
|
||||
expect(values).toEqual(
|
||||
expect.arrayContaining([
|
||||
{
|
||||
product_id: "modA_id",
|
||||
inventory_item_id: "modB_id",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: -1,
|
||||
another_field: null,
|
||||
created_at: expect.any(Date),
|
||||
updated_at: expect.any(Date),
|
||||
deleted_at: null,
|
||||
},
|
||||
expect.objectContaining({
|
||||
product_id: "123",
|
||||
inventory_item_id: "abc",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: 333,
|
||||
another_field: "value**",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "111",
|
||||
inventory_item_id: "aaa",
|
||||
extra_field: -1,
|
||||
another_field: "test",
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "222",
|
||||
inventory_item_id: "bbb",
|
||||
extra_field: -1,
|
||||
another_field: null,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "333",
|
||||
inventory_item_id: "ccc",
|
||||
id: expect.stringMatching("prefix_.+"),
|
||||
extra_field: 2,
|
||||
}),
|
||||
expect.objectContaining({
|
||||
product_id: "444",
|
||||
inventory_item_id: "bbb",
|
||||
}),
|
||||
])
|
||||
)
|
||||
})
|
||||
|
||||
it("Should dismiss the link of a given pair of keys", async function () {
|
||||
|
||||
Reference in New Issue
Block a user