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

Release to val #766

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ jobs:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}
aws-region: us-east-1
role-duration-seconds: 10800
- name: Install Playwright with Chrome
run: npx playwright install --with-deps chromium
- name: Run e2e tests
run: run e2e
- uses: actions/upload-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions lib/libs/webforms/ABP1/v202402.ts
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ export const v202402: FormSchema = {
label:
"Is there an additional incremental amount?",
labelClassName:
"font-bold mt-3",
"font-bold",
horizontalLayout: true,

props: {
Expand Down Expand Up @@ -735,7 +735,7 @@ export const v202402: FormSchema = {
label:
"Is there an additional incremental amount?",
labelClassName:
"font-bold mt-3",
"font-bold",
horizontalLayout: true,

props: {
Expand Down Expand Up @@ -907,7 +907,7 @@ export const v202402: FormSchema = {
label:
"Is there an additional incremental amount?",
labelClassName:
"font-bold mt-3",
"font-bold",
horizontalLayout: true,

props: {
Expand Down Expand Up @@ -1079,7 +1079,7 @@ export const v202402: FormSchema = {
label:
"Is there an additional incremental amount?",
labelClassName:
"font-bold mt-3",
"font-bold",
horizontalLayout: true,

props: {
Expand Down
7 changes: 1 addition & 6 deletions lib/libs/webforms/ABP2A/v202401.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,10 @@ export const v202401: FormSchema = {
descriptionAbove: true,
description: [
{
text: "The state/territory has fully aligned its EHB-defined Alternative Benefit Plan (ABP) benefits with its approved Medicaid state plan.",
text: "The state/territory has fully aligned its EHB-defined Alternative Benefit Plan (ABP) benefits with its approved Medicaid state plan; therefore, the state/territory meets the requirements for voluntary choice of benefit package for individuals exempt from mandatory participation in a Section 1937 ABP.",
type: "default",
classname: "font-bold block pb-1",
},
{
text: "Therefore, the state/territory meets the requirements for voluntary choice of benefit package for individuals exempt from mandatory participation in a Section 1937 ABP.",
type: "default",
classname: "font-bold block pt-4",
},
],
rules: {
required: "* Required",
Expand Down
10 changes: 5 additions & 5 deletions react-app/src/components/RHF/FieldArray.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ export const RHFFieldArray = <TFields extends FieldValues>(
}, [fieldArr, props.fields]);

return (
<div className={"flex flex-col gap-4 w-full"}>
<div className={"flex flex-col gap-3 w-full"}>
{fieldArr.fields.map((FLD, index) => {
return (
<div
className={cn("flex flex-row gap-3 ", props.fieldArrayClassName)}
className={cn("flex flex-row gap-5", props.fieldArrayClassName)}
key={FLD.id}
>
{props.fields.map((SLOT, i) => {
Expand Down Expand Up @@ -64,13 +64,13 @@ export const RHFFieldArray = <TFields extends FieldValues>(
{props.removeText ?? "Remove Group"}
</Button>
)}
{fieldArr.fields.length > 1 && props.divider && (
<div className="w-full border-slate-300 border-2" />
{props.divider && (
<div className="w-full border-slate-300 border-b-[1px]" />
)}
</div>
);
})}
<div className={cn("flex items-center mt-2", props.appendClassName)}>
<div className={cn("flex items-center mt-3", props.appendClassName)}>
<Button
type="button"
size="sm"
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"description": "",
"main": "index.js",
"scripts": {
"e2e": "playwright test",
"e2e:ui": "playwright test --ui"
"e2e": "playwright test --project=state-user-chrome",
"e2e:ui": "playwright test --ui --project=state-user-chrome"
},
"dependencies": {
"shared-utils": "*"
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default defineConfig({

{
// we can have different projects for different users/use cases
name: "logged in state user",
name: "state-user-chrome",
use: {
...devices["Desktop Chrome"],
// Use prepared auth state for state submitter.
Expand Down
Loading