Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test cases for 04 modules fixed : FE automation #6650

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions automated-smoke-test/conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ exports.config = {
framework: 'jasmine2',

specs: [
'../temp/test-suites/tc-login.spec.js',
// '../temp/test-suites/tc-login.spec.js',
// '../temp/test-suites/tc-tools.spec.js',
// '../temp/test-suites/tc-account.spec.js',
// '../temp/test-suites/tc-profile.spec.js',
'../temp/test-suites/tc-profile.spec.js',
// '../temp/test-suites/tc-header.spec.js',
// '../temp/test-suites/tc-footer.spec.js',
// '../temp/test-suites/tc-preferences.spec.js',
'../temp/test-suites/tc-challenge-listing.spec.js',
'../temp/test-suites/tc-challenge-detail.spec.js',
// '../temp/test-suites/tc-challenge-listing.spec.js',
// '../temp/test-suites/tc-challenge-detail.spec.js',
// '../temp/test-suites/tc-my-dashboard.spec.js',
'../temp/test-suites/tc-member-profile.spec.js',
// '../temp/test-suites/tc-member-profile.spec.js',
],

// Options to be passed to Jasmine.
Expand Down
155 changes: 79 additions & 76 deletions automated-smoke-test/config/automation-config-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,91 +4,95 @@
"businessUrl": "https://www.topcoder.com/",
"switchToBusinessUrl": "https://www.topcoder.com/",
"loginUrl": "https://auth.topcoder.com/",
"redirectLoginUrl": "https://accounts-auth0.topcoder.com/?retUrl=http://www.topcoder.com/",
"redirectLoginUrl": "https://accounts-auth0.topcoder.com/?retUrl=http://www.topcoder.com/home&ref=nav",
"homePageUrl": "https://www.topcoder.com/",
"splashPageUrl": "https://www.topcoder.com/splash/",
"logoutUrl": "https://www.topcoder.com/logout",
"toolsUrl": "https://www.topcoder.com/settings/tools",
"accountUrl": "https://www.topcoder.com/settings/account",
"profileUrl": "https://www.topcoder.com/settings/profile",
"profileUrl": "https://www.topcoder.com/settings/profile?ref=nav",
"preferencesUrl": "https://www.topcoder.com/settings/preferences",
"challengeListingUrl": "https://www.topcoder.com/challenges",
"subMenuUrls": {
"overview": "https://www.topcoder.com/community/learn",
"howItWorks": "https://www.topcoder.com/thrive/tracks?track=Topcoder",
"allChallenges": "https://www.topcoder.com/challenges",
"competitiveProgramming": "https://www.topcoder.com/community/arena",
"taas": "https://www.topcoder.com/gigs",
"practice": "https://www.topcoder.com/community/practice",
"competitiveProgrammingThrive": "https://www.topcoder.com/thrive/tracks?track=Competitive%20Programming",
"dataScienceThrive": "https://www.topcoder.com/thrive/tracks?track=Data%20Science&tax=",
"designThrive": "https://www.topcoder.com/thrive/tracks?track=Design&tax=",
"developmentThrive": "https://www.topcoder.com/thrive/tracks?track=Development&tax=",
"qaThrive": "https://www.topcoder.com/thrive/tracks?track=QA&tax=",
"tco": "https://www.topcoder.com/community/member-programs/topcoder-open",
"programs": "https://www.topcoder.com/community/member-programs",
"forums": "https://accounts.topcoder.com/member",
"overview": "https://www.topcoder.com/challenges",
"overviewUrl": "https://www.topcoder.com/the-community/",
"howItWorks": "https://www.topcoder.com/thrive/tracks?track=Topcoder&ref=nav",
"allChallenges": "https://www.topcoder.com/challenges?",
"competitiveProgramming": "https://www.topcoder.com/community/arena?ref=nav",
"taas": "https://www.topcoder.com/gigs?ref=nav",
"practice": "https://www.topcoder.com/community/practice?ref=nav",
"competitiveProgrammingThrive": "https://www.topcoder.com/thrive/tracks?track=Competitive%20Programming&ref=nav",
"dataScienceThrive": "https://www.topcoder.com/thrive/tracks?track=Data%20Science&ref=nav",
"designThrive": "https://www.topcoder.com/thrive/tracks?track=Design&ref=nav",
"developmentThrive": "https://www.topcoder.com/thrive/tracks?track=Development&ref=nav",
"qaThrive": "https://www.topcoder.com/thrive/tracks?track=QA&ref=nav",
"tco": "https://www.topcoder.com/community/member-programs/topcoder-open?ref=nav",
"programs": "https://www.topcoder.com/community/programs-and-events",
"forums": "https://discussions.topcoder.com/?ref=nav",
"statistics": "https://www.topcoder.com/community/statistics",
"blog": "https://www.topcoder.com/blog/",
"thrive": "https://www.topcoder.com/thrive"
"thrive": "https://www.topcoder.com/thrive?ref=nav"
},
"subMenuUrlsAfterLogin": {
"dashboard": "https://www.topcoder.com/my-dashboard",
"myProfile": "https://www.topcoder.com/members/CustomerUser",
"payments": "https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false",
"forums": "https://apps.topcoder.com/forums/"
"home": "https://www.topcoder.com/home",
"myProfile": "https://www.topcoder.com/members/test_swap12875",
"payments": "https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false&ref=nav",
"forums": "https://discussions.topcoder.com/?ref=nav"
},
"footerLinks": {
"allChallenges": "https://www.topcoder.com/challenges",
"competitiveProgramming": "https://www.topcoder.com/community/arena",
"taas": "https://www.topcoder.com/gigs",
"competitiveProgrammingThrive": "https://www.topcoder.com/thrive/tracks?track=Competitive%20Programming",
"dataScienceThrive": "https://www.topcoder.com/thrive/tracks?track=Data%20Science",
"designThrive": "https://www.topcoder.com/thrive/tracks?track=Design",
"developmentThrive": "https://www.topcoder.com/thrive/tracks?track=Development",
"qaThrive": "https://www.topcoder.com/thrive/tracks?track=QA",
"tco": "https://www.topcoder.com/community/member-programs/topcoder-open",
"programs": "https://www.topcoder.com/community/member-programs",
"forums": "https://apps.topcoder.com/forums",
"statistics": "https://www.topcoder.com/community/statistics",
"blog": "https://www.topcoder.com/blog/",
"thrive": "https://www.topcoder.com/thrive",
"gettingPaid": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Getting%20Paid",
"faq": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=FAQ",
"generalInfo": "https://www.topcoder.com/thrive/tracks?track=Topcoder",
"competitiveProgramming": "https://www.topcoder.com/community/arena?ref=navb",
"practice": "https://www.topcoder.com/community/practice?ref=navb",
"taas": "https://www.topcoder.com/gigs?ref=navb",
"competitiveProgrammingThrive": "https://www.topcoder.com/thrive/tracks?track=Competitive%20Programming&ref=navb",
"dataScienceThrive": "https://www.topcoder.com/thrive/tracks?track=Data%20Science&ref=navb",
"designThrive": "https://www.topcoder.com/thrive/tracks?track=Design&ref=navb",
"developmentThrive": "https://www.topcoder.com/thrive/tracks?track=Development&ref=navb",
"qaThrive": "https://www.topcoder.com/thrive/tracks?track=QA&ref=navb",
"tco": "https://www.topcoder.com/community/member-programs/topcoder-open?ref=navb",
"programs": "https://www.topcoder.com/community/programs-and-events",
"forums": "https://discussions.topcoder.com/?ref=navb",
"statistics": "https://www.topcoder.com/community/statistics?tracks[All-pills]=0&tracks[General]=0",
"blog": "https://www.topcoder.com/blog/?ref=navb",
"thrive": "https://www.topcoder.com/thrive?ref=navb",
"gettingPaid": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Getting%20Paid&ref=navb",
"faq": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=FAQ&ref=navb",
"generalInfo": "https://www.topcoder.com/thrive/tracks?track=Topcoder&ref=navb",
"websiteHelp": "mailto:support@topcoder.com",
"admins": "https://www.topcoder.com/community/admins",
"contactUs": "https://www.topcoder.com/community/contact",
"joinCommunity": "https://accounts.topcoder.com/member/registration?utm_source=community&utm_campaign=tc-footer&utm_medium=promotion",
"aboutCommunity": "https://www.topcoder.com/community/learn",
"changeLog": "https://www.topcoder.com/community/changelog",
"talkToSales": "https://go.topcoder.com/contact/",
"events": "https://www.topcoder.com/community/events",
"contactUs": "https://www.topcoder.com/community/contact?ref=navb",
"joinCommunity": "https://auth.topcoder.com/",
"aboutCommunity": "https://www.topcoder.com/the-community/",
"releasesAndUpdate": "https://www.topcoder.com/releases/?ref=navb",
"talkToSales": "https://go.topcoder.com/contact/?ref=navb",
"events": "https://www.topcoder.com/community/events?ref=navb",
"terms": "https://www.topcoder.com/community/terms",
"challengePipeline": "https://www.topcoder.com/community/pipeline"
"discord": "https://discord.com/invite/topcoder?ref=navb",
"discord_href": "https://discord.gg/topcoder?ref=navb"
},
"socialLinks": {
"facebook": "https://www.facebook.com/topcoder/",
"facebook": "https://www.facebook.com/topcoder/?ref=navb",
"youtube": "https://www.youtube.com/c/TopcoderOfficial",
"linkedin": "www.linkedin.com",
"twitter": "https://twitter.com/topcoder",
"instagram": "https://www.instagram.com/topcoder/"
"linkedin": "https://www.linkedin.com/authwall",
"twitter": "https://twitter.com/topcoder?ref=navb",
"instagram": "https://www.instagram.com/topcoder/?ref=navb",
"discord": "https://discord.com/invite/topcoder?ref=navb"
},
"forumSettingUrl": "https://apps.topcoder.com/forums/?module=Settings",
"paymentSettingUrl": "https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false",
"helpUrl": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
"forumSettingUrl": "https://discussions.topcoder.com/profile/preferences",
"paymentSettingUrl": "https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false&ref=nav",
"helpUrl": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles&ref=nav",
"searchUrl": "https://www.topcoder.com/search/members",
"allNotificationsUrl": "https://www.topcoder.com/notifications",
"policiesUrl": "https://www.topcoder.com/policy",
"username": "CustomerUser",
"password": "appirio123",
"email": "topcoderconnect@gmail.com",
"policiesUrl": "https://www.topcoder.com/policy?ref=navb",
"username": "test_swap12875",
"password": "Swap@123456",
"email": "swap12875@gmail.com",
"challangesLinks": {
"rssFeedUrl": "http://feeds.topcoder.com/challenges/feed",
"aboutUrl": "https://www.topcoder.com/about-the-2018-topcoder-open/",
"contactUrl": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles/hc/en-us/articles/219069687-Contact-Support",
"privacyUrl": "https://www.topcoder.com/privacy-policy/",
"helpUrl": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles",
"helpUrl": "https://www.topcoder.com/thrive/tracks?track=Topcoder&tax=Help%20Articles&ref=nav",
"termsUrl": "https://www.topcoder.com/community/how-it-works/terms/"
},
"challengeDetail": {
Expand Down Expand Up @@ -120,60 +124,59 @@
"profileInfo": {
"handle": "oton",
"numberOfCollapsedSkills": 4,
"verifiedSkill": "Geometry",
"verifiedSkill": ["C#", "Geometry", "Simple Math"],
"noneVerifiedSkill": "User Experience (Ux)",
"country": "INDONESIA",
"memberSince": "MEMBER SINCE MAY, 2006",
"tracks": ["COPILOT", "DEVELOP", "DESIGN", "DATA_SCIENCE"],
"quote": "Indonesian. Dad of two. IA. WordPress/WooCommerce. Rails.",
"forumLink": "https://apps.topcoder.com/forums/?module=History&userID=22076237"
"memberSince": "Member Since May 2006",
"tracks": ["UX / UI DESIGN", "DEVELOPMENT", "DATA SCIENCE", "SPECIALIZED ROLES"],
"quote": "Indonesian. Dad of two. IA. WordPress/WooCommerce. Rails."
},
"memberHaveWebSectionInfo": {
"handle": "oton",
"webLink": "HTTPS://ARIFWIDIANTO.COM"
},
"copilotProfile": {
"handle": "oton",
"trackName": "COPILOT",
"trackName": "SPECIALIZED ROLES",
"fullfillmentInfo": {
"name": "COPILOT",
"name": "Copilot",
"info": "92.31%",
"infoTitle": "FULFILLMENT",
"link": "https://www.topcoder.com/members/oton/details/?track=COPILOT&subTrack=COPILOT"
"link": "https://www.topcoder.com/members/oton"
}
},
"designProfile": {
"handle": "oton",
"trackName": "DESIGN",
"trackName": "UX / UI Design",
"numberOfSubtracks": 8,
"winInfo": {
"name": "WEB DESIGNS",
"info": "4",
"name": "Wireframes",
"info": "13",
"infoTitle": "WINS",
"link": "https://www.topcoder.com/members/oton/details/?track=DESIGN&subTrack=WEB_DESIGNS"
"link": "https://www.topcoder.com/members/oton"
}
},
"developmentProfile": {
"handle": "oton",
"trackName": "DEVELOP",
"trackName": "DEVELOPMENT",
"numberOfSubtracks": 2,
"winInfo": {
"name": "UI PROTOTYPE COMPETITION",
"info": "908",
"infoTitle": "RATING",
"link": "https://www.topcoder.com/members/oton/details/?track=DEVELOP&subTrack=UI_PROTOTYPE_COMPETITION"
"name": "Wireframes",
"info": "0",
"infoTitle": "WINS",
"link": "https://www.topcoder.com/members/oton"
}
},
"dataScienceProfile": {
"handle": "oton",
"trackName": "DATA_SCIENCE",
"trackName": "DATA SCIENCE",
"numberOfSubtracks": 1,
"ratingInfo": {
"name": "SRM",
"info": "952",
"infoTitle": "RATING",
"link": "https://www.topcoder.com/members/oton/details/?track=DATA_SCIENCE&subTrack=SRM"
"link": "https://www.topcoder.com/members/oton"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const waitUntil = async (
(isPageLoad
? appconfig.LoggerErrors.PageLoad
: appconfig.LoggerErrors.ElementVisibilty) +
'.' +
extraMessage
'.' +
extraMessage
);
};

Expand Down Expand Up @@ -276,8 +276,8 @@ export const CommonHelper = {
(isPageLoad
? appconfig.LoggerErrors.PageLoad
: appconfig.LoggerErrors.ElementPresence) +
'.' +
extraMessage
'.' +
extraMessage
);
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ export class FooterConstants {
text: "Blog",
url: ConfigHelper.getFooterLink("blog"),
},
{
text: "Challenge Pipeline",
url: ConfigHelper.getFooterLink("challengePipeline"),
},
{
text: "Events Calendar",
url: ConfigHelper.getFooterLink("events"),
Expand All @@ -87,6 +83,10 @@ export class FooterConstants {
text: "Thrive",
url: ConfigHelper.getFooterLink("thrive"),
},
{
text: "Discord",
url: ConfigHelper.getFooterLink("discord_href"),
},
],
text: "COMMUNITY",
},
Expand All @@ -113,10 +113,6 @@ export class FooterConstants {
},
About: {
submenus: [
{
text: "Admins",
url: ConfigHelper.getFooterLink("admins"),
},
{
text: "Contact Us",
url: ConfigHelper.getFooterLink("contactUs"),
Expand All @@ -130,8 +126,8 @@ export class FooterConstants {
url: ConfigHelper.getFooterLink("aboutCommunity"),
},
{
text: "Changelog",
url: ConfigHelper.getFooterLink("changeLog"),
text: "Releases & Updates",
url: ConfigHelper.getFooterLink("releasesAndUpdate"),
},
{
text: "Talk to Sales",
Expand All @@ -141,7 +137,9 @@ export class FooterConstants {
text: "ABOUT",
},
};

if (isLoggedIn) {
menuConfiguration['About'].submenus.splice(1, 1)
}
return menuConfiguration;
}

Expand All @@ -155,6 +153,7 @@ export class FooterConstants {
ConfigHelper.getSocialLink("linkedin"),
ConfigHelper.getSocialLink("twitter"),
ConfigHelper.getSocialLink("instagram"),
ConfigHelper.getSocialLink("discord")
];
}
}
Loading