This repository has been archived by the owner on May 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): remove sdd template tests (#2810)
- Loading branch information
1 parent
3b9baa5
commit a49d68d
Showing
14 changed files
with
113 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
import { browser } from 'protractor'; | ||
import { debug, info } from '../support'; | ||
|
||
export class Logging { | ||
name: string = ''; | ||
|
||
log(action: string, ...msg: string[]) { | ||
let className = this.constructor.name; | ||
info(`${action}: ${browser.browserName} ${className}('${this.name}')`, ...msg); | ||
info(`${action}: ${className}('${this.name}')`, ...msg); | ||
} | ||
|
||
debug(context: string, ...msg: string[]) { | ||
let className = this.constructor.name; | ||
debug(`${browser.browserName} ${className}('${this.name}'): ${context}`, ...msg); | ||
debug(`${className}('${this.name}'): ${context}`, ...msg); | ||
} | ||
|
||
fail(action: string, ...msg: string[]) { | ||
let className = this.constructor.name; | ||
/* to display errors in red */ | ||
console.error('\x1b[31m%s', `${action}: ${browser.browserName} ${className}('${this.name}')`, ...msg, '\x1b[0m'); | ||
console.error('\x1b[31m%s', `${action}: ${className}('${this.name}')`, ...msg, '\x1b[0m'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...mplateSpecificTests/agileTemplate.spec.ts → src/tests/specs/agileTemplate.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.