var content,
name;
- function getTestString() {
- return Math.random().toString() + '-öäü-♠♣♥♦';
+ function getTestString( suffix = 'defaultsuffix' ) {
+ return Math.random().toString() + '-öäü-♠♣♥♦-' + suffix;
}
before( function () {
beforeEach( function () {
browser.deleteCookie();
- content = getTestString();
- name = getTestString();
+ content = getTestString( 'beforeEach-content' );
+ name = getTestString( 'beforeEach-name' );
} );
it( 'should be creatable', function () {
} );
it( 'should be re-creatable', function () {
- let initialContent = getTestString();
+ let initialContent = getTestString( 'initialContent' );
// create
browser.call( function () {