-
Notifications
You must be signed in to change notification settings - Fork 155
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
Fix/remove outdated fields #914
Fix/remove outdated fields #914
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is test
task/script.js
Outdated
@@ -192,28 +216,32 @@ taskForm.onsubmit = async (e) => { | |||
delete dataToBeSent.endsOn; | |||
} | |||
|
|||
if (status === 'AVIALABLE') { | |||
if (status === 'AVAILABLE') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don’t we have any enum available here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, I couldn't find any
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then please create it and use it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then please create it and use it
Did it, please do review
@@ -0,0 +1,106 @@ | |||
const API_BASE_URL = 'https://api.realdevsquad.com'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we already have defined the based URL in the test config can you please check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have checked, I couldnt find can you tell me which file?
Also if you check task-dependency.test.js also has const API_BASE_URL = 'https://api.realdevsquad.com'; let me know if it can be replaced
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use data test id instead of classes and id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can but this code has later to be removed anyways, why should we update index.html and add data test id's, id's and classes seems fine, isn't it?
f7c9163
to
e67974b
Compare
83db091
to
14374bd
Compare
Date: 17th November, 2024
Developer Name: Sunil Kumar
Issue Ticket Number
Description
The following fields needs to be removed according to new requirements
featureUrl
feature/group
radio buttonTask level section
category
level
Documentation Updated?
Under Feature Flag
Database Changes
Breaking Changes
Development Tested?
Screenshots
Screenshot 1
Test Coverage
Screenshot 1