Skip to content

Commit

Permalink
test(cypress): update main to be default (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMerrick authored Oct 4, 2023
1 parent 02dc88f commit fb65911
Show file tree
Hide file tree
Showing 22 changed files with 180 additions and 180 deletions.
2 changes: 1 addition & 1 deletion cypress/fixtures/deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"url": "https://github.com/github/octocat.git/deployments/5053",
"user": "user",
"commit": "ce729516b279c7d7e66012387b39a8c13463fac5",
"ref": "refs/heads/master",
"ref": "refs/heads/main",
"task": "deploy:vela",
"target": "production",
"description": "Deployment request from Vela",
Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/enable_repo_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"full_name": "github/octocat",
"link": "",
"clone": "",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand Down
20 changes: 10 additions & 10 deletions cypress/fixtures/hooks_10a.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"created": 1575000000,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -20,7 +20,7 @@
"created": 1575000000,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -33,7 +33,7 @@
"created": 1574999999,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -46,7 +46,7 @@
"created": 1574888888,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -59,7 +59,7 @@
"created": 1574777777,
"host": "github.com",
"event": "tag",
"branch": "master",
"branch": "main",
"error": "unable to process webhook: github/octocat does not have tag events enabled",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -72,7 +72,7 @@
"created": 1574699277,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -85,7 +85,7 @@
"created": 1574699277,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -98,7 +98,7 @@
"created": 1574580180,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -111,7 +111,7 @@
"created": 1574576611,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -124,7 +124,7 @@
"created": 1574444067,
"host": "github.com",
"event": "tag",
"branch": "master",
"branch": "main",
"error": "unable to process webhook: github/octocat does not have tag events enabled",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand Down
20 changes: 10 additions & 10 deletions cypress/fixtures/hooks_10b.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"created": 1574000000,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -20,7 +20,7 @@
"created": 1573999999,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -33,7 +33,7 @@
"created": 1573888888,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -46,7 +46,7 @@
"created": 1573777777,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -59,7 +59,7 @@
"created": 1573666666,
"host": "github.com",
"event": "tag",
"branch": "master",
"branch": "main",
"error": "unable to process webhook: github/octocat does not have tag events enabled",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -72,7 +72,7 @@
"created": 1573555555,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -85,7 +85,7 @@
"created": 1573444444,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -98,7 +98,7 @@
"created": 1573333333,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -111,7 +111,7 @@
"created": 1573222222,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -124,7 +124,7 @@
"created": 1573111111,
"host": "github.com",
"event": "tag",
"branch": "master",
"branch": "main",
"error": "unable to process webhook: github/octocat does not have tag events enabled",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand Down
10 changes: 5 additions & 5 deletions cypress/fixtures/hooks_5.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"created": 1574699277,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -22,7 +22,7 @@
"created": 1574699277,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -36,7 +36,7 @@
"created": 1574580180,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -50,7 +50,7 @@
"created": 1574576611,
"host": "github.com",
"event": "push",
"branch": "master",
"branch": "main",
"error": "",
"status": "success",
"link": "https://github.com/github/octocat/settings/hooks"
Expand All @@ -64,7 +64,7 @@
"created": 1574444067,
"host": "github.com",
"event": "tag",
"branch": "master",
"branch": "main",
"error": "unable to process webhook: github/octocat does not have tag events enabled",
"status": "failure",
"link": "https://github.com/github/octocat/settings/hooks"
Expand Down
8 changes: 4 additions & 4 deletions cypress/fixtures/overview_page.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"full_name": "vela/server",
"link": "https://github.com/go-vela/server",
"clone": "https://github.com/go-vela/server.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -28,7 +28,7 @@
"full_name": "vela/feature-requests",
"link": "https://github.com/go-vela/feature-requests",
"clone": "https://github.com/go-vela/feature-requests.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -49,7 +49,7 @@
"full_name": "vela/ideas",
"link": "https://github.com/go-vela/ideas",
"clone": "https://github.com/go-vela/ideas.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -70,7 +70,7 @@
"full_name": "CookieCat/applications",
"link": "https://github.com/CookieCat/applications",
"clone": "https://github.com/CookieCat/applications.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand Down
2 changes: 1 addition & 1 deletion cypress/fixtures/pipeline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"commit": "9b1d8bded6e992ab660eaee527c5e3232d0a2441",
"flavor": "",
"platform": "",
"ref": "refs/heads/master",
"ref": "refs/heads/main",
"type": "yaml",
"version": "1",
"external_secrets": false,
Expand Down
6 changes: 3 additions & 3 deletions cypress/fixtures/pipeline_templates.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"template1": {
"link": "https://github.com/github/octocat/blob/master/template1.yml",
"link": "https://github.com/github/octocat/blob/main/template1.yml",
"name": "template1_name",
"source": "github.com/github/octocat/template1.yml",
"type": "github"
},
"template2": {
"link": "https://github.com/github/octocat/blob/master/template2.yml",
"link": "https://github.com/github/octocat/blob/main/template2.yml",
"name": "template2_name",
"source": "github.com/github/octocat/template2.yml",
"type": "github"
},
"template3": {
"link": "https://github.com/github/octocat/blob/master/template3.yml",
"link": "https://github.com/github/octocat/blob/main/template3.yml",
"name": "template3_name",
"source": "github.com/github/octocat/template3.yml",
"type": "github"
Expand Down
8 changes: 4 additions & 4 deletions cypress/fixtures/repositories.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"full_name": "vela/server",
"link": "https://github.com/go-vela/server",
"clone": "https://github.com/go-vela/server.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -30,7 +30,7 @@
"full_name": "vela/feature-requests",
"link": "https://github.com/go-vela/feature-requests",
"clone": "https://github.com/go-vela/feature-requests.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -53,7 +53,7 @@
"full_name": "vela/ideas",
"link": "https://github.com/go-vela/ideas",
"clone": "https://github.com/go-vela/ideas.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand All @@ -75,7 +75,7 @@
"full_name": "CookieCat/applications",
"link": "https://github.com/CookieCat/applications",
"clone": "https://github.com/CookieCat/applications.git",
"branch": "master",
"branch": "main",
"build_limit": 10,
"timeout": 30,
"counter": 0,
Expand Down
Loading

0 comments on commit fb65911

Please sign in to comment.