Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/helpers/reporterHTML.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function renderReportHTML(report_data) {
let resultsDir = 'results';
let metaCharSet = `<meta charset="utf-8">`;
let metaViewPort = `<meta name="viewport" content="width=device-width, initial-scale=1"> `;
let pageTitle = `<title> Browserstack Cypress Report </title>`;
let pageTitle = `<title> BrowserStack Cypress Report </title>`;
let inlineCss = `<style type="text/css"> ${loadInlineCss()} </style>`;
let head = `<head> ${metaCharSet} ${metaViewPort} ${pageTitle} ${inlineCss} </head>`;
let htmlOpenTag = `<!DOCTYPE HTML><html>`;
Expand Down
4 changes: 2 additions & 2 deletions bin/helpers/sync/failedSpecsDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ let failedSpecsDetails = (data) => {
let tableConfig = {
border: tablePrinter.getBorderCharacters('ramac'),
columns: {
0: { alignment: 'left' },
0: { alignment: 'left' , width: 60 },
1: { alignment: 'left' },
2: { alignment: 'left' },
3: { alignment: 'left' },
Expand All @@ -65,7 +65,7 @@ let failedSpecsDetails = (data) => {
* @return {boolean}
*/
drawHorizontalLine: (index, size) => {
return (index === 0 || index === 1 || index === size);
return (index === 0 || index === 1 || index === specData.length);
}
}

Expand Down
4 changes: 2 additions & 2 deletions bin/helpers/sync/syncSpecsLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ let getTableConfig = () => {
border: getBorderConfig(),
columns: {
1: {alignment: 'center', width: 1},
2: {alignment: 'left', width: 50}
2: {alignment: 'left', width: 100}
},
columnDefault: {
width: 25,
width: 30,
},
columnCount: 3,
};
Expand Down
4 changes: 2 additions & 2 deletions test/unit/bin/helpers/sync/syncSpecsLogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ describe("syncSpecsLogs", () => {
syncSpecsLogs.__set__('getBorderConfig', getBorderConfigStub);

let options = getTableConfig();
expect(options.columnDefault.width).to.equal(25);
expect(options.columnDefault.width).to.equal(30);
expect(options.columns[1].alignment).to.equal('center');
expect(options.columns[2].alignment).to.equal('left');
expect(options.columns[1].width).to.equal(1);
expect(options.columns[2].width).to.equal(50);
expect(options.columns[2].width).to.equal(100);
expect(options.columnCount).to.equal(3);
expect(getBorderConfigStub.calledOnce).to.be.true;
});
Expand Down