-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2847b2f
commit bc59522
Showing
10 changed files
with
108 additions
and
118 deletions.
There are no files selected for viewing
Binary file not shown.
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"command": [ | ||
"curl", | ||
"https://testkube.io/" | ||
], | ||
"expected_status": "418" | ||
} | ||
"command": ["curl", "https://testkube-test-page-lipsum.pages.dev/"], | ||
"expected_status": "418" | ||
} |
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 |
---|---|---|
@@ -1,7 +1,4 @@ | ||
{ | ||
"command": [ | ||
"curl", | ||
"https://testkube.io/" | ||
], | ||
"expected_status": "200" | ||
} | ||
"command": ["curl", "https://testkube-test-page-lipsum.pages.dev/"], | ||
"expected_status": "200" | ||
} |
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
8 changes: 4 additions & 4 deletions
8
test/playwright/executor-tests/playwright-project/tests/smoke.spec.js
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 |
---|---|---|
@@ -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/); | ||
}); | ||
}); |
8 changes: 4 additions & 4 deletions
8
test/playwright/executor-tests/playwright-project/tests/smoke2.spec.js
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 |
---|---|---|
@@ -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/); | ||
}); | ||
}); |
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 |
---|---|---|
@@ -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": [ | ||
"" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
"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": [""] | ||
} | ||
} | ||
] | ||
} |