Frontend for sphinx tribes and bounties. The bounty platform that pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
but we want to assert that when we click on the custom date we can type the dates manually in the date inputs.
We want to Sign in as Alice and create 22 bounties, then navigate to the admin tab, assert that the 20 bounties are on the 7-day and the bounties count shows 22 bounties, click on the date dropdown, and select Custom and input the start date as the beginning of the month and the end date as the current date, then assert that 22 bounties is still the bounties count, the screen's date range at the top left side matches the selected date.
Note: the dates should be dynamic and not static i.e. the start date should be the first day of the month the bounty was created and the end date should be the last day of the month
Context
Currently, we have a cypress command to create a bounty
but we want to assert that when we click on the custom date we can type the dates manually in the date inputs.
We want to Sign in as Alice and create 22 bounties, then navigate to the admin tab, assert that the 20 bounties are on the 7-day and the bounties count shows 22 bounties, click on the date dropdown, and select
Custom
and input the start date as the beginning of the month and the end date as the current date, then assert that 22 bounties is still the bounties count, the screen's date range at the top left side matches the selected date.Note: the dates should be dynamic and not static i.e. the start date should be the first day of the month the bounty was created and the end date should be the last day of the month
File to create
sphinx-tribes-frontend/cypress/e2e/51_adminCustomDateInput.cy.ts
there will be no modifications to
sphinx-tribes-frontend/cypress/support/commands.ts
Acceptance Criteria
Save
The Custom Date Input flow is shown below
References
Example cypress test
https://github.com/stakwork/sphinx-tribes-frontend/blob/master/cypress/e2e/0_create_bounty.cy.ts