Class UserTrashcanAPI


  • @Component
    public class UserTrashcanAPI
    extends BaseAPI
    Helper methods for performing actions on user trashcan
    Since:
    2.6
    Author:
    Oana Nechiforescu
    • Constructor Detail

      • UserTrashcanAPI

        public UserTrashcanAPI()
    • Method Detail

      • emptyTrashcan

        public void emptyTrashcan​(String username,
                                  String password)
        Clears the trashcan for the current user
        Parameters:
        username - the username
        password - the password
        Throws:
        AssertionError - if emptying the trashcan fails.