Skip to content

Commit

Permalink
added start recording id
Browse files Browse the repository at this point in the history
  • Loading branch information
nihal467 committed Nov 22, 2024
1 parent 5f8bbb1 commit 4d5929f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cypress/pageobject/Patient/PatientFileupload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export class PatientFileUpload {

recordAudio() {
cy.get("#record-audio").click();
cy.wait(5000);
cy.wait(2000);
cy.get("#start-recording").click();
cy.wait(2000);
cy.get("#stop-recording").click();
cy.wait(1000);
cy.get("#save-recording").click();
Expand Down
2 changes: 1 addition & 1 deletion src/components/Files/AudioCaptureDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function AudioCaptureDialog(props: AudioCaptureDialogProps) {
<div>
<h2 className="font-bold text-white">{t("audio__record")}</h2>
<div className="text-secondary-200">{t("audio__record_helper")}</div>
<div className="mt-4">
<div className="mt-4" id="start-recording">
<button
onClick={handleStartRecording}
className="inline-flex aspect-square w-32 items-center justify-center rounded-full bg-white/10 text-6xl text-white hover:bg-white/20"
Expand Down

0 comments on commit 4d5929f

Please sign in to comment.