Skip to content

Commit

Permalink
try to fix AssertionError: Timed out retrying after 10000ms: Expected…
Browse files Browse the repository at this point in the history
… to find element: #submit, but never found it.
  • Loading branch information
modamaan committed Dec 17, 2024
1 parent e15f966 commit 6bf605c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/Assets/AssetType/HL7Monitor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,11 @@ const HL7Monitor = (props: HL7MonitorProps) => {
required
error={ipadrdress_error}
/>
<Button variant={"primary"} className="flex gap-2 w-full">
<Button
id="submit"
variant={"primary"}
className="flex gap-2 w-full"
>
<CareIcon icon="l-save" />
<span>Save Configuration</span>
</Button>
Expand Down Expand Up @@ -233,7 +237,11 @@ function MonitorConfigure({ asset }: { asset: AssetData }) {
className="w-full"
/>
</div>
<Button variant={"primary"} className="flex gap-2 mt-6 w-full shrink-0">
<Button
id="submit"
variant={"primary"}
className="flex gap-2 mt-6 w-full shrink-0"
>
<CareIcon icon="l-bed" className="text-lg" />
{shouldUpdateLink ? "Update Bed" : "Save Bed"}
</Button>
Expand Down

0 comments on commit 6bf605c

Please sign in to comment.