Challenge Overview
Challenge Objectives
-
Refactor and update E2E tests for the topcoder community app.
About the Application
Topcoder is in the process of automating the testing of the topcoder website. This challenge is part of refactoring and updating the test scripts for the community app. For reference, here is the previous challenge.
Technology stack
-
Node.js
-
Jasmine
-
TypeScript
Assets
Repo : https://github.com/topcoder-platform/community-app
Branch : community-app-tests-poc
Working Folder : community-app-tests
Original Code: You will be refactoring and updating the code present here. Use this original code only as reference and reuse when applicable. You must NOT work on this branch.
Test cases:
Test cases can be found here. Your test scripts must include all test cases present here.
Detailed Requirement
Refactor and update the test scripts for the following sections
-
Challenge listing
-
Challenge Details
-
Fix the existing failed test cases. (Due to updates to the header and footer)
Refactoring:
Use the Topcoder testing library:
-
Use the helpers from the topcoder-testing-lib for element locators, browser actions etc
-
Do not import anything from protractor in your files. You must use the library for all such cases.
-
In case the library does not contain the functionality that you require, you must add the functionality to the library. Please use this branch for any such updates to the library.
Test Data:
-
All test data must be stored and accessed from the json files under the test data folder.
-
Test data must be accessed only by the test spec files.
If you have any questions please post on the forums.
Final Submission Guidelines
-
Git patch file for the community app and library(if updated)
-
Verification/Deployment Document (with Test Result)