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

More tests for collaborators expiration date #3132

Closed
5 tasks done
LukasHirt opened this issue Mar 3, 2020 · 6 comments · Fixed by #3157
Closed
5 tasks done

More tests for collaborators expiration date #3132

LukasHirt opened this issue Mar 3, 2020 · 6 comments · Fixed by #3157
Labels
Milestone

Comments

@LukasHirt
Copy link
Collaborator

LukasHirt commented Mar 3, 2020

Follow up on #3086

Needs to be implemented:

@individual-it
Copy link
Member

@kiranparajuli589 @jasson99 how much of that issue is left to do?

@kiranparajuli589
Copy link
Contributor

kiranparajuli589 commented Apr 9, 2020

  • Editing user and group when both have different default/enforced expiration dates

@individual-it @LukasHirt @jasson99
Is this really editing user/group or editing user/group shares??

@kulmann
Copy link
Member

kulmann commented Apr 9, 2020

  • Editing user and group when both have different default/enforced expiration dates

@individual-it @LukasHirt @jasson99
Is this really editing user/group or editing user/group shares??

This is editing of user-shares and group-shares. Expiration dates are defined separately for the two share types (but in the same manner for both).

We don't have user and group editing in Phoenix, yet. ;-)

@individual-it
Copy link
Member

@LukasHirt what do you mean by the unit tests in Expiration date gets displayed (unit test should be enough)? AFAIK there are no unit tests in phoenix

@LukasHirt
Copy link
Collaborator Author

@individual-it Yeah, unit tests are not yet in place but we want to bring them soon (#2026). For now, I'd say we can postpone that one scenario. My main reason for doing this as a unit test is that acceptance tests would need to do some gymnastics to really test it reliably since the displayed expiration date changes depending on the time of the day. So it doesn't seem worth the effort to me. Unit tests should be perfectly enough IMHO.

@kiranparajuli589 kiranparajuli589 removed their assignment Dec 30, 2020
@pascalwengerter
Copy link
Contributor

Just fixed the selectors for expiration dates in the acceptance tests the other day so closing this as fixed :) we'll perhaps move some of it to unit tests soon, but let's open a new ticket for that when it gets relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants