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

Feature/add selenium tests #13664

Closed

Conversation

kevany23
Copy link

@kevany23 kevany23 commented Dec 1, 2021

Fixes put_#_and_issue_number_here

Changes

As a follow up to previous pull request, here are the test workflows I have made for selenium testing.
Setup for these test workflows will be necessary on developers' devices, per the instructions in README.md


UUID:
e3dc3680-cd76-4bc8-8976-ce11bd297cf3

@kevany23
Copy link
Author

kevany23 commented Dec 6, 2021

Summary of test workflows:

  • debugTests.js: test debug menu and setup for subsequent tests
  • taskTest.js: test multiple workflows with dailies, todos, and habits on the task page
  • inventoryTest.js: test some inventory functions with equipping equipment
  • shopTest.js: test inventory and shop functionality with purchasing
  • rewardTest.js: test buying rewards on the task page
  • guildTest.js: test some guild page functionality
  • tavernTest.js: test tavern chat functionality
  • messageTest.js: test messaging system by sending message to self
  • profileTest.js: test editing user profile
  • partyTest.js: test messaging party and editing party info
  • questTest.js: test adding quest to party workflow
  • challengeTest.js: test adding challenge to party workflow
  • playerClassTest.js: test some character class changes

Haibitca must be running locally first (See Habitica repo)\
Run the command `npm test`

## Manual setups
Copy link
Member

Choose a reason for hiding this comment

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

This seems rather onerous for what's meant to be an automated test suite--is there a way we can create the user with the necessary data within the test database as part of running the selenium script?

@SabreCat
Copy link
Member

Closing as abandoned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants