[ADF-5225] smoke test (#6929)

* change smoke test suite

* less

* fix error message undefined

* Update protractor.conf.js
This commit is contained in:
Eugenio Romano
2021-04-21 09:53:22 +01:00
committed by GitHub
parent e376d2f66a
commit 1a3cf77986
2 changed files with 5 additions and 4 deletions

View File

@@ -97,7 +97,7 @@ export class ApiService {
try {
await this.apiService.login(profile.username, profile.password);
} catch (error) {
Logger.error(`Failed to login with ${profile.username}`, error.message);
Logger.error(`Failed to login with ${profile.username}`, error?.message);
throw new Error(`Login failed with ${profile.username}`);
}
} else {