Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(j-s): slow down the execution of js playwright tests #17438

Merged
merged 8 commits into from
Jan 9, 2025
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ const Processing: FC = () => {
deleteCivilClaimant,
} = useCivilClaimants()
const router = useRouter()

// TODO: currently for e2e tests, this is failing locally due to this feature flag
thorhildurt marked this conversation as resolved.
Show resolved Hide resolved
const isTrafficViolationCaseCheck =
features.includes(Feature.MULTIPLE_INDICTMENT_SUBTYPES) ||
isTrafficViolationCase(workingCase)
Expand Down
6 changes: 6 additions & 0 deletions apps/system-e2e/src/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ const config: PlaywrightTestConfig = {
{
name: 'judicial-system',
testMatch: 'tests/judicial-system/**/*.spec.[tj]s',
use: {
thorhildurt marked this conversation as resolved.
Show resolved Hide resolved
/* Slows down execution in ms */
launchOptions: {
slowMo: 200,
},
},
},
{ name: 'islandis', testMatch: 'tests/islandis/**/*.spec.[tj]s' },
{ name: 'everything', testMatch: 'tests/*/**/*.spec.[tj]s' },
Expand Down
Loading