Skip to content

[$40] Automated Smoke Testing Fix Test Cases TC_007, TC_008, TC_013, TC_014 #5451

@luizrrodrigues

Description

@luizrrodrigues

1) Topcoder Challenge Listing Page Tests: Before Login Test Cases [TC-007] should verify that the "Filter" button is working correctly

  • This test not valid anymore, filter now is always visible.
  • Just remove this Test Case

2) Topcoder Challenge Listing Page Tests: Before Login Test Cases [TC-008] should verify that the "Filter" option "keywords" is working correctly

  • Filter by tag/skill was removed
  • Now need to use search field

3) Before Login Test Cases [TC_013] should verify whether the user is able to select more than one keyword/Type under the filter function

  • Filter by tag/skill was removed
  • Now need to use search field

Before Login Test Cases [TC_014] should verify whether the cross symbol inside the textbox keyword/Type filters removes the selected keyword/Type

  • Filter by tag/skill was removed
  • Now need to use search field
TimeoutError: Element did not display within timeout.Wait for filter button
    Wait timed out after 15002ms
        at /automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2201:17
        at ManagedPromise.invokeCallback_ (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:1376:14)
        at TaskQueue.execute_ (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:3084:14)
        at TaskQueue.executeNext_ (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:3067:27)
        at asyncRun (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2927:27)
        at /automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:668:7
        at process._tickCallback (internal/process/next_tick.js:68:7)
    From: Task: Element did not display within timeout.Wait for filter button
        at scheduleWait (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2188:20)
        at ControlFlow.wait (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2517:12)
        at Driver.wait (/automated-smoke-test/node_modules/selenium-webdriver/lib/webdriver.js:934:29)
        at run (/automated-smoke-test/node_modules/protractor/built/browser.js:59:33)
        at ProtractorBrowser.to.(anonymous function) [as wait] (/automated-smoke-test/node_modules/protractor/built/browser.js:67:16)
        at Object.<anonymous> (/automated-smoke-test/node_modules/topcoder-testing-lib/src/utils/browser-helper.ts:366:21)
        at step (/automated-smoke-test/node_modules/topcoder-testing-lib/dist/src/utils/browser-helper.js:32:23)
        at Object.next (/automated-smoke-test/node_modules/topcoder-testing-lib/dist/src/utils/browser-helper.js:13:53)
        at /automated-smoke-test/node_modules/topcoder-testing-lib/dist/src/utils/browser-helper.js:7:71
        at new Promise (<anonymous>)
    From: Task: Run it("[TC-008] should verify that the "Filter" option "keywords" is working correctly") in control flow
        at UserContext.<anonymous> (/automated-smoke-test/node_modules/jasminewd2/index.js:94:19)
        at /automated-smoke-test/node_modules/jasminewd2/index.js:64:48
        at ControlFlow.emit (/automated-smoke-test/node_modules/selenium-webdriver/lib/events.js:62:21)
        at ControlFlow.shutdown_ (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2674:10)
        at shutdownTask_.MicroTask (/automated-smoke-test/node_modules/selenium-webdriver/lib/promise.js:2599:53)
    From asynchronous test: 
    Error
        at Suite.<anonymous> (/automated-smoke-test/test-suites/tc-challenge-listing.spec.ts:53:5)
        at Suite.<anonymous> (/automated-smoke-test/test-suites/tc-challenge-listing.spec.ts:21:3)
        at Object.<anonymous> (/automated-smoke-test/test-suites/tc-challenge-listing.spec.ts:9:1)

Send PR to branch circleci-automation-testing

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions