mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 06:18:04 +00:00
Added "Add repo" senario testing (#502)
* Adding start of add repository flow * Adding data-cy instead of css selectors * Saving progress * Adding fixture data * Cleaning the test
This commit is contained in:
190
frontend/cypress/fixtures/defaultReleases.json
Normal file
190
frontend/cypress/fixtures/defaultReleases.json
Normal file
File diff suppressed because one or more lines are too long
5
frontend/cypress/fixtures/example.json
Normal file
5
frontend/cypress/fixtures/example.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "Using fixtures to represent data",
|
||||
"email": "hello@cypress.io",
|
||||
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||
}
|
||||
13
frontend/cypress/fixtures/history.json
Normal file
13
frontend/cypress/fixtures/history.json
Normal file
@@ -0,0 +1,13 @@
|
||||
[
|
||||
{
|
||||
"revision": 1,
|
||||
"updated": "2024-01-17T22:39:07.2371554+02:00",
|
||||
"status": "deployed",
|
||||
"chart": "helm-dashboard-0.1.10",
|
||||
"app_version": "1.3.3",
|
||||
"description": "Install complete",
|
||||
"chart_name": "helm-dashboard",
|
||||
"chart_ver": "0.1.10",
|
||||
"has_tests": true
|
||||
}
|
||||
]
|
||||
1
frontend/cypress/fixtures/releases.json
Normal file
1
frontend/cypress/fixtures/releases.json
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
6
frontend/cypress/fixtures/repositories.json
Normal file
6
frontend/cypress/fixtures/repositories.json
Normal file
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{
|
||||
"name": "Komodorio",
|
||||
"url": "https://helm-charts.komodor.io"
|
||||
}
|
||||
]
|
||||
7
frontend/cypress/fixtures/status.json
Normal file
7
frontend/cypress/fixtures/status.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"CurVer": "0.0.0",
|
||||
"LatestVer": "v1.3.3",
|
||||
"Analytics": false,
|
||||
"CacheHitRatio": 0,
|
||||
"ClusterMode": false
|
||||
}
|
||||
Reference in New Issue
Block a user