File tree 3 files changed +9
-8
lines changed
page-objects/pages/topcoder 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 97
97
"termsUrl" : " https://community-app.topcoder-dev.com/community/how-it-works/terms/"
98
98
},
99
99
"challengeDetail" : {
100
- "url" : " https://community-app.topcoder-dev.com/challenges/ee951f3e-8c3d-41d7-b232-aa8774ff7f27 " ,
100
+ "url" : " https://community-app.topcoder-dev.com/challenges/e0db3e96-522e-4b56-b954-a514acfd536e " ,
101
101
"termsLinkText" : " Standard Terms for Topcoder Competitions v2.2" ,
102
- "challengeName" : " Test Automation challenge " ,
103
- "challengeTag" : " Challenge " ,
102
+ "challengeName" : " NDA Test Challenge " ,
103
+ "challengeTag" : " Java " ,
104
104
"termUrl" : " https://community-app.topcoder-dev.com/challenges/terms/detail/b11da5cd-713f-478d-90f4-f679ef53ee95" ,
105
105
"forumUrl" : " https://apps.topcoder-dev.com/forums/?module=Category&categoryID=0" ,
106
- "submissionUrl" : " https://community-app.topcoder-dev.com/challenges/ee951f3e-8c3d-41d7-b232-aa8774ff7f27 /submit" ,
107
- "scorecardUrl" : " https://software.topcoder-dev.com/review/actions/ViewScorecard?scid=30001610 "
106
+ "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 "
108
108
},
109
109
"myDashboard" : {
110
110
"url" : " https://community-app.topcoder-dev.com/my-dashboard" ,
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export class ChallengeListingPageHelper {
137
137
expect ( isDisplayed ) . toEqual ( true ) ;
138
138
}
139
139
140
- public static async scrollDownToPage ( totalChallenge = 10 ) {
140
+ public static async scrollDownToPage ( totalChallenge = 100 ) {
141
141
const scrollCount = totalChallenge / 10 + 1 ;
142
142
for ( var i = 0 ; i < scrollCount ; i ++ ) {
143
143
await BrowserHelper . executeScript ( 'arguments[0].scrollIntoView();' , CommonHelper . findElementByText (
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { CommonHelper } from '../common-page/common.helper';
4
4
import { LoginPageConstants } from './login.constants' ;
5
5
import { LoginPage } from './login.po' ;
6
6
import { SplashPage } from '../splash/splash.po' ;
7
+ import { BrowserHelper } from 'topcoder-testing-lib' ;
7
8
8
9
export class LoginPageHelper {
9
10
/**
@@ -30,15 +31,15 @@ export class LoginPageHelper {
30
31
public static async login ( username : string , password : string ) {
31
32
await this . loginPageObject . waitForLoginForm ( ) ;
32
33
await this . loginPageObject . fillLoginForm ( username , password ) ;
33
- await this . loginPageObject . waitForHomePage ( ) ;
34
+ await BrowserHelper . sleep ( 5000 ) ;
34
35
}
35
36
36
37
/**
37
38
* Logout
38
39
*/
39
40
public static async logout ( ) {
40
41
await this . loginPageObject . logout ( ) ;
41
- await this . loginPageObject . waitForHomePage ( ) ;
42
+ await BrowserHelper . sleep ( 5000 ) ;
42
43
}
43
44
44
45
/**
You can’t perform that action at this time.
0 commit comments