amosproj / amos2022ws03-software-oscilloscope

MIT License
7 stars 2 forks source link

Feature/#93 front end tests #203

Closed leandertolksdorf closed 1 year ago

leandertolksdorf commented 1 year ago

Current test coverage:

Bildschirm­foto 2023-01-30 um 16 25 59

When running cypress tests, the coverage report gets saved into coveragefolder, we could include this in the CI output.

I added more tests for frontend-only stuff like tooltips, but I'm really struggling with tests that involve signals from the backend. See file cypress/e2e/2-indicators/line-indicators.cy.js: I tried mocking the websocket connection to send a test sample array. And the message is received at the frontend. Problems are:

cypress[bot] commented 1 year ago

Passing run #532 ↗︎

0 42 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge branch 'dev' into feature/#93-front-end-tests
Project: sosci-frontend Commit: 94fa45f44c
Status: Passed Duration: 04:31 💡
Started: Jan 31, 2023 9:48 PM Ended: Jan 31, 2023 9:53 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.