[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:
Adina Parpalita
2019-01-29 14:10:02 +02:00
committed by Suzana Dirla
parent 7701dbce93
commit 42b5f4b749
27 changed files with 65 additions and 99 deletions

View File

@@ -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 ');
}