Skip to content
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

Adding e2e tests to CI #2704

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Adding e2e tests to CI #2704

wants to merge 10 commits into from

Conversation

mattgperry
Copy link
Collaborator

@mattgperry mattgperry commented Jun 18, 2024

This PR moves E2E tests to CircleCI, with a check for passing tests on main before publish.

@mattgperry mattgperry requested a review from nvh September 25, 2024 08:00
@@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be committed

Comment on lines +21 to +25
"jest-junit",
{
"outputDirectory": "../../test_reports",
"outputName": "framer-motion.xml"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these still outputting the junit test reports to the console? Or did we fix that too?

@@ -445,7 +446,7 @@ describe("AnimatePresence", () => {
})

test("Fast animations with wait render the child content correctly (strict mode disabled)", async () => {
const promise = new Promise<boolean>((resolve) => {
await new Promise<boolean>((resolve) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In theory if this reslove with false, we would not catch this now.
If it rejects, than the await throws and that will fail the test, right?

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.

2 participants