mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
1.try to fix smoke test flaky (#7840)
Add 1s timeout to ensure noProxy settings is applied for failed smoke test
This commit is contained in:
parent
87f38d4aaa
commit
9fdff449d1
@ -361,6 +361,8 @@ test.describe('pre-request features tests', async () => {
|
|||||||
await page.locator('[name="httpsProxy"]').fill('localhost:2222');
|
await page.locator('[name="httpsProxy"]').fill('localhost:2222');
|
||||||
await page.locator('[name="noProxy"]').fill('http://a.com,https://b.com');
|
await page.locator('[name="noProxy"]').fill('http://a.com,https://b.com');
|
||||||
await page.locator('.app').press('Escape');
|
await page.locator('.app').press('Escape');
|
||||||
|
// add 1s timeout to ensure noProxy settings is applied - INS-4155
|
||||||
|
await page.waitForTimeout(1000);
|
||||||
|
|
||||||
await page.getByLabel('Request Collection').getByTestId('test proxies manipulation').press('Enter');
|
await page.getByLabel('Request Collection').getByTestId('test proxies manipulation').press('Enter');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user