2021-02-24 13:21:19 +00:00
|
|
|
import Collections from "../apiRequests/Collections";
|
2021-02-18 09:00:08 +00:00
|
|
|
|
|
|
|
class CollectionsUtils {
|
|
|
|
collectionsRequest = new Collections();
|
2021-02-19 11:08:10 +00:00
|
|
|
|
|
|
|
deleteProperCollections(startsWith) {
|
|
|
|
cy.deleteProperElements(
|
|
|
|
this.collectionsRequest.deleteCollection,
|
|
|
|
this.collectionsRequest.getCollections,
|
|
|
|
startsWith,
|
|
|
|
"collection"
|
|
|
|
);
|
|
|
|
}
|
2021-02-18 09:00:08 +00:00
|
|
|
}
|
|
|
|
export default CollectionsUtils;
|