mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
can cancel request (#4366)
This commit is contained in:
parent
cfed59e45e
commit
722044ed33
@ -42,6 +42,27 @@ resources:
|
||||
description: ""
|
||||
scope: collection
|
||||
_type: workspace
|
||||
- _id: req_e6fab3568ed54f9d83c92e2c8006e145
|
||||
parentId: wrk_5b5ab67830944ffcbec47528366ef403
|
||||
modified: 1636141084436
|
||||
created: 1636141078600
|
||||
url: http://127.0.0.1:4010/delay/seconds/20
|
||||
name: delayed request
|
||||
description: ""
|
||||
method: GET
|
||||
body: {}
|
||||
parameters: []
|
||||
headers: []
|
||||
authentication: {}
|
||||
metaSortKey: -1636141078600
|
||||
isPrivate: false
|
||||
settingStoreCookies: true
|
||||
settingSendCookies: true
|
||||
settingDisableRenderRequestBody: false
|
||||
settingEncodeUrl: true
|
||||
settingRebuildPath: true
|
||||
settingFollowRedirects: global
|
||||
_type: request
|
||||
- _id: req_e6fab3568ed54f9d83c92e2c8006e140
|
||||
parentId: wrk_5b5ab67830944ffcbec47528366ef403
|
||||
modified: 1636141084436
|
||||
|
@ -39,6 +39,11 @@ test('can send requests', async ({ playwright }) => {
|
||||
|
||||
await page.click('button:has-text("Clipboard")');
|
||||
await page.click('text=CollectionSmoke testsjust now');
|
||||
|
||||
await page.click('button:has-text("GETdelayed request")');
|
||||
await page.click('text=http://127.0.0.1:4010/delay/seconds/20Send >> button');
|
||||
await page.click('text=Loading...Cancel Request >> button');
|
||||
await page.click('text=Request was cancelled');
|
||||
await page.click('button:has-text("GETsend JSON request")');
|
||||
await page.click('text=http://127.0.0.1:4010/pets/1Send >> button');
|
||||
await page.click('text=200 OK');
|
||||
|
Loading…
Reference in New Issue
Block a user