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

Dev to Main Sync #903

Merged
merged 4 commits into from
Nov 5, 2024
Merged

Dev to Main Sync #903

merged 4 commits into from
Nov 5, 2024

Conversation

AnujChhikara and others added 3 commits October 29, 2024 10:23
…ed (#900)

* Fix: Side panel data not updating when different user cards are clicked

* renamed the variable

* added tests

* using staging api url for testing
…o super_user only (#896)

* Restrict approve and reject buttons on the Task Request detail page to super users only

* fixes naming convention, button render logic

* fix: reject button should not be part of the dom if condition not met

* changed the superUser data, make the task-request/script.js type module

* added tests how buttons should render for non-super user

* Update task-requestDetails.test.js

removed unused variable

* using data-testid for the tests

* importing the superuser data

* removing reject button from dom after successful task update

* put the changes behind the feature flag

---------

Co-authored-by: Achintya Chatterjee <[email protected]>
expect(rejectButton).toBeNull();
});

it('Should render task status for non-super users', async function () {
Copy link
Member

@pankajjs pankajjs Nov 1, 2024

Choose a reason for hiding this comment

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

This test is failing.

Copy link
Contributor

Choose a reason for hiding this comment

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

fixed

* task-requestDetails test fix

* removed fixed delays
Copy link

cloudflare-workers-and-pages bot commented Nov 4, 2024

Deploying dashboard-rds with  Cloudflare Pages  Cloudflare Pages

Latest commit: d1641bd
Status: ✅  Deploy successful!
Preview URL: https://027cad21.dashboard-rds.pages.dev
Branch Preview URL: https://develop.dashboard-rds.pages.dev

View logs

@iamitprakash iamitprakash merged commit c2be994 into main Nov 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants