Hello, Dataverse Team!
My name is Ash Manda. I am an MSCS student and a GRA working in the Infrastructure team of the Research Data Management Core here at UNC-CH. I'm currently working under @Don Sizemore on a variety of tasks involving Dataverse, primarily developing a containerized Playwright testing suite that plugs directly into Maven.
I wanted to reach out and introduce myself since I'll be looking into the current Selenium and Cypress tests in the main Dataverse repo. I will most definitely be asking for some direction on things like handling 2FA as I dig in! :smile:
@Philip Durbin ๐ @Oliver Bertuch
@Ash Manda hi!
Playwright? I thought we had standardized on Cypress. :thinking:
Hi Philip. Thank you so much for replying. In our use case, we decided to go with Playwright in Java for a multitude of reasons that include some of the following:
But the testing code should (eventually) be merged into the main repo, right? Should the maintainers of that repo have a say in which tool to use?
Philip Durbin ๐ said:
But the testing code should (eventually) be merged into the main repo, right? Should the maintainers of that repo have a say in which tool to use?
absolutely, and yes we'd like to eventually merge what Ash produces. I just searched the IQSS org and Dataverse guides for cyprus but didn't find much on automated testing there. Is there a document outlining current automated testing plans with Cyprus, would y'all be willing to share that?
Isn't it "cypress" instead of "cyprus"?
At least that's what I see in https://github.com/IQSS/dataverse-frontend/blob/develop/cypress.config.ts
well, now that I can spell, I have more to go on :rofl: @Ash Manda let's take a look at https://github.com/IQSS/ondemand-loop/blob/6a7df45259fd97d58c9a87b445a8db8d2f99424d/docs/guide/content/development_guide/github_actions.md?plain=1#L10 ?
Sorry, sorry, I was in a meeting.
Should we fire up zoom at talk a bit about automated testing?
I just want to make sure we're on the same page.
I'm very excited about more automated testing! And fresh ideas!
@Philip Durbin ๐ Ash isn't here just yet today but yes I'd love to put the two of you in touch. We have a specific use case down here (21CFRPart11 validation) but by the time we work that out, we've done the bulk of the work for the greater repo/community.
Perfect! Thanks!
Don Sizemore said:
Is there a document outlining current automated testing plans with Cypress, would y'all be willing to share that?
Hmm, I think the closest might be the Dataverse - SPA Development Strategy doc, first shared here. There's a section on testing there that mentions Cypress.
@Ellen K might know more about why we chose Cypress over Playwright for the frontend. I remember talking about it but I can't find any notes.
Of course, for the backend we already use REST Assured for API testing. This is described here: https://guides.dataverse.org/en/6.9/developers/testing.html#writing-api-tests-with-rest-assured
One of the things I'd like to understand is what we'd use Playwright for in the backend repo. Would we be testing the JSF code that we plan to throw away once we've switched to the SPA? :trash_can: :thinking:
@Philip Durbin ๐ good afternoon! we're free until 3pm if you want me to scare up Ash for a Zoom?
Hmm, I have a meeting in 10 minutes but we could talk quick if you want. Or maybe at 2pm?
2pm would be perfect!
Great, hopefully my 2FA is fixed by then :grimacing:
Thanks for chatting! See you at the frontend meeting tomorrow!
I just added this topic to the agenda: https://docs.google.com/document/d/1ape8WJZjkjyypnHB88Ieodv7BSMJGVyZYlYwAdrZUM8/edit?usp=sharing (please feel free to request access).
@Don Sizemore @Ash Manda thanks for joining! This is what I wrote in the notes:
I'll just add that I'd kindly request you to delete the old Cypress tests added in https://github.com/IQSS/dataverse/pull/5922 as part of this effort. Sadly, we never got a chance to make proper use of them.
You might find inspiration from the Cypress tests at https://github.com/IQSS/dataverse-frontend under the "tests" directory. And DEVELOPER_GUIDE.md talks about them.
Last updated: Apr 03 2026 at 06:08 UTC