Skip to content

Commit

Permalink
1.update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cwangsmv committed Mar 7, 2025
1 parent 99b69c1 commit ba01468
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/insomnia-smoke-test/playwright/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ export const test = baseTest.extend<{
// set testFailed to true if the test timed out or failed
testFailed = testFailed || testInfo.status === 'timedOut' || testInfo.status === 'failed';
if (traceMode === 'on' || (traceMode === 'retain-on-failure' && testFailed) || (traceMode === 'on-first-retry' && testInfo.retry === 1)) {
// Set tracing file name with the test status
// Use a different name rather than the default trace.zip to avoid overwriting the trace.
// Refer: https://github.com/microsoft/playwright/issues/35005
await appContext.tracing.stop({
path: path.join(testInfo.outputDir, `trace-${testInfo.title}-${testInfo.status}.zip`),
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ test.describe('Check vault used in environment', async () => {
await page.getByRole('option', { name: 'New Environment' }).click();
await page.getByText('Base Environment1').click();
await page.getByTestId('underlay').click();
// ensure environment is activated
await page.waitForTimeout(1000);
// activate request
await page.getByTestId('normal').getByLabel('GET normal', { exact: true }).click();
await page.getByRole('button', { name: 'Send' }).click();
Expand Down

0 comments on commit ba01468

Please sign in to comment.