Skip to content

Commit f19e83f

Browse files
committed
reset
1 parent 74b6c29 commit f19e83f

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = {
2424
// Conversation starter button with data id 'explain-editor' doesn't exist anymore
2525
'Should explain the contract #group1': function (browser: NightwatchBrowser) {
2626
browser
27-
.clickLaunchIcon('remixaiassistanthoihoih')
27+
.clickLaunchIcon('remixaiassistant')
2828
.waitForElementVisible('*[data-id="remix-ai-assistant-starter-0"]')
2929
.click('*[data-id="remix-ai-assistant-starter-0"]')
3030
.waitForElementVisible('*[data-id="remix-ai-assistant"]')

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
browser
2121
.addFile('Untitled.sol', sources[0]['Untitled.sol'])
2222
},
23-
'Deploy Ballot #flaky #group1 #pr': function (browser: NightwatchBrowser) {
23+
'Deploy Ballot #group1': function (browser: NightwatchBrowser) {
2424
browser
2525
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
2626
.clickLaunchIcon('solidity')

apps/remix-ide/ci/browser_test.sh

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,11 @@ sleep 5
1717
node apps/remix-ide/ci/splice_tests.js $2 $3
1818
TESTFILES=$(node apps/remix-ide/ci/splice_tests.js $2 $3 | grep -v 'metamask' | circleci tests split --split-by=timings)
1919
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
2421
done
2522

2623
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
3326
exit 1
3427
fi

0 commit comments

Comments
 (0)