forked from openshift-knative/serverless-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OCP 4.14+ knative service link changes
- Loading branch information
Showing
6 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import Environment from '../../code/environment' | ||
import ShowcaseKservice from '../../code/knative/serving/showcase' | ||
import OpenshiftConsole from '../../code/openshift/openshiftConsole' | ||
|
||
describe('OCP UI for Serverless Serving', () => { | ||
const environment = new Environment() | ||
const openshiftConsole = new OpenshiftConsole() | ||
const showcaseKsvc = new ShowcaseKservice({ | ||
namespace: 'test-delete-app' | ||
}) | ||
|
||
it('can delete an app with Knative service', () => { | ||
openshiftConsole.login() | ||
showcaseKsvc.removeApp() | ||
showcaseKsvc.deployImage() | ||
showcaseKsvc.removeApp() | ||
showcaseKsvc.deployImage() | ||
showcaseKsvc.url().then((url) => { | ||
showcaseKsvc.makeRequest(url) | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters