Skip to content

Commit 1b4359c

Browse files
mrTuomoKcursoragent
andcommitted
fix(common-tests): use relative import in browser test utils
Avoid import/order failures when tsconfig paths resolve the package self-import as internal while testcafe stays external. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent ad24794 commit 1b4359c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/common-tests/browser-tests/eventSearch/search-page.testcafe.utils.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { screen } from '@testing-library/testcafe';
2+
import { ClientFunction, t } from 'testcafe';
13
import {
24
EventDetailsPage,
35
ClosedEventDetailsPage,
46
EventSearchPage,
5-
} from '@events-helsinki/common-tests/browser-tests';
6-
import { screen } from '@testing-library/testcafe';
7-
import { ClientFunction, t } from 'testcafe';
7+
} from '../page-model';
88

99
/**
1010
* Use the `window.history.back()` -client function.

0 commit comments

Comments
 (0)