Commit 2c782b64 authored by Scott Hampton's avatar Scott Hampton

Update changelog and fix specs

Update changelog to have MR number.

Fix specs to not have any `console.log`.
parent 9a5e0ae6
--- ---
title: Add link to test case file in pipeline test report title: Add link to test case file in pipeline test report
merge_request: merge_request: 53650
author: author:
type: added type: added
...@@ -17,7 +17,6 @@ describe('Test reports suite table', () => { ...@@ -17,7 +17,6 @@ describe('Test reports suite table', () => {
const { const {
test_suites: [testSuite], test_suites: [testSuite],
} = getJSONFixture('pipelines/test_report.json'); } = getJSONFixture('pipelines/test_report.json');
console.log(JSON.stringify(testSuite.test_cases));
testSuite.test_cases = [...testSuite.test_cases, ...skippedTestCases]; testSuite.test_cases = [...testSuite.test_cases, ...skippedTestCases];
const testCases = testSuite.test_cases; const testCases = testSuite.test_cases;
...@@ -93,8 +92,6 @@ describe('Test reports suite table', () => { ...@@ -93,8 +92,6 @@ describe('Test reports suite table', () => {
const fileLink = findLinkForRow(row); const fileLink = findLinkForRow(row);
const button = row.find(GlButton); const button = row.find(GlButton);
console.log(fileLink.attributes('href'), file);
expect(fileLink.attributes('href')).toBe(filePath); expect(fileLink.attributes('href')).toBe(filePath);
expect(row.text()).toContain(file); expect(row.text()).toContain(file);
expect(button.exists()).toBe(true); expect(button.exists()).toBe(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment