2021-03-11 18:09:23 +00:00
|
|
|
export const failedIssue = {
|
2018-07-31 15:50:34 +00:00
|
|
|
result: 'failure',
|
|
|
|
name: 'Test#sum when a is 1 and b is 2 returns summary',
|
|
|
|
execution_time: 0.009411,
|
2021-03-11 18:09:23 +00:00
|
|
|
status: 'failed',
|
2018-07-31 15:50:34 +00:00
|
|
|
system_output:
|
|
|
|
"Failure/Error: is_expected.to eq(3)\n\n expected: 3\n got: -1\n\n (compared using ==)\n./spec/test_spec.rb:12:in `block (4 levels) in \u003ctop (required)\u003e'",
|
2021-03-11 18:09:23 +00:00
|
|
|
recent_failures: {
|
|
|
|
count: 3,
|
2021-05-05 00:10:41 +00:00
|
|
|
base_branch: 'main',
|
2021-03-11 18:09:23 +00:00
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const successIssue = {
|
|
|
|
result: 'success',
|
|
|
|
name: 'Test#sum when a is 1 and b is 2 returns summary',
|
|
|
|
execution_time: 0.009411,
|
|
|
|
status: 'success',
|
|
|
|
system_output: null,
|
|
|
|
recent_failures: null,
|
2018-07-31 15:50:34 +00:00
|
|
|
};
|
2020-04-21 15:21:10 +00:00
|
|
|
|
|
|
|
export const failedReport = {
|
|
|
|
summary: { total: 11, resolved: 0, errored: 2, failed: 0 },
|
|
|
|
suites: [
|
|
|
|
{
|
|
|
|
name: 'rspec:pg',
|
|
|
|
status: 'error',
|
|
|
|
summary: { total: 0, resolved: 0, errored: 0, failed: 0 },
|
|
|
|
new_failures: [],
|
|
|
|
resolved_failures: [],
|
|
|
|
existing_failures: [],
|
|
|
|
new_errors: [],
|
|
|
|
resolved_errors: [],
|
|
|
|
existing_errors: [],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|