Skip to content

Commit b2dd02a

Browse files
committed
fix: Remove expected-failure tag and related test.fail calls from contract tests
1 parent 7dc21b2 commit b2dd02a

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

specs/openapi/execute-contract-tests/execute-contract-tests-excluded.spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,8 @@ async function runAndVerifyCounts(
3434
test.describe("API Contract testing with test exclusion and inclusion", () => {
3535
test(
3636
"Exclude specific tests and verify excluded tests are not executed",
37-
{ tag: ["@test", "@testExclusion", "@eyes", "@expected-failure"] },
37+
{ tag: ["@test", "@testExclusion", "@eyes"] },
3838
async ({ page, eyes }, testInfo) => {
39-
test.fail(true, "Needs fixing by the devs");
40-
4139
const contractPage = new ApiContractPage(
4240
page,
4341
testInfo,

specs/openapi/execute-contract-tests/execute-contract-tests-filter.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@ test.describe("API Contract Testing - Filtering", () => {
2727

2828
test(
2929
"Verify filtering by header",
30-
{ tag: ["@test", "@filterTest", "@eyes", "@expected-failure"] },
30+
{ tag: ["@test", "@filterTest", "@eyes"] },
3131
async () => {
32-
test.fail(true, "Needs fixing by the devs");
3332
await test.step("Enter service URL and run contract tests", async () => {
3433
await contractPage.enterServiceUrl(ORDER_BFF_SERVICE_URL);
3534
await contractPage.setGenerativeMode(false);

specs/openapi/execute-contract-tests/execute-contract-tests-generative.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ import {
1212
test.describe(
1313
"Generative Test Suite - Include/Exclude Combinations",
1414
{
15-
tag: ["@test", "@generativeTests", "@eyes", "@expected-failure"],
15+
tag: ["@test", "@generativeTests", "@eyes"],
1616
},
1717
() => {
18-
test.fail(true, "Needs fixing by the devs");
1918
let contractPage: ApiContractPage;
2019

2120
test.beforeEach(async ({ page, eyes }, testInfo) => {

specs/openapi/execute-contract-tests/execute-contract-tests-main.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ test.describe("API Contract Testing", () => {
3131

3232
test(
3333
"Run contract tests for openapi spec product_search_bff_v5.yaml with default settings",
34-
{ tag: ["@test", "@runContractTests", "@eyes", "@expected-failure"] },
34+
{ tag: ["@test", "@runContractTests", "@eyes"] },
3535
async () => {
36-
test.fail(true, "Needs fixing by the devs");
3736
await test.step("Enter service URL and run contract tests", async () => {
3837
await contractPage.enterServiceUrl(ORDER_BFF_SERVICE_URL);
3938
await contractPage.clickRunContractTests();

0 commit comments

Comments
 (0)