Skip to content

Commit ce43b2d

Browse files
authored
Fix UI test failure in ChatQnA (opea-project#2201)
Signed-off-by: WenjiaoYue <[email protected]>
1 parent 96a68e1 commit ce43b2d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

ChatQnA/tests/test_compose_on_gaudi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ function validate_frontend() {
150150
npm install && npm ci && npx playwright install --with-deps
151151
node -v && npm -v && pip list
152152

153+
export no_proxy="localhost,127.0.0.1,$ip_address"
154+
153155
exit_status=0
154156
npx playwright test || exit_status=$?
155157

ChatQnA/tests/test_compose_tgi_on_gaudi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ function validate_frontend() {
189189
npm install && npm ci && npx playwright install --with-deps
190190
node -v && npm -v && pip list
191191

192+
export no_proxy="localhost,127.0.0.1,$ip_address"
193+
192194
exit_status=0
193195
npx playwright test || exit_status=$?
194196

ChatQnA/tests/test_compose_without_rerank_on_gaudi.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ function validate_frontend() {
183183
npm install && npm ci && npx playwright install --with-deps
184184
node -v && npm -v && pip list
185185

186+
export no_proxy="localhost,127.0.0.1,$ip_address"
187+
186188
exit_status=0
187189
npx playwright test || exit_status=$?
188190

0 commit comments

Comments
 (0)