-
Notifications
You must be signed in to change notification settings - Fork 159
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
[Tests-Only] Restore files and folder from trashbin with same name #3016
[Tests-Only] Restore files and folder from trashbin with same name #3016
Conversation
@swoichha please always prefix the subject with "Tests" or something that makes it clear that the PR is about adding tests, not actually implementing the feature. Thanks! |
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.
no need to have the extra folder
functions, you can use the same as for files. files/folders are the same
e.g. Then('file/folder {string} should be listed on the webUI', function (folder) {
is the same as Then('the folder {string} should be listed on the webUI', function (folder) {
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
a3465e2
to
c3f1dd2
Compare
c3f1dd2
to
3052239
Compare
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/webUITrashbin/trashbinRestore.feature
Outdated
Show resolved
Hide resolved
01f0ace
to
cea007b
Compare
d732f3a
to
fb6fd97
Compare
@individual-it @kiranparajuli589 please review again |
LGTM 👍 |
@@ -371,6 +378,13 @@ Then('file/folder {string} should not be listed on the webUI', async function (f | |||
) | |||
}) | |||
|
|||
Then('{string} {string} should not be listed on the webUI', async (elementType, folder) => { |
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 that will be too confusing to have a very similar step one with quotes around "folder" and one without.
Better to have separate step for file and folder
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.
LGTM, please squash the commits and then we can merge
c8c6abc
to
2400e36
Compare
requested changes have been implemented
Description
Related Issue
#1723
Motivation and Context
How Has This Been Tested?
Types of changes
Checklist: