File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Expand file tree Collapse file tree 3 files changed +5
-12
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 ( 'remixaiassistanthoihoih ' )
27
+ . clickLaunchIcon ( 'remixaiassistant ' )
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 @@ -20,7 +20,7 @@ module.exports = {
20
20
browser
21
21
. addFile ( 'Untitled.sol' , sources [ 0 ] [ 'Untitled.sol' ] )
22
22
} ,
23
- 'Deploy Ballot #flaky # group1 #pr ' : function ( browser : NightwatchBrowser ) {
23
+ 'Deploy Ballot #group1' : function ( browser : NightwatchBrowser ) {
24
24
browser
25
25
. waitForElementVisible ( '*[data-id="remixIdeIconPanel"]' , 10000 )
26
26
. clickLaunchIcon ( 'solidity' )
Original file line number Diff line number Diff line change @@ -17,18 +17,11 @@ sleep 5
17
17
node apps/remix-ide/ci/splice_tests.js $2 $3
18
18
TESTFILES=$( node apps/remix-ide/ci/splice_tests.js $2 $3 | grep -v ' metamask' | circleci tests split --split-by=timings)
19
19
for TESTFILE in $TESTFILES ; do
20
- if ! npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 ; then
21
- TEST_EXITCODE=1
22
- break
23
- fi
20
+ npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 || npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch-${1} .js dist/apps/remix-ide-e2e/src/tests/${TESTFILE} .js --env=$1 || TEST_EXITCODE=1
24
21
done
25
22
26
23
echo " $TEST_EXITCODE "
27
- # Fail the test early and cancel the workflow
28
- if [ " $TEST_EXITCODE " -eq 1 ]; then
29
- echo " ❌ Test failed. Attempting to cancel the workflow..."
30
- curl -s -X POST " https://circleci.com/api/v2/workflow/${CIRCLE_WORKFLOW_ID} /cancel" \
31
- -H " Circle-Token: $CIRCLECI_TOKEN " \
32
- -H " Content-Type: application/json"
24
+ if [ " $TEST_EXITCODE " -eq 1 ]
25
+ then
33
26
exit 1
34
27
fi
You can’t perform that action at this time.
0 commit comments