@@ -66,7 +66,7 @@ val testHappyPathScript = """
66
66
const inputElement = document.querySelector('.mynah-chat-prompt-input');
67
67
return inputElement && !inputElement.disabled;
68
68
},
69
- { timeout: 10000 }
69
+ { timeout: 30000 }
70
70
);
71
71
72
72
console.log("Input field re-enabled after acceptance")
@@ -78,7 +78,7 @@ val testHappyPathScript = """
78
78
button.textContent.includes(expectedText)
79
79
);
80
80
},
81
- {timeout:10000 },
81
+ {timeout: 30000 },
82
82
"How can we make /test better"
83
83
);
84
84
@@ -330,7 +330,7 @@ val testRejectPathScript = """
330
330
const inputElement = document.querySelector('.mynah-chat-prompt-input');
331
331
return inputElement && !inputElement.disabled;
332
332
},
333
- { timeout: 10000 }
333
+ { timeout: 30000 }
334
334
);
335
335
336
336
console.log("Input field re-enabled after rejection")
@@ -341,7 +341,7 @@ val testRejectPathScript = """
341
341
button.textContent.includes(expectedText)
342
342
);
343
343
},
344
- {timeout:10000 },
344
+ {timeout:30000 },
345
345
"How can we make /test better"
346
346
);
347
347
@@ -571,7 +571,7 @@ val testCancelButtonScript = """
571
571
const inputElement = document.querySelector('.mynah-chat-prompt-input');
572
572
return inputElement && !inputElement.disabled;
573
573
},
574
- { timeout: 10000 }
574
+ { timeout: 30000 }
575
575
);
576
576
577
577
console.log("Input field re-enabled after cancellation")
@@ -583,7 +583,7 @@ val testCancelButtonScript = """
583
583
button.textContent.includes(expectedText)
584
584
);
585
585
},
586
- {timeout:10000 },
586
+ {timeout:30000 },
587
587
"How can we make /test better"
588
588
);
589
589
@@ -645,7 +645,7 @@ val testDocumentationErrorScript = """
645
645
return pageContent.includes(expectedText);
646
646
},
647
647
{
648
- timeout: 10000
648
+ timeout: 30000
649
649
},
650
650
"I apologize, but I couldn't process your /test instruction"
651
651
);
@@ -657,7 +657,7 @@ val testDocumentationErrorScript = """
657
657
const inputElement = document.querySelector('.mynah-chat-prompt-input');
658
658
return inputElement && !inputElement.disabled;
659
659
},
660
- { timeout: 10000 }
660
+ { timeout: 30000 }
661
661
);
662
662
663
663
console.log("Input field re-enabled after error")
@@ -669,7 +669,7 @@ val testDocumentationErrorScript = """
669
669
button.textContent.includes(expectedText)
670
670
);
671
671
},
672
- { timeout: 10000 },
672
+ { timeout: 30000 },
673
673
"How can we make /test better"
674
674
);
675
675
@@ -730,9 +730,9 @@ val testRemoveFunctionErrorScript = """
730
730
return pageContent.includes(expectedText);
731
731
},
732
732
{
733
- timeout: 10000
733
+ timeout: 30000
734
734
},
735
- "I apologize, but I couldn't process your /test instruction"
735
+ "I apologize, but I couldn't process your /test instruction. "
736
736
);
737
737
738
738
console.log("Error message displayed correctly")
@@ -741,7 +741,7 @@ val testRemoveFunctionErrorScript = """
741
741
const inputElement = document.querySelector('.mynah-chat-prompt-input');
742
742
return inputElement && !inputElement.disabled;
743
743
},
744
- { timeout: 10000 }
744
+ { timeout: 30000 }
745
745
);
746
746
747
747
console.log("Input field re-enabled after error")
@@ -753,7 +753,7 @@ val testRemoveFunctionErrorScript = """
753
753
button.textContent.includes(expectedText)
754
754
);
755
755
},
756
- {timeout:10000 },
756
+ {timeout:30000 },
757
757
"How can we make /test better"
758
758
);
759
759
@@ -825,7 +825,7 @@ val testMethodNotFoundErrorScript = """
825
825
const inputElement = document.querySelector('.mynah-chat-prompt-input');
826
826
return inputElement && !inputElement.disabled;
827
827
},
828
- { timeout: 10000 }
828
+ { timeout: 30000 }
829
829
);
830
830
831
831
console.log("Input field re-enabled after error")
@@ -837,7 +837,7 @@ val testMethodNotFoundErrorScript = """
837
837
button.textContent.includes(expectedText)
838
838
);
839
839
},
840
- {timeout:10000 },
840
+ {timeout:30000 },
841
841
"How can we make /test better"
842
842
);
843
843
0 commit comments