Skip to content

Commit

Permalink
Add ingestion tag for all specs that require the ingestion container …
Browse files Browse the repository at this point in the history
…to be running
  • Loading branch information
aniketkatkar97 committed Sep 26, 2024
1 parent 9852a94 commit 8347964
Show file tree
Hide file tree
Showing 5 changed files with 560 additions and 510 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* Copyright 2024 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

export const INGESTION_DEPENDENCY_TAG = {
tag: '@ingestion',
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* limitations under the License.
*/
import test, { expect } from '@playwright/test';
import { INGESTION_DEPENDENCY_TAG } from '../../constant/config';
import { SidebarItem } from '../../constant/sidebar';
import { TableClass } from '../../support/entity/TableClass';
import { UserClass } from '../../support/user/UserClass';
Expand Down Expand Up @@ -39,7 +40,7 @@ test.use({ storageState: 'playwright/.auth/admin.json' });

test.describe.configure({ mode: 'serial' });

test.describe('Incident Manager', () => {
test.describe('Incident Manager', INGESTION_DEPENDENCY_TAG, () => {
test.beforeAll(async ({ browser }) => {
// since we need to poll for the pipeline status, we need to increase the timeout
test.setTimeout(90000);
Expand Down
Loading

0 comments on commit 8347964

Please sign in to comment.