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

Expand Cypress test for creating an access code #592

Open
7 tasks
eleanorreem opened this issue Sep 8, 2023 · 4 comments
Open
7 tasks

Expand Cypress test for creating an access code #592

eleanorreem opened this issue Sep 8, 2023 · 4 comments
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request help wanted Extra attention is needed software testing Software testing

Comments

@eleanorreem
Copy link
Contributor

eleanorreem commented Sep 8, 2023

Overview

We have a test that checks whether a user is sent to the partner admin dashboard on load if they have partner admin authentication - see partner-admin.cy.tsx. However, we don't check whether they successfully can make an access code.

Action Items

  • Ensure you have cypress tests running.
  • Create branch and get the cypress tests running
  • Add the next steps to the test:
  • Create partner access code by clicking on the generate code button
  • Ensure the success message appears after the code has been generated
  • Run cypress tests to ensure your test passes
  • Create a PR and tag @kyleecodes or @eleanorreem

Resources/Instructions

@eleanorreem eleanorreem added feature/enhancement New feature or request complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days labels Sep 8, 2023
@kyleecodes kyleecodes added the hacktoberfest Hacktoberfest issues label Oct 3, 2023
@kyleecodes kyleecodes added software testing Software testing and removed hacktoberfest Hacktoberfest issues labels Nov 3, 2023
@kyleecodes kyleecodes added the help wanted Extra attention is needed label Mar 25, 2024
@kyleecodes kyleecodes moved this to To-Do Bloom Frontend in Chayn Tech Volunteer Advancement Jul 2, 2024
@SureshPradhana
Copy link
Contributor

I'd like to work on this.

Copy link
Contributor

Thank you @SureshPradhana you have been assigned this issue!
Please follow the directions in our Contributing Guide. We look forward to reviewing your pull request shortly ✨


Support Chayn's mission? ⭐ Please star this repo to help us find more contributors like you!
Learn more about Chayn here and explore our projects. 🌸

@SureshPradhana
Copy link
Contributor

image
I was trying to create partner accounts to run Cypress tests. I have seeded the database and made the public user a super admin, but the "Select Partner" dropdown does not show any options. I checked the partner database, and there is data present.

@kyleecodes
Copy link
Member

@SureshPradhana thanks for reaching out!
We just updated our database dump, see the updated bloom-backend README and the linked Chayn Tech Wiki guide on Notion for the new directions. This may be due to that. This is a common error whenever the db is not properly seeded and connecting to the frontend.

@github-actions github-actions bot added the stale This issue or PR is inactive label Oct 21, 2024
@kyleecodes kyleecodes removed the stale This issue or PR is inactive label Oct 23, 2024
@github-actions github-actions bot added the stale This issue or PR is inactive label Nov 25, 2024
@kyleecodes kyleecodes removed the stale This issue or PR is inactive label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: moderate Time needed to do this ticket will be moderate e.g. 1-2 days feature/enhancement New feature or request help wanted Extra attention is needed software testing Software testing
Projects
None yet
Development

No branches or pull requests

3 participants