Skip to content

Commit a7dff5e

Browse files
committed
fix AI e2e
1 parent 1963fac commit a7dff5e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,9 @@ const tests = {
2525
'Should contain message starters #group1': function (browser: NightwatchBrowser) {
2626
browser
2727
.clickLaunchIcon('remixaiassistant')
28-
.waitForElementVisible('*[data-id="remix-ai-assistant-starter-0"]')
29-
.click('*[data-id="remix-ai-assistant-starter-0"]')
28+
.waitForElementVisible('*[data-id="remix-ai-assistant-starter-beginner-0"]')
29+
.click('*[data-id="remix-ai-assistant-starter-beginner-0"]')
3030
.waitForElementVisible('*[data-id="remix-ai-assistant"]')
31-
.waitForElementVisible({
32-
locateStrategy: 'xpath',
33-
selector: '//*[contains(@class,"chat-bubble") and contains(.,"What is a modifier?")]'
34-
})
3531
.waitForElementPresent({
3632
locateStrategy: 'xpath',
3733
selector: "//*[@data-id='remix-ai-streaming' and @data-streaming='false']",

0 commit comments

Comments
 (0)