Skip to content

Commit 95d8955

Browse files
committed
test: refactoring
Run General.test.ts only for the first defined project to save time.
1 parent 8256b8a commit 95d8955

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tobago-example/tobago-example-demo/src/test/typescript/misc/General.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ function getUrls(webappDir: string, contentDir: string): string[] {
4141

4242
for (const url of getUrls(webappDir, contentDir)) {
4343
test.describe(`General tests for ${url}`, () => {
44+
test.skip(() => test.info().project.name !== test.info().config.projects[0].name, "Run on the first defined project only.");
4445

4546
test.beforeEach(async ({page}, testInfo) => {
4647
await page.goto(url);

0 commit comments

Comments
 (0)