IQSS / dataverse-pm

Project management issue tracker for the Dataverse Project. Note: Related links and documents may not be public.

Home Page:https://dataverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spike: investigate UI testing workflow and resources

mreekie opened this issue · comments

@mreekie Note that Matthew Dunlap at Odum, who I can't seem to tag here, is currently writing Selenium tests for a local project and may be a good Person to Pester.

Hi All,

You can see the work we are doing on automating Dataverse UI tests and generating a report here https://github.com/OdumInstitute/dataverse-automated-user-tests/tree/python-test . In the next few weeks this will be pulled into the main branch. There is no use documentation currently but it will be added.

You can also see info on the tests we are performing here uncch-rdmc/dataverse-automated-user-tests#1 . There is a more detailed document written on this we could share I think, though most of that info is being added to the text.py file in the codebase as tests are added.

At a general level, I tried to break up the python code to help some with reuse. There are two mixins that cover testing datasets and dataverses, and these could be easily reused in a different test class. These are a bit more thorough than the rest of our happy path test as they fully check that data is set correctly after save. Much of our other testing mostly just looks for success alerts and errors if a web element is not present to continue the test workflow.

Anyways, feel free to ask me any questions!