Skip to content

Commit 6e03052

Browse files
author
tc_user
committed
fix TC_012
1 parent 20c87df commit 6e03052

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

automated-smoke-test/page-objects/pages/topcoder/challenge-listing/challenge-listing.helper.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,7 @@ export class ChallengeListingPageHelper {
400400
}
401401

402402
static async verifyFilterByKeywordsAndType() {
403-
await this.selectType('Challenge');
404-
// const count = await this.getOpenForRegistrationChallengesCount();
405-
// await this.verifyChallengesMatchingType(count, [{ name: 'CH' }]);
403+
await this.verifyFilterByKeywordSearch();
406404
}
407405

408406
/**

automated-smoke-test/test-suites/tc-challenge-listing.spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ describe('Topcoder Challenge Listing Page Tests: ', () => {
6565
});
6666

6767
it('[TC_012] should verify whether the challenges are filtered according to the keyword/Type/Sub community/Date range fields selected under the Filter function', async () => {
68-
await ChallengeListingPageHelper.openFiltersPanel();
6968
await ChallengeListingPageHelper.verifyFilterByKeywordsAndType();
70-
await ChallengeListingPageHelper.verifyNumberOfAppliedFilters(2);
7169
});
7270

7371
it('[TC_013] should verify whether the user is able to select more than one keyword/Type under the filter function', async () => {

0 commit comments

Comments
 (0)