diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Task/view.test.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Task/view.test.js index 5a6dcc003a6c095aac7af4f5f4511ad4bd180bd8..618e9cd38bd0916d3f39bd45c060abed26c7b054 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Task/view.test.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Task/view.test.js @@ -1519,15 +1519,13 @@ it("Checking Correctness of Custom fields in JEditor using Simple Observation dr expect(freqSAP.value).toBe('99.9-147.6'); - /* These seems to be actually not present in the node. Unclear if this is due too a failing test, or recently changed design */ - + await waitFor(()=>expect(content.getByRole("textbox",{name: "specification[station_configuration][SAPs][0][digital_pointing][angle1]"})).toBeInTheDocument()); await waitFor(()=>expect(content.getByRole("textbox",{name: "specification[station_configuration][SAPs][0][digital_pointing][angle2]"})).toBeInTheDocument()); const angle1El =content.getByRole("textbox",{name: "specification[station_configuration][SAPs][0][digital_pointing][angle1]"}); - const angle1E2 =content.getByRole("textbox",{name: "specification[station_configuration][SAPs][0][digital_pointing][angle1]"}); + const angle1E2 =content.getByRole("textbox",{name: "specification[station_configuration][SAPs][0][digital_pointing][angle2]"}); expect(angle1El.value).toBe('03h06m00s'); - //const angle1E2 = content.getByLabelText("specification[station_configuration][SAPs][0][digital_pointing][angle2]"); expect(angle1E2.value).toBe('89d59m00s'); }); \ No newline at end of file