Skip to content

Commit

Permalink
make test ids exact matches
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Sep 26, 2024
1 parent bae07c4 commit 8c21a74
Show file tree
Hide file tree
Showing 21 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ To add a new test that you've already added in the [kots-tests-app repo](https:/
```go
func NewChangeChannel() Test {
return Test{
ID: "change-channel",
ID: "@change-channel",
Name: "Change Channel",
Namespace: "change-channel",
AppSlug: "change-channel",
Expand All @@ -52,8 +52,8 @@ Entry(nil, inventory.NewChangeChannel()),
- Create a new test directory in `e2e/playwright/tests` matching your test ID, with the corresponding test file:

```
$ tree e2e/playwright/tests/change-channel
e2e/playwright/tests/change-channel
$ tree e2e/playwright/tests/@change-channel
e2e/playwright/tests/@change-channel
├── license.yaml // a test specific license if needed
└── test.spec.ts // the actual test file
```
Expand Down
14 changes: 7 additions & 7 deletions e2e/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewRegressionTest() Test {

func NewSmokeTest() Test {
return Test{
ID: "smoke-test",
ID: "@smoke-test",
Name: "Smoke Test",
Namespace: "smoke-test",
AppSlug: "qakotstestim",
Expand All @@ -55,7 +55,7 @@ func NewAirgapSmokeTest() Test {

func NewConfigValidation() Test {
return Test{
ID: "config-validation",
ID: "@config-validation",
Name: "Config Validation",
Namespace: "config-validation",
AppSlug: "config-validation-panda",
Expand All @@ -65,7 +65,7 @@ func NewConfigValidation() Test {

func NewBackupAndRestore() Test {
return Test{
ID: "backup-and-restore",
ID: "@backup-and-restore",
Name: "Backup and Restore",
Namespace: "backup-and-restore",
AppSlug: "backup-and-restore",
Expand All @@ -76,7 +76,7 @@ func NewBackupAndRestore() Test {

func NewNoRequiredConfig() Test {
return Test{
ID: "no-required-config",
ID: "@no-required-config",
Name: "No Required Config",
Namespace: "no-required-config",
AppSlug: "no-required-config",
Expand Down Expand Up @@ -104,7 +104,7 @@ func NewChangeLicense() Test {

func NewMultiAppBackupAndRestoreTest() Test {
return Test{
ID: "multi-app-backup-and-restore",
ID: "@multi-app-backup-and-restore",
Name: "Multi App Backup and Restore",
Namespace: "multi-app-backup-and-restore",
AppSlug: "multi-app-backup-and-restore",
Expand All @@ -115,7 +115,7 @@ func NewMultiAppBackupAndRestoreTest() Test {

func MultiAppTest() Test {
return Test{
ID: "multi-app-install",
ID: "@multi-app-install",
Name: "Multi App Install",
Namespace: "multi-app-install",
AppSlug: "mutli-app-install",
Expand Down Expand Up @@ -173,7 +173,7 @@ func NewGitOps() Test {

func NewChangeChannel() Test {
return Test{
ID: "change-channel",
ID: "@change-channel",
Name: "Change Channel",
Namespace: "change-channel",
AppSlug: "change-channel",
Expand Down
2 changes: 1 addition & 1 deletion kurl_proxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ run:
build-ttl.sh: export GOOS ?= linux
build-ttl.sh: export GOARCH ?= amd64
build-ttl.sh: build
docker build --platform $(GOOS)/$(GOARCH) --pull -f dev/Dockerfile.ttlsh -t ttl.sh/${CURRENT_USER}/kurl-proxy:24h .
docker build --platform $(GOOS)/$(GOARCH) --pull -f ../dev/dockerfiles/kurl-proxy/Dockerfile.ttlsh -t ttl.sh/${CURRENT_USER}/kurl-proxy:24h .
docker push ttl.sh/${CURRENT_USER}/kurl-proxy:24h

0 comments on commit 8c21a74

Please sign in to comment.