Skip to content

Cypress visual regression testing #998

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

Merged
merged 38 commits into from
Jul 10, 2024
Merged

Conversation

mwtrew
Copy link
Contributor

@mwtrew mwtrew commented Jun 13, 2024

Use Cypress for visual regression testing.

Copy link

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 36.11111% with 23 lines in your changes missing coverage. Please review.

Project coverage is 35.71%. Comparing base (9245b32) to head (de1cba4).

Files Patch % Lines
src/test/pages/MyAssignments.cy.tsx 0.00% 8 Missing ⚠️
src/test/pages/SetAssignments.cy.tsx 0.00% 8 Missing ⚠️
src/test/pages/Groups.cy.tsx 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #998      +/-   ##
==========================================
- Coverage   35.73%   35.71%   -0.03%     
==========================================
  Files         416      420       +4     
  Lines       18504    18527      +23     
  Branches     6016     6030      +14     
==========================================
+ Hits         6613     6617       +4     
- Misses      11260    11873     +613     
+ Partials      631       37     -594     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mwtrew mwtrew marked this pull request as ready for review June 24, 2024 13:48
@@ -5,7 +5,8 @@
import userEvent from "@testing-library/user-event";
import {MyAssignments} from "../../app/components/pages/MyAssignments";
import {mockMyAssignments, mockUser} from "../../mocks/data";
import {augmentErrorMessage, dayMonthYearStringToDate, DDMMYYYY_REGEX, renderTestEnvironment, DAYS_AGO} from "../utils";
import {augmentErrorMessage, renderTestEnvironment} from "../testUtils";

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note test

Unused import augmentErrorMessage.
@mwtrew mwtrew merged commit 054f867 into master Jul 10, 2024
4 checks passed
@mwtrew mwtrew deleted the cypress-visual-regression-testing branch July 10, 2024 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant