datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

test: add agenda-neue cypress tests

Open NGPixel opened this issue 3 years ago • 1 comments
trafficstars

Run Tests in Cypress GUI

To manually run the tests visually, first start the Vite preview server:

yarn preview

Then in another process, run Cypress:

yarn cypress:open

Wait for the Cypress window to open (this can take a few seconds, especially the first time).

Select E2E Testing, then Start E2E Testing in Electron.

In the newly opened window, select the "agenda-neue.cy.js" spec.

The tests will start running.


Run Tests in Headless mode (Command Line)

To run the tests from the command line in headless mode, first start the Vite preview server:

yarn preview

Then in another process, run Cypress:

yarn cypress

A video recording of the tests is available under ./cypress/videos

⚠️ Only the agenda-neue.cy.js spec will work using these instructions. Older specs (such as agenda.cy.js and specs under the nomcom subfolder) requires the full datatracker to be running.

NGPixel avatar Jul 28 '22 03:07 NGPixel

Codecov Report

Merging #4293 (c311a72) into main (1778652) will decrease coverage by 0.02%. The diff coverage is n/a.

:exclamation: Current head c311a72 differs from pull request most recent head bc1b0bf. Consider uploading reports for the commit bc1b0bf to get more accurate results

@@            Coverage Diff             @@
##             main    #4293      +/-   ##
==========================================
- Coverage   88.51%   88.49%   -0.03%     
==========================================
  Files         294      294              
  Lines       39270    39271       +1     
==========================================
- Hits        34761    34754       -7     
- Misses       4509     4517       +8     
Impacted Files Coverage Δ
ietf/utils/text.py 85.97% <0.00%> (-1.22%) :arrow_down:
ietf/utils/mail.py 79.62% <0.00%> (-0.71%) :arrow_down:
ietf/group/utils.py 94.17% <0.00%> (-0.45%) :arrow_down:
ietf/doc/views_search.py 89.67% <0.00%> (-0.44%) :arrow_down:
ietf/utils/draft.py 71.60% <0.00%> (-0.11%) :arrow_down:
ietf/secr/sreq/forms.py 98.28% <0.00%> (+<0.01%) :arrow_up:
ietf/ietfauth/utils.py 91.35% <0.00%> (+0.61%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Aug 02 '22 23:08 codecov[bot]