Port Selenium tests to Cypress
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cypress
- Domain
- testing-qa
Research direction
Use the Selenium-to-Cypress breakdown in this issue as the work map, starting with the linked child issues #9337–#9347 and the existing CI test setup. Review which Selenium tests are skipped or failing, then compare their coverage with the current Cypress tests. Done means the listed end-to-end coverage has been ported so it runs under Cypress instead of Selenium.
Written by the indexing model from the issue text.
Description
Currently, we do e2e testing in both selenium and cypress, two different testing frameworks. This slows down our workflows and requires more effort to maintain. Most of our selenium tests are also flagged to be skipped on CI mostly due to the lack of necessary components. The codebase has changed significantly while all of these tests were being skipped, so it is likely that a majority of them need major refactor if they are to work at all with the current or future codebase.
Furthermore, the tests that do work in CI fail most of the time. Workflows often need to be re-run 3-4 times before they pass selenium. This makes ongoing development challenging and slows productivity.
Hence, we will be gradually porting over the selenium tests to cypress so we can run all of our e2e tests under the single framework, saving time and energy.
Here is the breakup of our current selenium tests that need to be rewritten in Cypress, along with their complexity (represented with ✦'s), and the number of tests that are currently being run in CI:
- #9337
- Relies on java dependency and config files
- #9338
- Currently fails the most often (on merge_threads)
- #9339
- #9340
- #9341
- Out of sync with latest sample queue data
- #9342
- #9343
- #9344
- #9345
- #9346
- #9347
- Dominant language
- PHP
- Stars
- 793
- Forks
- 1.1k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 78
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Submitty/Submitty
-
Awaiting Triage bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Awaiting Triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug good first issue grade inquiry (prev. regrade request) Notifications / Email
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug good first issue grade inquiry (prev. regrade request)
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug good first issue TA Grading / TA UI
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
All issues in Submitty/Submitty
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getgrav/grav-plugin-api#45 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RSS-Bridge/rss-bridge#5098 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
phingofficial/phing#2025 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
silverstripe/developer-docs#911 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100