mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[e2e] new reporter (#906)
* try new reporter * run specific suite for testing purposes * change folder output for report * more report settings * remove fdescribe * remove package and update package-lock * remove disabled tests not needed by the new reporter * try to identify cause of travis failure * run only specific tests for investigation purpose * remove sleep and increase retry delay * try a different fix * revert to previous fix * try different expects * call different js-api method * remove parameter not needed anymore
This commit is contained in:
committed by
Suzana Dirla
parent
7701dbce93
commit
42b5f4b749
@@ -96,7 +96,7 @@ export class FavoritesApi extends RepoApi {
|
||||
let isFavorite;
|
||||
try {
|
||||
const favorite = async () => {
|
||||
isFavorite = JSON.stringify((await this.getFavorites()).list.entries).includes(nodeId);
|
||||
isFavorite = await this.isFavorite(nodeId);
|
||||
if ( isFavorite !== data.expect ) {
|
||||
return Promise.reject(isFavorite);
|
||||
} else {
|
||||
@@ -114,7 +114,7 @@ export class FavoritesApi extends RepoApi {
|
||||
async removeFavoriteById(nodeId: string) {
|
||||
await this.apiAuth();
|
||||
try {
|
||||
return await this.favoritesApi.deleteSiteFavorite('-me-', nodeId);
|
||||
return await this.favoritesApi.deleteFavorite('-me-', nodeId);
|
||||
} catch (error) {
|
||||
// console.log('--- remove favorite by id catch ');
|
||||
}
|
||||
|
Reference in New Issue
Block a user