We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5492225 commit 194714aCopy full SHA for 194714a
e2e/screenshot.ts
@@ -3,11 +3,14 @@ import * as path from 'path';
3
import {browser} from 'protractor';
4
5
const OUTPUT_DIR = './screenshots/';
6
+const HEIGHT = 768;
7
+const WIDTH = 1024;
8
9
let currentJasmineSpecName = '';
10
11
/** Adds a custom jasmine reporter that simply keeps track of the current test name. */
12
function initializeEnvironment(jasmine: any) {
13
+ browser.manage().window().setSize(WIDTH, HEIGHT);
14
let reporter = new jasmine.JsApiReporter({});
15
reporter.specStarted = function(result: any) {
16
currentJasmineSpecName = result.fullName;
0 commit comments