Protractor is deprecated; use nightwatch instead for e2e tests
Bug #1989195 reported by
Jane Sandberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
In Angular 12, protractor is deprecated: https:/
It will reach EOL in Summer 2023.
It shouldn't be too burdensome to move to another e2e framework, since we never added too many e2e tests in the first place. At first glance, it seems like nightwatch would be a good option, since it is widely used and doesn't require X11 to be running.
Changed in evergreen: | |
assignee: | nobody → Bill Erickson (berick) |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | none → 3.11-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here is a PR that removes protractor, adds in nightwatch, and adds a handful of e2e tests for the angular client: user/sandbergja /lp1989195_ nightwatch_ over_protractor
There are various notes about the new e2e tests here: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commitdif f;h=38426cffd9c fbf182be312867d e768a96f203ea6# patch2
Long story short, you will need firefox installed. Then cd into the eg2 directory and run `npm i`. If you have a GUI, run `ng e2e`; if not, run `MOZ_HEADLESS=1 ng e2e`.