Skip to content

Commit b82791c

Browse files
Fix TC_006 and TC-020 - Search challenge
1 parent 1fb2235 commit b82791c

File tree

9 files changed

+16
-8
lines changed

9 files changed

+16
-8
lines changed

automated-smoke-test/config/automation-config-beta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103
"termUrl": "https://beta-community-app.topcoder.com/challenges/terms/detail/9ef9dec4-dddb-48c9-9cce-659db68bc5ac",
104104
"forumUrl": "https://apps.topcoder.com/forums/?module=Category&categoryID=82117",
105105
"submissionUrl": "https://beta-community-app.topcoder.com/challenges/4bd5cf15-41ee-4932-927d-fda5731ec023/submit",
106-
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133"
106+
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133",
107+
"searchText": "KGuTnJmJ"
107108
},
108109
"myDashboard": {
109110
"url": "https://beta-community-app.topcoder.com/my-dashboard",

automated-smoke-test/config/automation-config-dev.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"termUrl": "https://community-app.topcoder-dev.com/challenges/terms/detail/b11da5cd-713f-478d-90f4-f679ef53ee95",
105105
"forumUrl": "https://apps.topcoder-dev.com/forums/?module=Category&categoryID=0",
106106
"submissionUrl": "https://community-app.topcoder-dev.com/challenges/e0db3e96-522e-4b56-b954-a514acfd536e/submit",
107-
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30056744"
107+
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30056744",
108+
"searchText": "KGuTnJmJ"
108109
},
109110
"myDashboard": {
110111
"url": "https://community-app.topcoder-dev.com/my-dashboard",

automated-smoke-test/config/automation-config-local.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
"termUrl": "http://localhost:3000/challenges/terms/detail/9ef9dec4-dddb-48c9-9cce-659db68bc5ac",
100100
"forumUrl": "https://apps.topcoder.com/forums/?module=Category&categoryID=82117",
101101
"submissionUrl": "http://localhost:3000/challenges/4bd5cf15-41ee-4932-927d-fda5731ec023/submit",
102-
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133"
102+
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133",
103+
"searchText": "KGuTnJmJ"
103104
},
104105
"myDashboard": {
105106
"url": "http://localhost:3000/my-dashboard",

automated-smoke-test/config/automation-config-prod.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@
9999
"termUrl": "https://www.topcoder.com/challenges/terms/detail/9ef9dec4-dddb-48c9-9cce-659db68bc5ac",
100100
"forumUrl": "https://apps.topcoder.com/forums/?module=Category&categoryID=82117",
101101
"submissionUrl": "https://www.topcoder.com/challenges/4bd5cf15-41ee-4932-927d-fda5731ec023/submit",
102-
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133"
102+
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133",
103+
"searchText": "KGuTnJmJ"
103104
},
104105
"myDashboard": {
105106
"url": "https://www.topcoder.com/my-dashboard",

automated-smoke-test/config/automation-config-qa.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"termUrl": "https://qa-community-app.topcoder-dev.com/challenges/terms/detail/b11da5cd-713f-478d-90f4-f679ef53ee95",
105105
"forumUrl": "https://apps.topcoder-dev.com/forums/?module=Category&categoryID=0",
106106
"submissionUrl": "https://qa-community-app.topcoder-dev.com/challenges/ee951f3e-8c3d-41d7-b232-aa8774ff7f27/submit",
107-
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30001610"
107+
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30001610",
108+
"searchText": "KGuTnJmJ"
108109
},
109110
"myDashboard": {
110111
"url": "https://qa-community-app.topcoder-dev.com/my-dashboard",

automated-smoke-test/config/automation-config-staging.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"termUrl": "https://staging-community-app.topcoder.com/challenges/terms/detail/9ef9dec4-dddb-48c9-9cce-659db68bc5ac",
105105
"forumUrl": "https://apps.topcoder.com/forums/?module=Category&categoryID=82117",
106106
"submissionUrl": "https://staging-community-app.topcoder.com/challenges/4bd5cf15-41ee-4932-927d-fda5731ec023/submit",
107-
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133"
107+
"scorecardUrl": "https://software.topcoder.com/review/actions/ViewScorecard?scid=30002133",
108+
"searchText": "KGuTnJmJ"
108109
},
109110
"myDashboard": {
110111
"url": "https://staging-community-app.topcoder.com/my-dashboard",

automated-smoke-test/config/automation-config-test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@
104104
"termUrl": "https://test-community-app.topcoder-dev.com/challenges/terms/detail/b11da5cd-713f-478d-90f4-f679ef53ee95",
105105
"forumUrl": "https://apps.topcoder-dev.com/forums/?module=Category&categoryID=0",
106106
"submissionUrl": "https://test-community-app.topcoder-dev.com/challenges/ee951f3e-8c3d-41d7-b232-aa8774ff7f27/submit",
107-
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30001610"
107+
"scorecardUrl": "https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30001610",
108+
"searchText": "KGuTnJmJ"
108109
},
109110
"myDashboard": {
110111
"url": "https://test-community-app.topcoder-dev.com/my-dashboard",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class ChallengeListingPageHelper {
6767
false
6868
);
6969

70-
const searchString = ConfigHelper.getChallengeDetail().challengeName;
70+
const searchString = ConfigHelper.getChallengeDetail().searchText;
7171
await ChallengeListingPageObject.challengeSearchBox.sendKeys(searchString);
7272
await BrowserHelper.sleep(5000);
7373

automated-smoke-test/utils/config-helper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export interface ChallengeDetail {
2020
forumUrl: string;
2121
submissionUrl: string;
2222
scorecardUrl: string;
23+
searchText: string,
2324
}
2425

2526
export interface CommunityCardInfo {

0 commit comments

Comments
 (0)