From c15c21ba728644e42ab321bb1250a7c096f41408 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Fri, 24 Apr 2020 16:01:36 +0200 Subject: [PATCH] removed parentheses from tests --- test-browser/tests/solidityUnittests.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test-browser/tests/solidityUnittests.js b/test-browser/tests/solidityUnittests.js index c52c73b847..35130d99f3 100644 --- a/test-browser/tests/solidityUnittests.js +++ b/test-browser/tests/solidityUnittests.js @@ -46,9 +46,9 @@ module.exports = { .scrollAndClick('*[data-id="testTabRunTestsTabRunAction"]') .pause(15000) .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'browser/simple_storage_test.sol (MyTest)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ (Initial value should be100)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ (Value is set200)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ (Should fail for wrong value200)') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ Initial value should be100') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ Value is set200') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ Should fail for wrong value200') .assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', '1 failing') .assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', '2 passing') }, @@ -64,11 +64,11 @@ module.exports = { .scrollAndClick('*[data-id="testTabRunTestsTabRunAction"]') .pause(20000) .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', 'browser/ks2b_test.sol (kickstarterTest)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ (Check project exists)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ (Check wrong project owner)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ (Check wrong sender)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ (Check wrong value)') - .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ (Check project is fundable)') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ Check project exists') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ Check wrong project owner') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ Check wrong sender') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✘ Check wrong value') + .assert.containsText('*[data-id="testTabSolidityUnitTestsOutput"]', '✓ Check project is fundable') .assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', 'owner is incorrect') .assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', 'wrong sender') .assert.containsText('*[data-id="testTabSolidityUnitTestsSummary"]', 'wrong value') @@ -133,8 +133,8 @@ function runTests (browser) { .waitForElementPresent('#solidityUnittestsOutput div[class^="testPass"]') .pause(10000) .assert.containsText('#solidityUnittestsOutput', 'browser/4_Ballot_test.sol (BallotTest)') - .assert.containsText('#solidityUnittestsOutput', '✓ (Check winning proposal)') - .assert.containsText('#solidityUnittestsOutput', '✓ (Check winnin proposal with return value)') + .assert.containsText('#solidityUnittestsOutput', '✓ Check winning proposal') + .assert.containsText('#solidityUnittestsOutput', '✓ Check winnin proposal with return value') .end() }