Skip to content

Commit 42cc9c5

Browse files
STetsingyann300
authored andcommitted
fixed e2e
1 parent da552c7 commit 42cc9c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/remix-ide-e2e/src/tests/ai_panel.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ module.exports = {
155155
.assistantWorkspace('comment all function', 'mistralai')
156156
.waitForElementVisible({
157157
locateStrategy: 'xpath',
158-
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied"))]',
158+
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied") or contains(.,"No files modified"))]',
159159
timeout: 60000
160160
})
161161
.waitForElementPresent({
@@ -203,7 +203,7 @@ module.exports = {
203203
.assistantWorkspace('remove all comments', 'openai')
204204
.waitForElementVisible({
205205
locateStrategy: 'xpath',
206-
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied"))]',
206+
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied") or contains(.,"No files modified"))]',
207207
timeout: 60000
208208
})
209209
.waitForElementPresent({
@@ -223,7 +223,7 @@ module.exports = {
223223
.assistantWorkspace('remove all comments', 'anthropic')
224224
.waitForElementVisible({
225225
locateStrategy: 'xpath',
226-
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied"))]',
226+
selector: '//div[contains(@class,"chat-bubble") and (contains(.,"Modified Files") or contains(.,"No Changes applied") or contains(.,"No files modified"))]',
227227
timeout: 60000
228228
})
229229
.waitForElementPresent({

libs/remix-ui/editor/src/lib/inlineCompetionsLibs/CompletionCache.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class CompletionCache {
6262
// });
6363

6464
if (cached && !isExpired) {
65-
// console.log('[CompletionCache] Cache hit');
65+
// console.log('[CompletionCache] Cache hit');
6666
return cached.result;
6767
}
6868

0 commit comments

Comments
 (0)