diff --git a/cmd/testworkflow-toolkit/testworkflow-toolkit b/cmd/testworkflow-toolkit/testworkflow-toolkit
new file mode 100755
index 00000000000..ca848e93763
Binary files /dev/null and b/cmd/testworkflow-toolkit/testworkflow-toolkit differ
diff --git a/contrib/executor/cypress/examples/cypress/e2e/simple.cy.js b/contrib/executor/cypress/examples/cypress/e2e/simple.cy.js
index a85ed0cd544..2899ec6fabf 100644
--- a/contrib/executor/cypress/examples/cypress/e2e/simple.cy.js
+++ b/contrib/executor/cypress/examples/cypress/e2e/simple.cy.js
@@ -1,9 +1,7 @@
-describe('The Home Page', () => {
- it('successfully loads', () => {
- cy.visit('https://testkube.kubeshop.io');
+describe("The Home Page", () => {
+ it("successfully loads", () => {
+ cy.visit("https://testkube-test-page-lipsum.pages.dev/");
- cy.contains(
- 'Testkube provides a Kubernetes-native framework for test definition, execution and results'
- );
+ cy.contains("Testkube");
});
});
diff --git a/contrib/executor/example/pkg/runner/runner_test.go b/contrib/executor/example/pkg/runner/runner_test.go
index 8a70d38aee9..4051735bf7b 100644
--- a/contrib/executor/example/pkg/runner/runner_test.go
+++ b/contrib/executor/example/pkg/runner/runner_test.go
@@ -18,7 +18,7 @@ func TestRun(t *testing.T) {
ctx,
testkube.Execution{
Content: &testkube.TestContent{
- Uri: "https://testkube.io",
+ Uri: "https://testkube-test-page-lipsum.pages.dev/",
},
})
diff --git a/contrib/executor/jmeterd/pkg/runner/runner_test.go b/contrib/executor/jmeterd/pkg/runner/runner_test.go
index c45e2dde1e6..d9b21dad654 100644
--- a/contrib/executor/jmeterd/pkg/runner/runner_test.go
+++ b/contrib/executor/jmeterd/pkg/runner/runner_test.go
@@ -565,7 +565,7 @@ const failureJMX = `
- testkube.kubeshop.io
+ testkube-test-page-lipsum.pages.dev
diff --git a/pkg/executor/containerexecutor/containerexecutor_test.go b/pkg/executor/containerexecutor/containerexecutor_test.go
index 57156d19a14..16f5dc9786d 100644
--- a/pkg/executor/containerexecutor/containerexecutor_test.go
+++ b/pkg/executor/containerexecutor/containerexecutor_test.go
@@ -117,7 +117,7 @@ func TestNewExecutorJobSpecWithArgs(t *testing.T) {
PvcTemplateExtensions: "",
ImagePullSecrets: []string{"secret-name"},
Command: []string{"/bin/curl"},
- Args: []string{"-v", "https://testkube.kubeshop.io"},
+ Args: []string{"-v", "https://testkube-test-page-lipsum.pages.dev/"},
ActiveDeadlineSeconds: 100,
Envs: map[string]string{"key": "value"},
Variables: map[string]testkube.Variable{"aa": {Name: "aa", Value: "bb", Type_: testkube.VariableTypeBasic}},
diff --git a/pkg/mapper/tests/kube_openapi_test.go b/pkg/mapper/tests/kube_openapi_test.go
index d876335f3f0..3de27f8b16a 100644
--- a/pkg/mapper/tests/kube_openapi_test.go
+++ b/pkg/mapper/tests/kube_openapi_test.go
@@ -36,7 +36,7 @@ func TestMapTestCRToAPI(t *testing.T) {
ExecutionLabels: map[string]string{
"": "",
},
- Args: []string{"-v", "-X", "GET", "https://testkube.kubeshop.io"},
+ Args: []string{"-v", "-X", "GET", "https://testkube-test-page-lipsum.pages.dev/"},
Command: []string{"curl"},
Image: "curlimages/curl:7.85.0",
ImagePullSecrets: []v1.LocalObjectReference{
@@ -89,7 +89,7 @@ func TestMapTestCRToAPI(t *testing.T) {
Namespace: "",
Variables: map[string]testkube.Variable{},
VariablesFile: "",
- Args: []string{"-v", "-X", "GET", "https://testkube.kubeshop.io"},
+ Args: []string{"-v", "-X", "GET", "https://testkube-test-page-lipsum.pages.dev/"},
ArgsMode: "",
Command: []string{"curl"},
Image: "curlimages/curl:7.85.0",
diff --git a/pkg/test/detector/detector_test_examples.go b/pkg/test/detector/detector_test_examples.go
index 64dda5d6114..3a77d7713b5 100644
--- a/pkg/test/detector/detector_test_examples.go
+++ b/pkg/test/detector/detector_test_examples.go
@@ -5,7 +5,7 @@ const (
exampleArtilleryFilename = "artillery.yaml"
exampleArtilleryContent = `config:
- target: "https://testkube.kubeshop.io/"
+ target: "https://testkube-test-page-lipsum.pages.dev/"
phases:
- duration: 1
arrivalRate: 1
@@ -136,7 +136,7 @@ const (
}
export default function () {
- http.get('https://testkube.kubeshop.io/');
+ http.get('https://testkube-test-page-lipsum.pages.dev/');
}`
exampleSoapUIFilename = "soapui-project.xml"
diff --git a/pkg/testworkflows/testworkflowprocessor/constants/constants.go b/pkg/testworkflows/testworkflowprocessor/constants/constants.go
index dd0f95dd31a..d082f1b1d4b 100644
--- a/pkg/testworkflows/testworkflowprocessor/constants/constants.go
+++ b/pkg/testworkflows/testworkflowprocessor/constants/constants.go
@@ -34,7 +34,7 @@ var (
DefaultInitPath = filepath.Join(DefaultInternalPath, "init")
DefaultToolkitPath = filepath.Join(DefaultInternalPath, "toolkit")
DefaultTransferDirPath = filepath.Join(DefaultInternalPath, "transfer")
- DefaultTmpDirPath = filepath.Join(DefaultInternalPath, "tmp")
+ DefaultTmpDirPath = "/tmp"
DefaultTransferPort = 60433
DefaultShellHeader = "set -e\n"
DefaultContainerConfig = testworkflowsv1.ContainerConfig{
diff --git a/test/artillery/executor-smoke/artillery-smoke-test.yaml b/test/artillery/executor-smoke/artillery-smoke-test.yaml
index 82fa7688f7b..ee1ec14deb5 100644
--- a/test/artillery/executor-smoke/artillery-smoke-test.yaml
+++ b/test/artillery/executor-smoke/artillery-smoke-test.yaml
@@ -1,10 +1,10 @@
config:
- target: "https://testkube.kubeshop.io/"
+ target: "https://testkube-test-page-lipsum.pages.dev/"
phases:
- - duration: 1
- arrivalRate: 1
+ - duration: 1
+ arrivalRate: 1
scenarios:
-- flow:
- - get:
- url: "/"
- - think: 0.1
\ No newline at end of file
+ - flow:
+ - get:
+ url: "/"
+ - think: 0.1
diff --git a/test/cli-tests/tests/test-results.js b/test/cli-tests/tests/test-results.js
index 33c04a4eea7..81437ec46df 100644
--- a/test/cli-tests/tests/test-results.js
+++ b/test/cli-tests/tests/test-results.js
@@ -1,194 +1,254 @@
-import {execSync} from 'node:child_process'
-import { expect } from 'chai';
+import { execSync } from "node:child_process";
+import { expect } from "chai";
+
+import ApiHelpers from "../helpers/api-helpers";
+const apiHelpers = new ApiHelpers(process.env.API_URL);
+import TestDataHandler from "../helpers/test-data-handlers";
+const testDataHandler = new TestDataHandler();
+import OutputValidators from "../helpers/output-validators";
+const outputValidators = new OutputValidators();
+
+async function getResultsPositiveFlow(
+ testName,
+ customRunSummary,
+ waitForExecutionTimeout
+) {
+ const testData = testDataHandler.getTest(testName);
+
+ //prerequisites
+ await apiHelpers.assureTestCreated(testData);
+ const executionName = await apiHelpers.runTest(testData.name);
+ const execution = await apiHelpers.getExecution(executionName);
+ const executionId = execution.id;
+
+ await apiHelpers.waitForExecutionFinished(
+ executionName,
+ waitForExecutionTimeout
+ );
+
+ //command
+ const rawOutput = execSync(`testkube get execution ${executionName}`);
+ const output = rawOutput.toString();
+ const cleanOutput = outputValidators.removeAnsiCodes(output);
+
+ const expectedExecutionData = {
+ Name: executionName,
+ "Test name": testData.name,
+ Type: testData.type,
+ Status: "passed",
+ };
+
+ outputValidators.validateTestExecutionSummary(
+ expectedExecutionData,
+ cleanOutput
+ );
+
+ const normalizedOutput = outputValidators.normalizeSpaces(cleanOutput);
+ expect(normalizedOutput).to.include(customRunSummary);
+
+ const executionData = {
+ executionName: executionName,
+ executionId: executionId,
+ };
+
+ return executionData;
+}
+
+function assertArtifactExists(executionArtifacts, artifactFileName, notEmpty) {
+ try {
+ if (notEmpty) {
+ expect(
+ executionArtifacts.filter((obj) => obj.name === artifactFileName)[0]
+ )
+ .to.exist.and.to.contain.keys("name")
+ .and.to.contain.keys("size");
+ } else {
+ expect(
+ executionArtifacts.filter((obj) => obj.name === artifactFileName)[0]
+ ).to.exist;
+ }
+ } catch (e) {
+ throw Error(`Missing artifact "${artifactFileName}"`);
+ }
+}
+
+describe("Get test results with CLI", function () {
+ //Execution times are unpredictable - these tests require high timeouts!
+ it("Get cypress test results", async function () {
+ const testName = "cypress-results-ran";
+ this.timeout(120000);
+ const waitForExecutionTimeout = 100000;
+
+ const customRunSummary = "Passing: 1";
+ await getResultsPositiveFlow(
+ testName,
+ customRunSummary,
+ waitForExecutionTimeout
+ );
+ });
+ it("Get K6 test results", async function () {
+ const testName = "k6-results-ran";
+ this.timeout(60000);
+ const waitForExecutionTimeout = 50000;
+
+ const customRunSummary = "1 complete and 0 interrupted iterations";
+ await getResultsPositiveFlow(
+ testName,
+ customRunSummary,
+ waitForExecutionTimeout
+ );
+ });
+ it("Get Postman test results", async function () {
+ const testName = "postman-results-ran";
+ this.timeout(60000);
+ const waitForExecutionTimeout = 50000;
+
+ const customRunSummary =
+ "GET https://testkube-test-page-lipsum.pages.dev/ [200 OK";
+ await getResultsPositiveFlow(
+ testName,
+ customRunSummary,
+ waitForExecutionTimeout
+ );
+ });
+ it("Get SoapUI test results (including artifacts)", async function () {
+ const testName = "soapui-results-ran";
+ this.timeout(60000);
+ const waitForExecutionTimeout = 50000;
+
+ const customRunSummary =
+ "Project [soapui-smoke-test] finished with status [FINISHED]";
+ const executionData = await getResultsPositiveFlow(
+ testName,
+ customRunSummary,
+ waitForExecutionTimeout
+ );
+
+ // Artifacts
+ const executionArtifacts = await apiHelpers.getExecutionArtifacts(
+ executionData.executionId
+ );
+
+ assertArtifactExists(executionArtifacts, "global-groovy.log");
+ assertArtifactExists(executionArtifacts, "soapui-errors.log");
+ assertArtifactExists(executionArtifacts, "soapui.log", true);
+
+ const soapUiLogContents = await apiHelpers.downloadArtifact(
+ executionData.executionId,
+ "soapui.log"
+ );
+ const soapUiErrorLogContents = await apiHelpers.downloadArtifact(
+ executionData.executionId,
+ "soapui-errors.log"
+ );
+
+ expect(soapUiLogContents).to.include(customRunSummary);
+ expect(soapUiErrorLogContents).to.be.empty;
+ });
+});
-import ApiHelpers from '../helpers/api-helpers';
-const apiHelpers=new ApiHelpers(process.env.API_URL);
-import TestDataHandler from '../helpers/test-data-handlers';
-const testDataHandler=new TestDataHandler();
-import OutputValidators from '../helpers/output-validators';
-const outputValidators=new OutputValidators();
+describe("Get test results with CLI - Negative cases", function () {
+ //Execution times are unpredictable - these tests require high timeouts!
+ it("Get test results - test failure", async function () {
+ const testName = "postman-results-ran-negative-test";
+ this.timeout(60000);
+ const waitForExecutionTimeout = 50000;
-async function getResultsPositiveFlow(testName, customRunSummary, waitForExecutionTimeout) {
- const testData = testDataHandler.getTest(testName)
+ const testData = testDataHandler.getTest(testName);
//prerequisites
- await apiHelpers.assureTestCreated(testData)
- const executionName = await apiHelpers.runTest(testData.name)
- const execution = await apiHelpers.getExecution(executionName)
- const executionId = execution.id
+ await apiHelpers.assureTestCreated(testData);
+ const executionName = await apiHelpers.runTest(testData.name);
- await apiHelpers.waitForExecutionFinished(executionName, waitForExecutionTimeout)
+ await apiHelpers.waitForExecutionFinished(
+ executionName,
+ waitForExecutionTimeout
+ );
//command
- const rawOutput = execSync(`testkube get execution ${executionName}`);
- const output = rawOutput.toString()
- const cleanOutput = outputValidators.removeAnsiCodes(output)
-
- const expectedExecutionData = {
- "Name": executionName,
+ try {
+ const result = execSync(`testkube get execution ${executionName}`, {
+ stdio: "pipe",
+ });
+ } catch (error) {
+ //validation
+ expect(error.status).to.not.equal(0);
+
+ const rawOutput = error.stdout.toString();
+ const errStr = error.stderr.toString();
+ const cleanOutput = outputValidators.removeAnsiCodes(rawOutput);
+
+ const expectedExecutionData = {
+ Name: executionName,
"Test name": testData.name,
- "Type": testData.type,
- "Status": 'passed'
- }
+ Type: testData.type,
+ Status: "failed",
+ };
- outputValidators.validateTestExecutionSummary(expectedExecutionData, cleanOutput)
+ outputValidators.validateTestExecutionSummary(
+ expectedExecutionData,
+ cleanOutput
+ );
- const normalizedOutput = outputValidators.normalizeSpaces(cleanOutput)
- expect(normalizedOutput).to.include(customRunSummary)
+ expect(errStr).to.include("Test execution failed");
+ expect(errStr).to.include(
+ "'TESTKUBE_POSTMAN_PARAM' should be set correctly to 'TESTKUBE_POSTMAN_PARAM_value' value"
+ );
- const executionData = {
- "executionName": executionName,
- "executionId": executionId
+ return;
}
- return executionData
-}
+ throw Error("Execution was expected to fail");
+ });
+ it("Get test results - test init failure", async function () {
+ const testName = "postman-results-ran-negative-init";
+ this.timeout(60000);
+ const waitForExecutionTimeout = 50000;
-function assertArtifactExists(executionArtifacts, artifactFileName, notEmpty) {
+ const testData = testDataHandler.getTest(testName);
+
+ //prerequisites
+ await apiHelpers.assureTestCreated(testData);
+ const executionName = await apiHelpers.runTest(testData.name);
+
+ await apiHelpers.waitForExecutionFinished(
+ executionName,
+ waitForExecutionTimeout
+ );
+
+ //command
try {
- if(notEmpty) {
- expect(executionArtifacts.filter(obj => obj.name === artifactFileName)[0]).to.exist.and.to.contain.keys('name').and.to.contain.keys('size')
- } else {
- expect(executionArtifacts.filter(obj => obj.name === artifactFileName)[0]).to.exist
- }
- } catch(e) {
- throw Error(`Missing artifact "${artifactFileName}"`)
- }
-}
+ execSync(`testkube get execution ${executionName}`, { stdio: "pipe" }); // Expected failure
+ } catch (error) {
+ //validation
+ expect(error.status).to.not.equal(0);
-describe('Get test results with CLI', function () { //Execution times are unpredictable - these tests require high timeouts!
- it('Get cypress test results', async function () {
- const testName = 'cypress-results-ran'
- this.timeout(120000);
- const waitForExecutionTimeout = 100000
-
- const customRunSummary = 'Passing: 1'
- await getResultsPositiveFlow(testName, customRunSummary, waitForExecutionTimeout)
- });
- it('Get K6 test results', async function () {
- const testName = 'k6-results-ran'
- this.timeout(60000);
- const waitForExecutionTimeout = 50000
-
- const customRunSummary = '1 complete and 0 interrupted iterations'
- await getResultsPositiveFlow(testName, customRunSummary, waitForExecutionTimeout)
- });
- it('Get Postman test results', async function () {
- const testName = 'postman-results-ran'
- this.timeout(60000);
- const waitForExecutionTimeout = 50000
-
- const customRunSummary = 'GET https://testkube.kubeshop.io/ [200 OK'
- await getResultsPositiveFlow(testName, customRunSummary, waitForExecutionTimeout)
- });
- it('Get SoapUI test results (including artifacts)', async function () {
- const testName = 'soapui-results-ran'
- this.timeout(60000);
- const waitForExecutionTimeout = 50000
-
- const customRunSummary = 'Project [soapui-smoke-test] finished with status [FINISHED]'
- const executionData = await getResultsPositiveFlow(testName, customRunSummary, waitForExecutionTimeout)
-
- // Artifacts
- const executionArtifacts = await apiHelpers.getExecutionArtifacts(executionData.executionId)
-
- assertArtifactExists(executionArtifacts, 'global-groovy.log')
- assertArtifactExists(executionArtifacts, 'soapui-errors.log')
- assertArtifactExists(executionArtifacts, 'soapui.log', true)
-
- const soapUiLogContents = await apiHelpers.downloadArtifact(executionData.executionId, 'soapui.log')
- const soapUiErrorLogContents = await apiHelpers.downloadArtifact(executionData.executionId, 'soapui-errors.log')
-
- expect(soapUiLogContents).to.include(customRunSummary)
- expect(soapUiErrorLogContents).to.be.empty
- });
-});
+ const rawStdoutStr = error.stdout.toString();
+ const errStr = error.stderr.toString();
+ const cleanOutput = outputValidators.removeAnsiCodes(rawStdoutStr);
+
+ const expectedExecutionData = {
+ Name: executionName,
+ "Test name": testData.name,
+ Type: testData.type,
+ Status: "failed",
+ };
+
+ outputValidators.validateTestExecutionSummary(
+ expectedExecutionData,
+ cleanOutput
+ );
+
+ expect(errStr).to.include("Test execution failed");
+
+ expect(errStr).to.include("process error: exit status 128");
+ expect(errStr).to.include(
+ "fatal: Remote branch some-non-existing-branch not found"
+ );
+
+ return;
+ }
-describe('Get test results with CLI - Negative cases', function () { //Execution times are unpredictable - these tests require high timeouts!
- it('Get test results - test failure', async function () {
- const testName = 'postman-results-ran-negative-test'
- this.timeout(60000);
- const waitForExecutionTimeout = 50000
-
- const testData = testDataHandler.getTest(testName)
-
- //prerequisites
- await apiHelpers.assureTestCreated(testData)
- const executionName = await apiHelpers.runTest(testData.name)
-
- await apiHelpers.waitForExecutionFinished(executionName, waitForExecutionTimeout)
-
- //command
- try {
- const result = execSync(`testkube get execution ${executionName}`, {stdio : 'pipe'})
- }
- catch (error) {
- //validation
- expect(error.status).to.not.equal(0)
-
- const rawOutput = error.stdout.toString()
- const errStr = error.stderr.toString()
- const cleanOutput = outputValidators.removeAnsiCodes(rawOutput)
-
- const expectedExecutionData = {
- "Name": executionName,
- "Test name": testData.name,
- "Type": testData.type,
- "Status": 'failed'
- }
-
- outputValidators.validateTestExecutionSummary(expectedExecutionData, cleanOutput)
-
- expect(errStr).to.include('Test execution failed')
- expect(errStr).to.include("'TESTKUBE_POSTMAN_PARAM' should be set correctly to 'TESTKUBE_POSTMAN_PARAM_value' value")
-
- return
- }
-
- throw Error('Execution was expected to fail')
- });
- it('Get test results - test init failure', async function () {
- const testName = 'postman-results-ran-negative-init'
- this.timeout(60000);
- const waitForExecutionTimeout = 50000
-
- const testData = testDataHandler.getTest(testName)
-
- //prerequisites
- await apiHelpers.assureTestCreated(testData)
- const executionName = await apiHelpers.runTest(testData.name)
-
- await apiHelpers.waitForExecutionFinished(executionName, waitForExecutionTimeout)
-
- //command
- try {
- execSync(`testkube get execution ${executionName}`, {stdio : 'pipe'}) // Expected failure
- }
- catch (error) {
- //validation
- expect(error.status).to.not.equal(0)
-
- const rawStdoutStr = error.stdout.toString()
- const errStr = error.stderr.toString()
- const cleanOutput = outputValidators.removeAnsiCodes(rawStdoutStr)
-
- const expectedExecutionData = {
- "Name": executionName,
- "Test name": testData.name,
- "Type": testData.type,
- "Status": 'failed'
- }
-
- outputValidators.validateTestExecutionSummary(expectedExecutionData, cleanOutput)
-
- expect(errStr).to.include('Test execution failed')
-
- expect(errStr).to.include('process error: exit status 128')
- expect(errStr).to.include('fatal: Remote branch some-non-existing-branch not found')
-
- return
- }
-
- throw Error('Execution was expected to fail')
- });
+ throw Error("Execution was expected to fail");
+ });
});
diff --git a/test/container-executor/executor-smoke/crd/curl.yaml b/test/container-executor/executor-smoke/crd/curl.yaml
index 93b42e6b17c..97bed16ab4c 100644
--- a/test/container-executor/executor-smoke/crd/curl.yaml
+++ b/test/container-executor/executor-smoke/crd/curl.yaml
@@ -8,12 +8,12 @@ spec:
type: container-executor-curl/test
executionRequest:
args:
- - $(URL)
+ - $(URL)
variables:
URL:
name: URL
type: basic
- value: https://testkube.kubeshop.io/
+ value: https://testkube-test-page-lipsum.pages.dev/
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 32Mi\n cpu: 32m\n"
activeDeadlineSeconds: 180
---
@@ -27,7 +27,7 @@ spec:
type: container-executor-curl/test
executionRequest:
args:
- - $(URL)
+ - $(URL)
variables:
URL:
name: URL
diff --git a/test/curl/executor-tests/crd-workflow/smoke.yaml b/test/curl/executor-tests/crd-workflow/smoke.yaml
index d4d13869eeb..63cdbcbdb38 100644
--- a/test/curl/executor-tests/crd-workflow/smoke.yaml
+++ b/test/curl/executor-tests/crd-workflow/smoke.yaml
@@ -11,10 +11,10 @@ spec:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- shell: curl -f -LI https://testkube.io
- container:
- image: curlimages/curl:8.7.1
+ - name: Run tests
+ shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/
+ container:
+ image: curlimages/curl:8.7.1
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
@@ -25,17 +25,17 @@ metadata:
spec:
pod:
imagePullSecrets:
- - name: example-private-registry-credentials
+ - name: example-private-registry-credentials
container:
resources:
requests:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- shell: curl -f -LI https://testkube.io && sleep 10
- container:
- image: tkoniecznykubeshop/example-private-repo:curl-8.7.1
+ - name: Run tests
+ shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/ && sleep 10
+ container:
+ image: tkoniecznykubeshop/example-private-repo:curl-8.7.1
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
@@ -50,10 +50,14 @@ spec:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- parallel:
- matrix:
- url: ['https://testkube.io', 'https://docs.testkube.io']
- shell: curl -f -LI '{{ matrix.url }}'
- container:
- image: curlimages/curl:8.7.1
+ - name: Run tests
+ parallel:
+ matrix:
+ url:
+ [
+ "https://testkube-test-page-lipsum.pages.dev/",
+ "https://docs.testkube.io",
+ ]
+ shell: curl -f -LI '{{ matrix.url }}'
+ container:
+ image: curlimages/curl:8.7.1
diff --git a/test/curl/executor-tests/curl-smoke-test-negative.json b/test/curl/executor-tests/curl-smoke-test-negative.json
index 11be373c823..82584117462 100644
--- a/test/curl/executor-tests/curl-smoke-test-negative.json
+++ b/test/curl/executor-tests/curl-smoke-test-negative.json
@@ -1,7 +1,4 @@
{
- "command": [
- "curl",
- "https://testkube.io/"
- ],
- "expected_status": "418"
- }
\ No newline at end of file
+ "command": ["curl", "https://testkube-test-page-lipsum.pages.dev/"],
+ "expected_status": "418"
+}
diff --git a/test/curl/executor-tests/curl-smoke-test.json b/test/curl/executor-tests/curl-smoke-test.json
index bb3f8966558..e973e6b0f45 100644
--- a/test/curl/executor-tests/curl-smoke-test.json
+++ b/test/curl/executor-tests/curl-smoke-test.json
@@ -1,7 +1,4 @@
{
- "command": [
- "curl",
- "https://testkube.io/"
- ],
- "expected_status": "200"
- }
\ No newline at end of file
+ "command": ["curl", "https://testkube-test-page-lipsum.pages.dev/"],
+ "expected_status": "200"
+}
diff --git a/test/cypress/executor-tests/cypress-10/cypress.config.js b/test/cypress/executor-tests/cypress-10/cypress.config.js
index 8dc597f9b1a..875acb75a29 100644
--- a/test/cypress/executor-tests/cypress-10/cypress.config.js
+++ b/test/cypress/executor-tests/cypress-10/cypress.config.js
@@ -2,6 +2,6 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
- baseUrl: 'https://testkube.kubeshop.io/'
+ baseUrl: "https://testkube-test-page-lipsum.pages.dev/",
},
});
diff --git a/test/cypress/executor-tests/cypress-11/cypress.config.js b/test/cypress/executor-tests/cypress-11/cypress.config.js
index 8dc597f9b1a..875acb75a29 100644
--- a/test/cypress/executor-tests/cypress-11/cypress.config.js
+++ b/test/cypress/executor-tests/cypress-11/cypress.config.js
@@ -2,6 +2,6 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
- baseUrl: 'https://testkube.kubeshop.io/'
+ baseUrl: "https://testkube-test-page-lipsum.pages.dev/",
},
});
diff --git a/test/cypress/executor-tests/cypress-12/cypress.config.js b/test/cypress/executor-tests/cypress-12/cypress.config.js
index 8dc597f9b1a..875acb75a29 100644
--- a/test/cypress/executor-tests/cypress-12/cypress.config.js
+++ b/test/cypress/executor-tests/cypress-12/cypress.config.js
@@ -2,6 +2,6 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
- baseUrl: 'https://testkube.kubeshop.io/'
+ baseUrl: "https://testkube-test-page-lipsum.pages.dev/",
},
});
diff --git a/test/cypress/executor-tests/cypress-13/cypress.config.js b/test/cypress/executor-tests/cypress-13/cypress.config.js
index 8dc597f9b1a..875acb75a29 100644
--- a/test/cypress/executor-tests/cypress-13/cypress.config.js
+++ b/test/cypress/executor-tests/cypress-13/cypress.config.js
@@ -2,6 +2,6 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
- baseUrl: 'https://testkube.kubeshop.io/'
+ baseUrl: "https://testkube-test-page-lipsum.pages.dev/",
},
});
diff --git a/test/cypress/executor-tests/cypress-8/cypress.json b/test/cypress/executor-tests/cypress-8/cypress.json
index ff75e240c66..5e298acb95c 100644
--- a/test/cypress/executor-tests/cypress-8/cypress.json
+++ b/test/cypress/executor-tests/cypress-8/cypress.json
@@ -1,3 +1,3 @@
{
- "baseUrl": "https://testkube.kubeshop.io/"
+ "baseUrl": "https://testkube-test-page-lipsum.pages.dev/"
}
diff --git a/test/cypress/executor-tests/cypress-9/cypress.json b/test/cypress/executor-tests/cypress-9/cypress.json
index ff75e240c66..5e298acb95c 100644
--- a/test/cypress/executor-tests/cypress-9/cypress.json
+++ b/test/cypress/executor-tests/cypress-9/cypress.json
@@ -1,3 +1,3 @@
{
- "baseUrl": "https://testkube.kubeshop.io/"
+ "baseUrl": "https://testkube-test-page-lipsum.pages.dev/"
}
diff --git a/test/cypress/executor-tests/cypress-without-envs/cypress.config.js b/test/cypress/executor-tests/cypress-without-envs/cypress.config.js
index dbdd617704e..b7ce5ab8adf 100644
--- a/test/cypress/executor-tests/cypress-without-envs/cypress.config.js
+++ b/test/cypress/executor-tests/cypress-without-envs/cypress.config.js
@@ -2,7 +2,7 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
- baseUrl: 'https://testkube.kubeshop.io/',
- video: false
+ baseUrl: "https://testkube-test-page-lipsum.pages.dev/",
+ video: false,
},
});
diff --git a/test/examples/status-page/crd.yaml b/test/examples/status-page/crd.yaml
index 3b4500c939e..b5760108a8e 100644
--- a/test/examples/status-page/crd.yaml
+++ b/test/examples/status-page/crd.yaml
@@ -4,8 +4,8 @@ metadata:
name: tw-testkube-website-5m
spec:
events:
- - cronjob:
- cron: '*/5 * * * *'
+ - cronjob:
+ cron: "*/5 * * * *"
container:
image: curlimages/curl:8.7.1
resources:
@@ -13,8 +13,8 @@ spec:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- shell: curl -f -LI https://testkube.io
+ - name: Run tests
+ shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
@@ -22,8 +22,8 @@ metadata:
name: tw-testkube-docs-5m
spec:
events:
- - cronjob:
- cron: '*/5 * * * *'
+ - cronjob:
+ cron: "*/5 * * * *"
container:
image: curlimages/curl:8.7.1
resources:
@@ -31,8 +31,8 @@ spec:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- shell: curl -f -LI https://docs.testkube.io
+ - name: Run tests
+ shell: curl -f -LI https://docs.testkube.io
---
apiVersion: testworkflows.testkube.io/v1
kind: TestWorkflow
@@ -40,8 +40,8 @@ metadata:
name: tw-testkube-blog-5m
spec:
events:
- - cronjob:
- cron: '*/5 * * * *'
+ - cronjob:
+ cron: "*/5 * * * *"
container:
image: curlimages/curl:8.7.1
resources:
@@ -49,5 +49,5 @@ spec:
cpu: 32m
memory: 32Mi
steps:
- - name: Run tests
- shell: curl -f -LI https://testkube.io/blog
+ - name: Run tests
+ shell: curl -f -LI https://testkube-test-page-lipsum.pages.dev/
diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke-2.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke-2.jmx
index 6dc469a6d51..f6da99b6c59 100644
--- a/test/jmeter/executor-tests/jmeter-executor-smoke-2.jmx
+++ b/test/jmeter/executor-tests/jmeter-executor-smoke-2.jmx
@@ -30,7 +30,7 @@
- testkube.kubeshop.io
+ testkube-test-page-lipsum.pages.dev
diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke-incorrect-url-2.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke-incorrect-url-2.jmx
index 13d2e00ec97..8584822ef36 100644
--- a/test/jmeter/executor-tests/jmeter-executor-smoke-incorrect-url-2.jmx
+++ b/test/jmeter/executor-tests/jmeter-executor-smoke-incorrect-url-2.jmx
@@ -30,7 +30,7 @@
- testkube.kubeshop.io
+ testkube-test-page-lipsum.pages.dev
diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke-negative.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke-negative.jmx
index 34e8c62bae4..90eaeec4821 100644
--- a/test/jmeter/executor-tests/jmeter-executor-smoke-negative.jmx
+++ b/test/jmeter/executor-tests/jmeter-executor-smoke-negative.jmx
@@ -31,7 +31,7 @@
- testkube.kubeshop.io
+ testkube-test-page-lipsum.pages.dev
diff --git a/test/jmeter/executor-tests/jmeter-executor-smoke.jmx b/test/jmeter/executor-tests/jmeter-executor-smoke.jmx
index 6dc469a6d51..f6da99b6c59 100644
--- a/test/jmeter/executor-tests/jmeter-executor-smoke.jmx
+++ b/test/jmeter/executor-tests/jmeter-executor-smoke.jmx
@@ -30,7 +30,7 @@
- testkube.kubeshop.io
+ testkube-test-page-lipsum.pages.dev
diff --git a/test/k6/executor-tests/k6-smoke-test-without-envs.js b/test/k6/executor-tests/k6-smoke-test-without-envs.js
index 2692e4cd898..b9e574c7aa8 100644
--- a/test/k6/executor-tests/k6-smoke-test-without-envs.js
+++ b/test/k6/executor-tests/k6-smoke-test-without-envs.js
@@ -1,5 +1,5 @@
-import http from 'k6/http';
+import http from "k6/http";
export default function () {
- http.get('https://testkube.kubeshop.io/');
-}
\ No newline at end of file
+ http.get("https://testkube-test-page-lipsum.pages.dev/");
+}
diff --git a/test/k6/executor-tests/k6-smoke-test.js b/test/k6/executor-tests/k6-smoke-test.js
index 786f4a728c2..668d324958f 100644
--- a/test/k6/executor-tests/k6-smoke-test.js
+++ b/test/k6/executor-tests/k6-smoke-test.js
@@ -1,5 +1,5 @@
-import http from 'k6/http';
-import { check } from 'k6';
+import http from "k6/http";
+import { check } from "k6";
if (__ENV.K6_ENV_FROM_PARAM != "K6_ENV_FROM_PARAM_value") {
throw new Error("Incorrect K6_ENV_FROM_PARAM ENV value");
@@ -10,5 +10,5 @@ if (__ENV.K6_SYSTEM_ENV != "K6_SYSTEM_ENV_value") {
}
export default function () {
- http.get('https://testkube.kubeshop.io/');
-}
\ No newline at end of file
+ http.get("https://testkube-test-page-lipsum.pages.dev/");
+}
diff --git a/test/perf/testkube-homepage.js b/test/perf/testkube-homepage.js
index abe183b3430..919e187f498 100644
--- a/test/perf/testkube-homepage.js
+++ b/test/perf/testkube-homepage.js
@@ -1,13 +1,14 @@
-import http from 'k6/http';
-import { sleep,check } from 'k6';
+import http from "k6/http";
+import { sleep, check } from "k6";
export default function () {
- const baseURI = `${__ENV.TESTKUBE_HOMEPAGE_URI || 'https://testkube.kubeshop.io'}`
+ const baseURI = `${
+ __ENV.TESTKUBE_HOMEPAGE_URI ||
+ "https://testkube-test-page-lipsum.pages.dev/"
+ }`;
check(http.get(`${baseURI}/`), {
- 'check testkube homepage home page': (r) =>
- r.body.includes('Your Friendly Cloud-Native Testing Framework for Kubernetes'),
+ "check testkube homepage home page": (r) => r.body.includes("Testkube"),
});
-
sleep(1);
}
diff --git a/test/playwright/executor-tests/playwright-project/tests/smoke.spec.js b/test/playwright/executor-tests/playwright-project/tests/smoke.spec.js
index 6ab0b9652d8..20c8af732c0 100644
--- a/test/playwright/executor-tests/playwright-project/tests/smoke.spec.js
+++ b/test/playwright/executor-tests/playwright-project/tests/smoke.spec.js
@@ -1,8 +1,8 @@
// @ts-check
-const { test, expect } = require('@playwright/test');
+const { test, expect } = require("@playwright/test");
-test('Smoke 1 - has title', async ({ page }) => {
- await page.goto('https://testkube.io/');
+test("Smoke 1 - has title", async ({ page }) => {
+ await page.goto("https://testkube-test-page-lipsum.pages.dev/");
await expect(page).toHaveTitle(/Testkube/);
-});
\ No newline at end of file
+});
diff --git a/test/playwright/executor-tests/playwright-project/tests/smoke2.spec.js b/test/playwright/executor-tests/playwright-project/tests/smoke2.spec.js
index 9d101210fc7..71fe393b10b 100644
--- a/test/playwright/executor-tests/playwright-project/tests/smoke2.spec.js
+++ b/test/playwright/executor-tests/playwright-project/tests/smoke2.spec.js
@@ -1,8 +1,8 @@
// @ts-check
-const { test, expect } = require('@playwright/test');
+const { test, expect } = require("@playwright/test");
-test('Smoke 2 - has title', async ({ page }) => {
- await page.goto('https://testkube.io/');
+test("Smoke 2 - has title", async ({ page }) => {
+ await page.goto("https://testkube-test-page-lipsum.pages.dev/");
await expect(page).toHaveTitle(/Testkube/);
-});
\ No newline at end of file
+});
diff --git a/test/postman/VeryLong.postman_collection.json b/test/postman/VeryLong.postman_collection.json
index 955657a22e0..76c7465f151 100644
--- a/test/postman/VeryLong.postman_collection.json
+++ b/test/postman/VeryLong.postman_collection.json
@@ -1,68 +1,60 @@
{
- "info": {
- "_postman_id": "2256b413-1c9d-4e3f-9ec4-a50c00cec6e7",
- "name": "VeryLong",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
- "_exporter_id": "3706349"
- },
- "item": [
- {
- "name": "Getall",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- "pm.test(\"Status code is 200\", function () {",
- " for(i=0; i<100;i++) {",
- " let j = i",
- " setTimeout(function(){",
- " console.log(\"running \", j, \"request\")",
- " pm.sendRequest('https://testkube.io/?no='+j, function (err, response) {",
- " pm.expect(response.code).to.eq(200);",
- " });",
- " }, 1000*j);",
- " }",
- "});"
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "https://kubeshop.github.io",
- "protocol": "https",
- "host": [
- "kubeshop",
- "github",
- "io"
- ]
- }
- },
- "response": []
- }
- ],
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
-}
\ No newline at end of file
+ "info": {
+ "_postman_id": "2256b413-1c9d-4e3f-9ec4-a50c00cec6e7",
+ "name": "VeryLong",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "3706349"
+ },
+ "item": [
+ {
+ "name": "Getall",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [
+ "pm.test(\"Status code is 200\", function () {",
+ " for(i=0; i<100;i++) {",
+ " let j = i",
+ " setTimeout(function(){",
+ " console.log(\"running \", j, \"request\")",
+ " pm.sendRequest('https://testkube-test-page-lipsum.pages.dev/?no='+j, function (err, response) {",
+ " pm.expect(response.code).to.eq(200);",
+ " });",
+ " }, 1000*j);",
+ " }",
+ "});"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "https://kubeshop.github.io",
+ "protocol": "https",
+ "host": ["kubeshop", "github", "io"]
+ }
+ },
+ "response": []
+ }
+ ],
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ }
+ ]
+}
diff --git a/test/postman/executor-tests/postman-executor-smoke-without-envs.postman_collection.json b/test/postman/executor-tests/postman-executor-smoke-without-envs.postman_collection.json
index e49ede51752..e40bbf85d1c 100644
--- a/test/postman/executor-tests/postman-executor-smoke-without-envs.postman_collection.json
+++ b/test/postman/executor-tests/postman-executor-smoke-without-envs.postman_collection.json
@@ -1,73 +1,59 @@
{
- "info": {
- "_postman_id": "07070ff5-b082-46fe-82eb-84abd51be6a1",
- "name": "postman-executor-smoke",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
- "_exporter_id": "22855798"
- },
- "item": [
- {
- "name": "request",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- },
- {
- "listen": "test",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [],
- "url": {
- "raw": "https://testkube.kubeshop.io/",
- "protocol": "https",
- "host": [
- "testkube",
- "kubeshop",
- "io"
- ],
- "path": [
- ""
- ]
- }
- },
- "response": []
- }
- ],
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
-}
\ No newline at end of file
+ "info": {
+ "_postman_id": "07070ff5-b082-46fe-82eb-84abd51be6a1",
+ "name": "postman-executor-smoke",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "22855798"
+ },
+ "item": [
+ {
+ "name": "request",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [""],
+ "type": "text/javascript"
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "exec": [""],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
+ },
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "https://testkube-test-page-lipsum.pages.dev/",
+ "protocol": "https",
+ "host": ["testkube", "kubeshop", "io"],
+ "path": [""]
+ }
+ },
+ "response": []
+ }
+ ],
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ }
+ ]
+}
diff --git a/test/postman/executor-tests/postman-executor-smoke.postman_collection.json b/test/postman/executor-tests/postman-executor-smoke.postman_collection.json
index 528b1838973..2e9e3920518 100644
--- a/test/postman/executor-tests/postman-executor-smoke.postman_collection.json
+++ b/test/postman/executor-tests/postman-executor-smoke.postman_collection.json
@@ -1,79 +1,67 @@
{
- "info": {
- "_postman_id": "07070ff5-b082-46fe-82eb-84abd51be6a1",
- "name": "postman-executor-smoke",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
- "_exporter_id": "22855798"
- },
- "item": [
- {
- "name": "request",
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "exec": [
- ""
- ],
- "type": "text/javascript"
- }
- },
- {
- "listen": "test",
- "script": {
- "exec": [
- "const TESTKUBE_POSTMAN_PARAM = pm.environment.get(\"TESTKUBE_POSTMAN_PARAM\")",
- "console.log(`TESTKUBE_POSTMAN_PARAM ENV: ${TESTKUBE_POSTMAN_PARAM}`)",
- "",
- "",
- "pm.test(\"'TESTKUBE_POSTMAN_PARAM' should be set correctly to 'TESTKUBE_POSTMAN_PARAM_value' value\", () => {",
- " pm.expect(TESTKUBE_POSTMAN_PARAM).to.eql(\"TESTKUBE_POSTMAN_PARAM_value\");",
- "});"
- ],
- "type": "text/javascript"
- }
- }
- ],
- "request": {
- "auth": {
- "type": "noauth"
- },
- "method": "GET",
- "header": [],
- "url": {
- "raw": "https://testkube.kubeshop.io/",
- "protocol": "https",
- "host": [
- "testkube",
- "kubeshop",
- "io"
- ],
- "path": [
- ""
- ]
- }
- },
- "response": []
- }
- ],
- "event": [
- {
- "listen": "prerequest",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- },
- {
- "listen": "test",
- "script": {
- "type": "text/javascript",
- "exec": [
- ""
- ]
- }
- }
- ]
-}
\ No newline at end of file
+ "info": {
+ "_postman_id": "07070ff5-b082-46fe-82eb-84abd51be6a1",
+ "name": "postman-executor-smoke",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "22855798"
+ },
+ "item": [
+ {
+ "name": "request",
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "exec": [""],
+ "type": "text/javascript"
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "const TESTKUBE_POSTMAN_PARAM = pm.environment.get(\"TESTKUBE_POSTMAN_PARAM\")",
+ "console.log(`TESTKUBE_POSTMAN_PARAM ENV: ${TESTKUBE_POSTMAN_PARAM}`)",
+ "",
+ "",
+ "pm.test(\"'TESTKUBE_POSTMAN_PARAM' should be set correctly to 'TESTKUBE_POSTMAN_PARAM_value' value\", () => {",
+ " pm.expect(TESTKUBE_POSTMAN_PARAM).to.eql(\"TESTKUBE_POSTMAN_PARAM_value\");",
+ "});"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "auth": {
+ "type": "noauth"
+ },
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "https://testkube-test-page-lipsum.pages.dev/",
+ "protocol": "https",
+ "host": ["testkube", "kubeshop", "io"],
+ "path": [""]
+ }
+ },
+ "response": []
+ }
+ ],
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [""]
+ }
+ }
+ ]
+}
diff --git a/test/soapui/executor-smoke/soapui-smoke-test.xml b/test/soapui/executor-smoke/soapui-smoke-test.xml
index 6ba6f09c1c4..644227c6c9c 100644
--- a/test/soapui/executor-smoke/soapui-smoke-test.xml
+++ b/test/soapui/executor-smoke/soapui-smoke-test.xml
@@ -1,2 +1,2 @@
-https://testkube.kubeshop.iohttps://testkube.kubeshop.io
\ No newline at end of file
+https://testkube-test-page-lipsum.pages.dev/https://testkube-test-page-lipsum.pages.dev/
\ No newline at end of file
diff --git a/test/special-cases/edge-cases-expected-fails.yaml b/test/special-cases/edge-cases-expected-fails.yaml
index ca8240b1bda..a93f85d3fcb 100644
--- a/test/special-cases/edge-cases-expected-fails.yaml
+++ b/test/special-cases/edge-cases-expected-fails.yaml
@@ -72,7 +72,7 @@ spec:
type: container-executor-curl/test
executionRequest:
args:
- - $(URL)
+ - $(URL)
variables:
URL:
name: expected-fail-URL
@@ -171,7 +171,7 @@ spec:
value: "testkube.io"
type: basic
args:
- - "-JURL_PROPERTY=testkube.kubeshop.io"
+ - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
---
apiVersion: tests.testkube.io/v3
kind: Test
@@ -195,7 +195,7 @@ spec:
value: "testkube.io"
type: basic
args:
- - "-JURL_PROPERTY=testkube.kubeshop.io"
+ - "-JURL_PROPERTY=testkube-test-page-lipsum.pages.dev"
---
apiVersion: tests.testkube.io/v3
kind: Test
@@ -333,8 +333,8 @@ spec:
args:
- --env-var
- TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value
- preRunScript: "echo \"===== pre-run script - EXPECTED FAIL\" && exit 128"
- postRunScript: "echo \"===== post-run script\""
+ preRunScript: 'echo "===== pre-run script - EXPECTED FAIL" && exit 128'
+ postRunScript: 'echo "===== post-run script"'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"
---
apiVersion: tests.testkube.io/v3
@@ -356,8 +356,8 @@ spec:
args:
- --env-var
- TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value
- preRunScript: "echo \"===== pre-run script\""
- postRunScript: "echo \"===== post-run script - EXPECTED FAIL\" && exit 128"
+ preRunScript: 'echo "===== pre-run script"'
+ postRunScript: 'echo "===== post-run script - EXPECTED FAIL" && exit 128'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"
---
apiVersion: tests.testkube.io/v3
@@ -377,9 +377,15 @@ spec:
path: test/postman/executor-tests/postman-executor-smoke.postman_collection.json
workingDir: test/postman/executor-tests
executionRequest:
- args: ["run", "postman-executor-smoke.postman_collection.json", "--env-var", "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value"]
- preRunScript: "echo \"===== pre-run script - EXPECTED FAIL\" && exit 128"
- postRunScript: "echo \"===== post-run script\""
+ args:
+ [
+ "run",
+ "postman-executor-smoke.postman_collection.json",
+ "--env-var",
+ "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value",
+ ]
+ preRunScript: 'echo "===== pre-run script - EXPECTED FAIL" && exit 128'
+ postRunScript: 'echo "===== post-run script"'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"
---
apiVersion: tests.testkube.io/v3
@@ -399,9 +405,15 @@ spec:
path: test/postman/executor-tests/postman-executor-smoke.postman_collection.json
workingDir: test/postman/executor-tests
executionRequest:
- args: ["run", "postman-executor-smoke.postman_collection.json", "--env-var", "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value"]
- preRunScript: "echo \"===== pre-run script\""
- postRunScript: "echo \"===== post-run script - EXPECTED FAIL\" && exit 128"
+ args:
+ [
+ "run",
+ "postman-executor-smoke.postman_collection.json",
+ "--env-var",
+ "TESTKUBE_POSTMAN_PARAM=TESTKUBE_POSTMAN_PARAM_value",
+ ]
+ preRunScript: 'echo "===== pre-run script"'
+ postRunScript: 'echo "===== post-run script - EXPECTED FAIL" && exit 128'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"
---
apiVersion: tests.testkube.io/v3
@@ -420,8 +432,8 @@ spec:
branch: main
path: test/postman/executor-tests/postman-executor-smoke-negative.postman_collection.json
executionRequest:
- preRunScript: "echo \"===== pre-run script\""
- postRunScript: "echo \"===== post-run script\""
+ preRunScript: 'echo "===== pre-run script"'
+ postRunScript: 'echo "===== post-run script"'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"
---
apiVersion: tests.testkube.io/v3
@@ -442,6 +454,6 @@ spec:
workingDir: test/postman/executor-tests
executionRequest:
args: ["run", "postman-executor-smoke.postman_collection.json"]
- preRunScript: "echo \"===== pre-run script\""
- postRunScript: "echo \"===== post-run script\""
+ preRunScript: 'echo "===== pre-run script"'
+ postRunScript: 'echo "===== post-run script"'
jobTemplate: "apiVersion: batch/v1\nkind: Job\nspec:\n template:\n spec:\n containers:\n - name: \"{{ .Name }}\"\n image: {{ .Image }}\n resources:\n requests:\n memory: 128Mi\n cpu: 256m\n"