File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ module.exports = {
24
24
// Conversation starter button with data id 'explain-editor' doesn't exist anymore
25
25
'Should explain the contract #group1' : function ( browser : NightwatchBrowser ) {
26
26
browser
27
- . clickLaunchIcon ( 'remixaiassistant ' )
27
+ . clickLaunchIcon ( 'remixaiassistanthoihoih ' )
28
28
. waitForElementVisible ( '*[data-id="remix-ai-assistant-starter-0"]' )
29
29
. click ( '*[data-id="remix-ai-assistant-starter-0"]' )
30
30
. waitForElementVisible ( '*[data-id="remix-ai-assistant"]' )
Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ for TESTFILE in $TESTFILES; do
21
21
done
22
22
23
23
echo " $TEST_EXITCODE "
24
- if [ " $TEST_EXITCODE " -eq 1 ]
25
- then
24
+ # Fail the test early and cancel the workflow
25
+ if [ " $TEST_EXITCODE " -eq 1 ]; then
26
+ echo " ❌ Test failed. Attempting to cancel the workflow..."
27
+ curl -s -X POST " https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID} /cancel" \
28
+ -H " Circle-Token: $CIRCLECI_TOKEN " \
29
+ -H " Content-Type: application/json"
26
30
exit 1
27
31
fi
Original file line number Diff line number Diff line change 4362
4362
"hash" : " b99ed2d6b005cdaeffe543b9f95b0c1ccafee7f3"
4363
4363
},
4364
4364
{
4365
- "file" : " apps/remix-ide/ci/singletest" ,
4365
+ "file" : " apps/remix-ide/ci/singletest.sh " ,
4366
4366
"hash" : " 15fefe4c3eae0f283031043bc3c491679e23cf39"
4367
4367
},
4368
4368
{
You can’t perform that action at this time.
0 commit comments