From 03637fc09b794a5de15adbfed52b48507df03f42 Mon Sep 17 00:00:00 2001 From: Filipe Freire Date: Fri, 12 Jul 2024 12:55:55 +0100 Subject: [PATCH] chore: mv prerelease tests into smoke [INS-4132] (#7705) --- packages/insomnia-smoke-test/playwright.config.ts | 2 +- .../tests/prerelease/basic-interactions.test.ts | 9 --------- .../{prerelease => smoke}/design-interactions.test.ts | 0 .../{prerelease => smoke}/grpc-interactions.test.ts | 0 .../{prerelease => smoke}/plugins-interactions.test.ts | 0 .../preferences-interactions.test.ts | 0 6 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 packages/insomnia-smoke-test/tests/prerelease/basic-interactions.test.ts rename packages/insomnia-smoke-test/tests/{prerelease => smoke}/design-interactions.test.ts (100%) rename packages/insomnia-smoke-test/tests/{prerelease => smoke}/grpc-interactions.test.ts (100%) rename packages/insomnia-smoke-test/tests/{prerelease => smoke}/plugins-interactions.test.ts (100%) rename packages/insomnia-smoke-test/tests/{prerelease => smoke}/preferences-interactions.test.ts (100%) diff --git a/packages/insomnia-smoke-test/playwright.config.ts b/packages/insomnia-smoke-test/playwright.config.ts index 99b36cbbb..5330cde4b 100644 --- a/packages/insomnia-smoke-test/playwright.config.ts +++ b/packages/insomnia-smoke-test/playwright.config.ts @@ -5,7 +5,7 @@ const config: PlaywrightTestConfig = { { // Run all tests, runs only on Release PR test workflow name: 'Default', - testMatch: /prerelease\/.*.test.ts/, + testMatch: /.*\/.*.test.ts/, retries: 0, }, { diff --git a/packages/insomnia-smoke-test/tests/prerelease/basic-interactions.test.ts b/packages/insomnia-smoke-test/tests/prerelease/basic-interactions.test.ts deleted file mode 100644 index a71a55ab9..000000000 --- a/packages/insomnia-smoke-test/tests/prerelease/basic-interactions.test.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { expect } from '@playwright/test'; - -import { test } from '../../playwright/test'; - -test('Basic interactions', async ({ }) => { - // TODO(filfreire): add a few scenarios ported from the release checklist - - await expect(true).toBeTruthy(); -}); diff --git a/packages/insomnia-smoke-test/tests/prerelease/design-interactions.test.ts b/packages/insomnia-smoke-test/tests/smoke/design-interactions.test.ts similarity index 100% rename from packages/insomnia-smoke-test/tests/prerelease/design-interactions.test.ts rename to packages/insomnia-smoke-test/tests/smoke/design-interactions.test.ts diff --git a/packages/insomnia-smoke-test/tests/prerelease/grpc-interactions.test.ts b/packages/insomnia-smoke-test/tests/smoke/grpc-interactions.test.ts similarity index 100% rename from packages/insomnia-smoke-test/tests/prerelease/grpc-interactions.test.ts rename to packages/insomnia-smoke-test/tests/smoke/grpc-interactions.test.ts diff --git a/packages/insomnia-smoke-test/tests/prerelease/plugins-interactions.test.ts b/packages/insomnia-smoke-test/tests/smoke/plugins-interactions.test.ts similarity index 100% rename from packages/insomnia-smoke-test/tests/prerelease/plugins-interactions.test.ts rename to packages/insomnia-smoke-test/tests/smoke/plugins-interactions.test.ts diff --git a/packages/insomnia-smoke-test/tests/prerelease/preferences-interactions.test.ts b/packages/insomnia-smoke-test/tests/smoke/preferences-interactions.test.ts similarity index 100% rename from packages/insomnia-smoke-test/tests/prerelease/preferences-interactions.test.ts rename to packages/insomnia-smoke-test/tests/smoke/preferences-interactions.test.ts