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:
Kent Wang 2024-08-15 15:51:38 +08:00 committed by GitHub
parent 87f38d4aaa
commit 9fdff449d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -361,6 +361,8 @@ test.describe('pre-request features tests', async () => {
await page.locator('[name="httpsProxy"]').fill('localhost:2222');
await page.locator('[name="noProxy"]').fill('http://a.com,https://b.com');
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');