-
Notifications
You must be signed in to change notification settings - Fork 43
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
Upgrade cBioPortal to newer version of Node.js and Webdriver.io #108
Comments
Hello @alisman Thank you |
Project Title: Upgrade cBioPortal to Newer Versions of Node.js and Webdriver.io Project Description: Project Goals: 1. Update Node.js: Identify and select a Node.js version that is both stable and supported by the desired Webdriver.io version. 2. Upgrade Webdriver.io: Choose a Webdriver.io version compatible with the selected Node.js version. 3. Migrate Tests to Async Style: Adapt approximately 600 tests to utilize the async style as per the Webdriver.io documentation. Programming Languages: JavaScript (Node.js) Project Size: Medium 175 hours. Difficulty Level: Medium Potential Mentors: Contributor: |
Hello, I'm Mobin. 4th year CS student. |
Hey @alisman, @haynescd, and @walleXD, Hope you're all doing great! I stumbled upon the Node.js upgrade project for cBioPortal and couldn't help but feel drawn to it. Even though I've graduated with a BSc in Biochemistry, my love for coding led me to dive into JavaScript for the past couple of years. Now, as a recent grad, I'm itching to put my skills to good use and contribute to open-source projects like this one. The idea of upgrading Node.js sounds like a thrilling challenge, and I'm eager to roll up my sleeves and dive in. Although I'm still learning the ropes of Computer Science, I'm confident in my abilities and super keen on learning more. Plus, the chance to work on browser-automation tests? Count me in! I'm all about exploring new territories and making a meaningful impact in the community. Looking forward to potentially teaming up with you all and making some magic happen! Cheers, |
Background:
cBioPortal frontend build system and CI infrastructure is on a deprecated version of Node.js (15.2). We want to upgrade to a more recent version, but there are many issues that will need to be resolved to do that.
Goal:
To upgrade Node.js to a modern version.
Approach:
The largest obstacle is that our e2e process uses Webdriver.io at v6, which cannot run on newer versions of Node. We will need to upgrade Webdriver.io and all the tests to use async style https://webdriver.io/docs/async-migration. As explained here, Node 16 no longer supports sync methods and so that style of e2e scripting will not work anymore. This will require a significant amount of work to migrate about 600 tests to use asycn style.
Need skills:
Solid javascript skills and understanding of async code execution. Familiarity with and interest in subject of browser-automation tests.
Possible mentors:
@alisman
@haynescd
@walleXD
The text was updated successfully, but these errors were encountered: