Skip to content

Commit

Permalink
feat(nav): implement BuildPipeline and build tab navigation (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 authored Jan 13, 2021
1 parent 80963af commit 99d53ab
Show file tree
Hide file tree
Showing 19 changed files with 1,137 additions and 317 deletions.
37 changes: 37 additions & 0 deletions cypress/fixtures/logs_services_ansi.json

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions cypress/fixtures/services_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[
{
"id": 1,
"build_id": 1,
"repo_id": 1,
"number": 1,
"name": "service-a",
"stage": "",
"status": "success",
"error": "",
"exit_code": 1,
"created": 1572029883,
"started": 1572029935,
"finished": 1572029937,
"host": "",
"runtime": "docker",
"distribution": "linux"
},
{
"id": 2,
"build_id": 1,
"repo_id": 1,
"number": 2,
"name": "service-b",
"stage": "",
"status": "success",
"error": "",
"exit_code": 2,
"created": 1572029883,
"started": 1572029928,
"finished": 1572029935,
"host": "",
"runtime": "docker",
"distribution": "linux"
},
{
"id": 3,
"build_id": 1,
"repo_id": 1,
"number": 3,
"name": "service-c",
"stage": "",
"status": "failure",
"error": "",
"exit_code": 2,
"created": 1572029883,
"started": 1572029928,
"finished": 0,
"host": "",
"runtime": "docker",
"distribution": "linux"
},
{
"id": 4,
"build_id": 1,
"repo_id": 1,
"number": 4,
"name": "service-d",
"stage": "",
"status": "running",
"error": "",
"exit_code": 2,
"created": 1572029883,
"started": 1572029928,
"finished": 0,
"host": "",
"runtime": "docker",
"distribution": "linux"
},
{
"id": 5,
"build_id": 1,
"repo_id": 1,
"number": 5,
"name": "service-e",
"stage": "",
"status": "failure",
"error": "",
"exit_code": 2,
"created": 1572029883,
"started": 1572029928,
"finished": 0,
"host": "",
"runtime": "docker",
"distribution": "linux"
}
]
2 changes: 1 addition & 1 deletion cypress/integration/crumbs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ context('Crumbs', () => {
it('should show appropriate pipeline crumbs', () => {
cy.get('[data-test=crumb-github]').should('exist');
cy.get('[data-test=crumb-octocat]').should('exist');
cy.get('[data-test=crumb-somebranch]').should('exist');
cy.get('[data-test=crumb-pipeline]').should('exist');
});
});
});
Loading

0 comments on commit 99d53ab

Please sign in to comment.