-
-
Notifications
You must be signed in to change notification settings - Fork 742
Add documentation changes for check-tests #2502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vorobeyko
added a commit
that referenced
this pull request
Aug 20, 2020
* updated docs * release 2.6.5 * Fix valid data output (w3) (#2399) * add alt for image UI page (fix w3 validator) (#2403) * docs: fix typo in commands.md (#2405) * remove unnecessary select placeholder from basics.md (#2407) * fix display combination in changelog (#2409) * add description to images (#2412) * Fix android native locator support for appium helper (#2429) * Update mobile.md * Fix android native locator support for appium helper * update the expected result for windows platform especially the absolute path case because in windows, path.resolve returns driver letter * chore: jsdoc color param optional in `I.say` (#2443) * update github links after repository migration (#2447) * Fixed waitNumberOfVisibleElements for Webdriver (#2418) * fix waitNumberOfVisibleElements waitNumberOfVisibleElements returns false everytime as it does not filter the visible element count * fix waitNumberOfVisibleElements waitNumberOfVisibleElements returns false everytime as it does not filter for visible elements * Issue 2434 (handle .indexOf error) (#2436) * Makes suggested changes to have Chromium install * fixes #2434 * fix playwright too Co-authored-by: George Griffiths <george.griffiths@ibm.com> * Puppeteer handle page error (#2435) * Makes suggested changes to have Chromium install * handle page crash * handle undefined page * dont open new tab on crash * remove old try catch Co-authored-by: George Griffiths <george.griffiths@ibm.com> * Feat: Skip feature (#2427) * Makes suggested changes to have Chromium install * feat: implement skip of features * Add unit tests, docs and type defs * Apply suggestions from code review Co-authored-by: George Griffiths <george.griffiths@ibm.com> Co-authored-by: Michael Bodnarchuk <DavertMik@users.noreply.github.com> * Release 2.6.6 (#2450) * updated docs * fixed tests & updated linter * updated changelog * fixed mocks * Honor reporter configuration in mocha (#2465) * Update compilerOptions.target to es2017 (#2484) This resolves (#2483), since async and await are no long transpiled to ES generators * Fix playwright set cookie (#2491) * Fix setCookie for Playwright helper * fix lint issue Co-authored-by: Ben Barker <benbarker@workfront.com> * Add documentation changes for check-tests (#2502) * fix markdown video links (#2489) * Update pageobjects.md (#2497) * update plugins page "h" tags for more readable (#2501) * Fix typo in locators docs section (#2503) * Right click issue fix for Webdriver (#2485) * Right click issue fix for Webdriver * moveTo added in rightclick * Native Click used to perform rightclick operation * Added `forceRightClick` method to emulate rightclick event instead of using native events. * Add --invert option for run-workers command (#2504) * add missing REST helper (#2474) * Release 2.6.7 (#2506) * Prepare release-2.6.7 * Apply ESLint fixes. * updated playwright workflow to use official action Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com> Co-authored-by: Davert <davert.ua@gmail.com> * slight updates to changelog * added forceRightClick method * Fix missing screenshots on failure when REST helper is in use (#2513) * Improve error logging (#2512) * getPageTimeout: 30000, (#2516) fix(page-timeouts): method amOnPage freezing, when equal 0. * update to relevant path & some fix (#2515) * Update init.js (#2520) * element screenshot method added (#2521) * Rearranged typeof check to handle null parameter (#2494) * Rearranged typeof check to handle null parameter Error: Cannot read property 'toString' of null typeError: Cannot read property 'toString' of null at G:\CodeceptJS-Test\node_modules\codeceptjs\lib\step.js:115:22 Solution: Rearranged typeof check to handle crash when helper method is called with null parameter. * Update step.js * Update step.js * Prepare 2.6.8 release. (#2514) * Prepare 2.6.8 release. * Prepare 2.6.8 release. Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com> * Fix generate:helper command (#2523) * Release 2.6.8 (#2522) * added docs * added type method * fixed steps test * fixed tests & types * fixed tests & types * fixed tests for type * added type to Protractor * fixed typing via Protractor * removed protractor type * removed protractor type * fixed tests * fixed tests * fixed tests * updated release paths * feat(helper): Clear SessinStorage (#2524) * Fix broken URLs (#2528) * update readme file urls (#2534) * update docs md to relevant path (#2530) * Preserve initial error stack when helper load fail (#2541) * Release 2.6.9 (#2545) * fixed tests Co-authored-by: Davert <davert.ua@gmail.com> Co-authored-by: Mykhailo Bodnarchuk <mykhailo.bodnarchuk@Mykhailos-MacBook-Pro.local> Co-authored-by: Ihor Sychevskyi <26163841+Arhell@users.noreply.github.com> Co-authored-by: Aleksei Gurianov <gurianov@gmail.com> Co-authored-by: Tanakiat Srisaranyakul <tanakiats@hotmail.com> Co-authored-by: Bartosz Wojtkowiak <bartosz@wojtkowiak.it> Co-authored-by: Vijay Venkatesh <ilangovan.vijay@gmail.com> Co-authored-by: George Griffiths <georgegriffiths@live.com> Co-authored-by: George Griffiths <george.griffiths@ibm.com> Co-authored-by: Michael Bodnarchuk <DavertMik@users.noreply.github.com> Co-authored-by: Trinh Pham <9128061+trinhpham@users.noreply.github.com> Co-authored-by: Shan <shanplourde@gmail.com> Co-authored-by: Ben Barker <barker.ben.m@gmail.com> Co-authored-by: Ben Barker <benbarker@workfront.com> Co-authored-by: Koushik Mohan <koushikmohan1996@gmail.com> Co-authored-by: Jesus Vilar <jesus.vilar@gmail.com> Co-authored-by: Marcin Słowiak <marcin.slowiak.007@gmail.com> Co-authored-by: suniljaiswal01 <45997477+suniljaiswal01@users.noreply.github.com> Co-authored-by: Paul <pbeigang@gmail.com> Co-authored-by: Peter Nguyen Tr <peter.nguyentr@gmail.com> Co-authored-by: Paul Vincent Beigang <paul.beigang@digistore24.com> Co-authored-by: Sitam Jana <43989292+sjana-aj@users.noreply.github.com> Co-authored-by: Leonardo Bazico <leonardobazico@gmail.com> Co-authored-by: Igor Strebezhev <xamgore@users.noreply.github.com> Co-authored-by: Michail Shipov <mshipov@yandex.ru>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation/Description of the PR
This will create test documents in wiki page like this https://github.com/testomatio/check-tests/wiki/Tests. Test doc generated for codeceptJS is attached to this PR
Type of change
Doc generated for this project
📝 test/graphql/GraphQL_test.js
should send a query: read
should send a mutation: create
should send a mutation: delete
📝 test/graphql/GraphQLDataFactory_test.js
should create a new user
should create a new user with predefined field
should update request with onRequest
should cleanup created data
should create multiple users and cleanup after
should not remove records if cleanup:false
📝 test/helper/Appium_test.js
should grab all available contexts for screen
should grab current context
should grab current activity of app
should grab network connection settings
should grab orientation
should grab custom settings
should remove App and install it again
should assert when app is/is not installed
should return .HomeScreenActivity for default screen
should assert for wrong screen
should return correct status about lock @second
should return correct status about lock
should set device orientation
should switch context
should switch to native and web contexts @quick
should switch activity
should set Network Connection (airplane mode on)
should set custom settings
should hide device Keyboard @quick
should assert if no keyboard
should react on pressing keycode
should react on notification opening
should react on touch actions
should react on swipe action
should react on swipeDown action
run simplified swipeDown @quick
should react on swipeUp action
should react on swipeRight action
should react on swipeLeft action
should react on touchPerform action
should assert when you dont scroll the document anymore
should react on swipeTo action
should react on swipeUp action @second
should react on swipeDown action @second
should react on swipeLeft action
should react on swipeRight action
should pull file to local machine
should work inside elements @second
should work inside web view as normally @quick
should be able to send special keys to element @second
should check for text to be in HTML source
should return error if not present
@second
should return 1 as count
should check visible elements on page @quick
@quick
should click by accessibility id
should click by xpath
@second
should fill field by accessibility id
should fill field by xpath
should append field value @second
should clear a given element
should grab text from page
should grab attribute from element
should create a screenshot file in output dir
should use Android locators
should execute only on Android @quick
should execute only on Android >= 5.0 @quick
should execute only in Web
📝 test/helper/AppiumWeb_test.js
should check for url fragment
should check for equality
should check text on site
should check text inside element
should check visible elements on page
should click by text
should click by css
should click by non-optimal css
should click by xpath
should click on context
should click link with inner span
should click buttons as links
should grab text from page
should grab value from field
should grab attribute from element
should work using within operator
📝 test/helper/Nightmare_test.js
should open main page of configured site
should open any page of configured site
should open absolute url
should open same page twice without error
should wait for function returns true
should pass arguments and wait for function returns true
should trigger hover event
should reinject scripts after navigating to new page
should fail when text is not on site
should fail when clickable element not found
should fail when text on site
should fail when test is not in context
should use locate to check element
should set initial window size
should resize window to specific dimensions
should refresh the current page
should return 1 as count
📝 test/helper/Playwright_test.js
should open main page of configured site
should open any page of configured site
should open absolute url
should return data from performance timing
should wait for function returns true
should pass arguments and wait for function returns true
should wait for hidden element
should wait for hidden element by XPath
should wait for a specified number of elements on the page
should wait for a specified number of elements on the page using a css selector
should wait for a specified number of elements which are not yet attached to the DOM
should trigger hover event
should not trigger hover event because of the offset is beyond the element
should only have 1 tab open when the browser starts and navigates to the first page
should switch to next tab
should assert when there is no ability to switch to next tab
should close current tab
should close other tabs
should open new tab
should switch to previous tab
should assert when there is no ability to switch to previous tab
should accept popup window
should accept popup window (using default popup action type)
should cancel popup
should check text in popup
should grab text from popup
should return null if no popup is visible (do not throw an error)
should return 1 as count
should switch reference to iframe content
should return error if iframe selector is invalid
should return error if iframe selector is not iframe
should return to parent frame given a null locator
should check for text to be in HTML source
should grab the source
should check that title is equal to provided one
should check text is equal to provided one
should locate a button to click
should not locate a non-existing checkbox using _locateClickable
should locate a checkbox
should locate a field
should not locate a non-existing field
should throw error if field is not empty
should check values in checkboxes
should check values with boolean
should check values in radio
should check values in select
should check for empty select field
should check for select multiple field
should be able to send special keys to element
should use modifier key based on operating system
should show correct numpad or punctuation key when Shift modifier is active
should wait for input text field to be enabled
should wait for input text field to be enabled by xpath
should wait for a button to be enabled
should wait for expected value for given locator
should wait for expected value for given css locator
should wait for expected value for given xpath locator
should only wait for one of the matching elements to contain the value given xpath locator
should only wait for one of the matching elements to contain the value given css locator
should grab inner html from an element using xpath query
should grab inner html from an element using id query
should grab inner html from multiple elements
should grab inner html from within an iframe
should grab browser logs
Drag item from source to target (no iframe) @dragNdrop
Drag and drop from within an iframe
should switch to frame using name
should switch to root frame
should switch to frame using frame number
should drag scrubber to given position
should uncheck option that is currently checked
should NOT uncheck option that is NOT currently checked
should get the element bounding rectangle
should get the element width
should get the element height
should dowload file
should throw an exception when endpoint is unreachable
should manage pages in remote browser
should be authenticated
should open page as iPhone
📝 test/helper/Protractor_test.js
should open main page of configured site
should open absolute url
should check for url fragment
should check for equality
should check text on site
should check text inside element
should check visible elements on page
should click by text
should click by css
should click by non-optimal css
should click by xpath
should click on context
should click link with inner span
should click buttons as links
should check option by css
should check option by strict locator
should check option by name
should check option by label
should select option by css
should select option by label
should select option by label and value
should select option in grouped select
should fill input by label
should fill textarea by label
should fill field by placeholder
should fill field by css
should fill field by model
should fill field by name
should fill textarea by name
should fill textarea by css
should fill textarea by model
should append value to field
should check for empty field
should throw error if field is not empty
should check field equals
should check values in select
should check checkbox is checked :)
should grab text from page
should grab value from field
should grab value from select
should grab attribute from element
should check page title
should grab page title
should check that title is equal to provided one
should check text is equal to provided one
should create a screenshot file in output dir
should create full page a screenshot file in output dir
should only have 1 tab open when the browser starts and navigates to the first page
should switch to next tab
should assert when there is no ability to switch to next tab
should assert when there is no ability to switch to previous tab
should close current tab
should close other tabs
should open new tab
should switch to previous tab
should do all cookie stuff
should check for text to be in HTML source
should grab the source
should change the active window size
should work outside angular app
should switch between applications
wait for element
should wait for text
should wait for text in context
should return error if not present
should return error if waiting is too small
should return 1 as count
📝 test/helper/ProtractorWeb_test.js
should set initial window size
should resize window to specific dimensions
should open main page of configured site
should open any page of configured site
should open absolute url
should be able to send special keys to element
should fail when text is not on site
should fail when text on site
should fail when test is not in context
should wait for element to appear
should wait for clickable element appear
should wait for clickable context to appear
should wait for text context to appear
should switch to frame using name
should switch to root frame
should switch to frame using frame number
should wait for function returns true
should pass arguments and wait for function returns true
should wait for a specified number of elements on the page
should wait for a specified number of elements on the page using a css selector
should wait for a specified number of elements which are not yet attached to the DOM
should wait for input text field to be enabled
should wait for input text field to be enabled by xpath
should wait for a button to be enabled
should wait for expected value for given locator
should wait for expected value for given css locator
should wait for expected value for given xpath locator
should only wait for one of the matching elements to contain the value given xpath locator
should only wait for one of the matching elements to contain the value given css locator
should grab inner html from an element using xpath query
should grab inner html from an element using id query
should grab inner html from multiple elements
should accept popup window
should cancel popup
should check text in popup
should grab text from popup
should return null if no popup is visible (do not throw an error)
should grab browser logs
should grab browser logs across pages
Drag item from source to target (no iframe) @dragNdrop
Drag and drop from within an iframe
should locate a button to click
should not locate a non-existing checkbox using _locateClickable
should locate a checkbox
should not locate a non-existing checkbox
should locate a field
should not locate a non-existing field
📝 test/helper/Puppeteer_test.js
should be authenticated
should be authenticated on second run
should not fail for localStorage.clear() on about:blank
should open main page of configured site
should open any page of configured site
should open absolute url
should be unauthenticated
should return data from performance timing
should wait for function returns true
should pass arguments and wait for function returns true
should wait for hidden element
should wait for hidden element by XPath
should wait for a specified number of elements on the page
should wait for a specified number of elements on the page using a css selector
should wait for a specified number of elements which are not yet attached to the DOM
should trigger hover event
should not trigger hover event because of the offset is beyond the element
should only have 1 tab open when the browser starts and navigates to the first page
should switch to next tab
should assert when there is no ability to switch to next tab
should close current tab
should close other tabs
should open new tab
should switch to previous tab
should assert when there is no ability to switch to previous tab
should accept popup window
should accept popup window (using default popup action type)
should cancel popup
should check text in popup
should grab text from popup
should return null if no popup is visible (do not throw an error)
should return 1 as count
should switch reference to iframe content
should return error if iframe selector is invalid
should return error if iframe selector is not iframe
should return to parent frame given a null locator
should check for text to be in HTML source
should grab the source
should check that title is equal to provided one
should check text is equal to provided one
should locate a button to click
should not locate a non-existing checkbox using _locateClickable
should locate a checkbox
should locate a field
should not locate a non-existing field
should throw error if field is not empty
should check values in checkboxes
should check values with boolean
should check values in radio
should check values in select
should check for empty select field
should check for select multiple field
should be able to send special keys to element
should use modifier key based on operating system
should show correct numpad or punctuation key when Shift modifier is active
should show correct number key when Shift modifier is active
should wait for input text field to be enabled
should wait for input text field to be enabled by xpath
should wait for a button to be enabled
should wait for text after load body
should wait for expected value for given locator
should wait for expected value for given css locator
should wait for expected value for given xpath locator
should only wait for one of the matching elements to contain the value given xpath locator
should only wait for one of the matching elements to contain the value given css locator
should grab inner html from an element using xpath query
should grab inner html from an element using id query
should grab inner html from multiple elements
should grab inner html from within an iframe
should grab browser logs
should grab browser logs across pages
Drag item from source to target (no iframe) @dragNdrop
Drag and drop from within an iframe
should switch to frame using name
should switch to root frame
should switch to frame using frame number
should drag scrubber to given position
should uncheck option that is currently checked
should NOT uncheck option that is NOT currently checked
should get the element bounding rectangle
should get the element width
should get the element height
should dowload file
should wait for clickable
should wait for clickable by XPath
should fail for disabled element
should fail for disabled element by XPath
should fail for element not in viewport by top
should fail for element not in viewport by bottom
should fail for element not in viewport by left
should fail for element not in viewport by right
should fail for overlapping element
should pass if element change class
should fail if element change class and not clickable
should throw an exception when endpoint is unreachable
should clear any prior existing pages on remote browser
📝 test/helper/TestCafe_test.js
should open main page of configured site
should open any page of configured site
should open absolute url
should wait for function returns true
should pass arguments and wait for function returns true
📝 test/helper/WebDriver_test.js
should open main page of configured site
should open any page of configured site
should open absolute url
should fail when text is not on site
should throw error if field is not empty
should check values in checkboxes
should check values with boolean
should check values in radio
should check values in select
should check for empty select field
should check for select multiple field
should return error when element has no value attribute
should be able to send special keys to element
should use modifier key based on operating system
should show correct numpad or punctuation key when Shift modifier is active
should show correct number key when Shift modifier is active
should type into a field
should check for text to be in HTML source
should grab the source
should grab the innerHTML for an element
should check that title is equal to provided one
should check text is equal to provided one
should check text is not equal to empty string of element text
should wait for function returns true
should pass arguments and wait for function returns true
should wait for input text field to be enabled
should wait for input text field to be enabled by xpath
should wait for a button to be enabled
should wait for expected value for given locator
should wait for expected value for given css locator
should wait for expected value for given xpath locator
should only wait for one of the matching elements to contain the value given xpath locator
should only wait for one of the matching elements to contain the value given css locator
should wait for a specified number of elements on the page
should be no [object Object] in the error message
should wait for a specified number of elements on the page using a css selector
should wait for a specified number of elements which are not yet attached to the DOM
should be no [object Object] in the error message
should be no [object Object] in the error message
should wait for a specified element to be invisible
should trigger hover event
should not trigger hover event because of the offset is beyond the element
should only have 1 tab open when the browser starts and navigates to the first page
should switch to next tab
should assert when there is no ability to switch to next tab
should close current tab
should close other tabs
should open new tab
should switch to previous tab
should assert when there is no ability to switch to previous tab
should accept popup window
should cancel popup
should check text in popup
should grab text from popup
should return null if no popup is visible (do not throw an error)
should return error if not present
should return error if waiting is too small
should return 1 as count
should switch reference to iframe content
should return error if iframe selector is invalid
should return error if iframe selector is not iframe
should return to parent frame given a null locator
should click on inner text
should click on input in inner element
should click by accessibility_id
should set initial window size
should set window size on new session
should resize window to specific dimensions
should resize window to maximum screen dimensionsshould wait for element to appear
should wait for clickable element appear
should wait for clickable context to appear
should wait for text context to appear
should work with grabbers
should locate a button to click
should not locate a non-existing checkbox
should locate a checkbox
should not locate a non-existing checkbox
should locate a field
should not locate a non-existing field
should grab browser logs
should grab browser logs across pages
Drag item from source to target (no iframe) @dragNdrop
Drag and drop from within an iframe
should switch to frame using name
should switch to root frame
should switch to frame using frame number
should attach to regular input element
should attach to invisible input element
should drag scrubber to given position
should uncheck option that is currently checked
should NOT uncheck option that is NOT currently checked
should open main page of configured site, open a popup, switch to main page, then switch to popup, close popup, and go back to main page
should wait for clickable
should wait for clickable by XPath
should fail for disabled element
should fail for disabled element by XPath
should fail for element not in viewport by top
should fail for element not in viewport by bottom
should fail for element not in viewport by left
should fail for element not in viewport by right
should fail for overlapping element
should set the geoLocation
should get the element size
should get the element width
should get the element height
should scroll element into viewport
should be authenticated
📝 test/helper/WebDriverIO_test.js
should open main page of configured site
should open any page of configured site
should open absolute url
should fail when text is not on site
should throw error if field is not empty
should check values in checkboxes
should check values with boolean
should check values in radio
should check values in select
should check for empty select field
should check for select multiple field
should be able to send special keys to element
should wait for clickable
should wait for clickable by XPath
should fail for disabled element
should fail for disabled element by XPath
should fail for element not in viewport by top
should fail for element not in viewport by bottom
should fail for element not in viewport by left
should fail for element not in viewport by right
should fail for overlapping element
should pass if element change class
should fail if element change class and not clickable
should check for text to be in HTML source
should grab the source
should check that title is equal to provided one
should check text is equal to provided one
should wait for function returns true
should pass arguments and wait for function returns true
should wait for input text field to be enabled
should wait for input text field to be enabled by xpath
should wait for a button to be enabled
should wait for expected value for given locator
should wait for expected value for given css locator
should wait for expected value for given xpath locator
should only wait for one of the matching elements to contain the value given xpath locator
should only wait for one of the matching elements to contain the value given css locator
should wait for a specified number of elements on the page
should be no [object Object] in the error message
should wait for a specified number of elements on the page using a css selector
should wait for a specified number of elements which are not yet attached to the DOM
should be no [object Object] in the error message
should wait for a specified element to be visible
should be no [object Object] in the error message
should wait for a specified element to be invisible
should trigger hover event
should not trigger hover event because of the offset is beyond the element
should only have 1 tab open when the browser starts and navigates to the first page
should switch to next tab
should assert when there is no ability to switch to next tab
should close current tab
should close other tabs
should open new tab
should switch to previous tab
should assert when there is no ability to switch to previous tab
should accept popup window
should cancel popup
should check text in popup
should grab text from popup
should return null if no popup is visible (do not throw an error)
should return error if not present
should return error if waiting is too small
should return 1 as count
should switch reference to iframe content
should return error if iframe selector is invalid
should return error if iframe selector is not iframe
should return to parent frame given a null locator
should click on inner text
should click on input in inner element
should click by aria-label
should click by title
should click by aria-labelledby
should click by accessibility_id
should set initial window size
should resize window to specific dimensions
should resize window to maximum screen dimensions
should wait for element to appear
should wait for clickable element appear
should wait for clickable context to appear
should wait for text context to appear
should work with grabbers
should locate a button to click
should not locate a non-existing checkbox
should locate a checkbox
should not locate a non-existing checkbox
should locate a field
should not locate a non-existing field
should grab browser logs
should grab browser logs across pages
Drag item from source to target (no iframe) @dragNdrop
Drag and drop from within an iframe
should switch to frame using name
should switch to root frame
should switch to frame using frame number
📝 test/rest/ApiDataFactory_test.js
should create a new post
should create a new post with predefined field
should obtain id by function
should update request with onRequest
can use functions to set factories
should cleanup created data
should create multiple posts and cleanup after
should create with different api
should not remove records if cleanup:false
should send default headers
📝 test/rest/REST_test.js
should send GET requests
should send PATCH requests: payload format = json
should send PATCH requests: payload format = form urlencoded
should send POST requests: payload format = json
should send POST requests: payload format = form urlencoded
should send PUT requests: payload format = json
should send PUT requests: payload format = form urlencoded
should send DELETE requests
should update request with onRequest
should set timeout for the request
should send request headers
should set request headers
should set Content-Type header if data is string and Content-Type is omitted
should respect any passsed in Content-Type header
should not prepend base url, when url is absolute
should prepend base url, when url is not absolute
should prepend base url, when url is not absolute, and "http" in request
📝 test/runner/allure_test.js
should enable allure reports
should create xml file when assert message has ansi symbols
should report skipped features
should report BeforeSuite errors when executing via run command
should report BeforeSuite errors when executing via run-workers command
📝 test/runner/bdd_test.js
should run feature files
should print substeps in debug mode
should print events in verbose mode
should obfuscate secret substeps in debug mode
should run feature with examples files
should run feature with table and examples files
should run feature with tables
should run feature with long strings
should run feature by file name
should run feature by scenario name
should run feature by tag name
should run scenario by tag name
should run scenario outline by tag
should run scenario and scenario outline by tags
should show all available steps
should generate snippets for missing steps
should not generate duplicated steps
📝 test/runner/before_failure_test.js
should skip tests that are skipped because of failure in before hook
should skip tests correctly with grep options
should trigger skipped events
📝 test/runner/bootstrap_test.js
should run bootstrap
should run teardown
should run async bootstrap
should run bootstrap/teardown as object
should run async bootstrap function without args
should run async bootstrap function with args
should fail with code 1 when test failed and async bootstrap function without args
should fail with code 1 when test failed and async bootstrap function with args
should fail with code 1 when async bootstrap function without args failed
should fail with code 1 when async bootstrap function with args failed
should fail with code 1 when raise exceptin in the test file and async bootstrap function with args
should fail with code 1 when raise exceptin in the test file and async bootstrap function without args
should run async bootstrap/teardown with args
should run async bootstrap/teardown without args
should fail with code 1 when test failed and async bootstrap/teardown function with args
should fail with code 1 when test failed and async bootstrap/teardown function without args
should fail with code 1 when async bootstrap with args failed and not call teardown
should fail with code 1 when async bootstrap without args failed and not call teardown
📝 test/runner/codecept_test.js
should be executed in current dir
should be executed with glob
should be executed with config path
should show failures and exit with 1 on fail
filter by scenario tags
filter by scenario tags #2
filter by feature tags
should filter by scenario tags
should filter by scenario tags #2
should filter by feature tags
should filter by scenario tags
should filter by scenario tags #2
should filter by feature tags
should filter by feature tags
should run hooks
should run hooks from suites
should run hooks from suites (in different order)
should run different types of scenario
should run dynamic config
should run dynamic config with profile
should run dynamic config with profile 2
should be executed with module when described
should be executed with several modules when described
should not be executed without module when not described
should fire events with only passing tests
should fire events with passing and failing tests
📝 test/runner/comment_step_test.js
should print nested steps when global var comments used
should print nested steps when local var comments used
📝 test/runner/definitions_test.js
should have internal object that is available as variable codeceptjs
def should create definition file
def should create definition file with correct page def
def should create definition file given a config file
def should create definition file with support object
def should create definition file with inject which contains support objects
def should create definition file with inject which contains I object
def should create definition file with inject which contains I object from helpers
def should create definition file with callback params
📝 test/runner/dry_run_test.js
should be executed with config path
should list all tests
should not run actual steps
should not run helper hooks
should display meta steps and substeps
should run feature files
should print substeps in debug mode
should run tests with different data
should display meta steps and substeps
should work with inject() keyword
should inject page objects via proxy
📝 test/runner/interface_test.js
should rerun flaky tests
should rerun retried steps
should not propagate retries to non retried steps
should use retryFailedStep plugin for failed steps
should not retry wait* steps in retryFailedStep plugin
should not retry steps if retryFailedStep plugin disabled
should include grep option tests
should run tests with different data
should run all tests with data of array by only
should run all tests with data of generator by only
should execute expected promise chain
should display meta steps and substeps
should work with inject() keyword
should inject page objects via proxy
📝 test/runner/list_test.js
list should print actions
📝 test/runner/pageobject_test.js
should inject page objects by class
should inject page objects by class which nested base clas
📝 test/runner/run_multiple_test.js
should execute one suite with browser
should execute all suites
should replace parameters
should execute multiple suites
should execute multiple suites with selected browsers
should print steps
should pass grep to configuration
should pass grep invert to configuration
should pass tests to configuration
should run chunks
should run features in parallel
should run features & tests in parallel
should run only tests in parallel
should be executed from async function in config
should be executed from function in config
should be executed from function in file
should be executed from object in file
should be executed with module when described
should be executed with several module when described
should not be executed without module when not described
📝 test/runner/run_rerun_test.js
should display count of attemps
should display 2 success count of attemps
should display error if minSuccess more than maxReruns
should display errors if test is fail always
should display success run if test was fail one time of two attepmts and 3 reruns
📝 test/runner/run_workers_test.js
should run tests in 3 workers
should print positive or zero failures with same name tests
should use grep
should show failures when suite is failing
should print stdout in debug mode and load bootstrap
should run tests with glob pattern
should print empty results with incorrect glob pattern
should retry test
should create output folder with custom name
📝 test/runner/session_test.js
should run with 3 sessions
should run session defined before executing
should run all session tests
📝 test/runner/todo_test.js
should skip test with todo
should skip inject skipinfo to todo test
should correctly pass custom opts for todo test
📝 test/runner/translation_test.js
Should run translated test file
📝 test/runner/within_test.js
should execute if no generators
should execute with async/await. Await is first in order
should execute with async/await. Await is second in order
📝 test/unit/actor_test.js
should take all methods from helpers and built in
should return promise
should produce step events
should retry failed step with #retry
should retry once step with #retry
should print handle failed steps
📝 test/unit/assert_test.js
should handle asserts
should handle negative asserts
📝 test/unit/assert/empty_test.js
should check for something to be empty
should check for something not to be empty
should provide nice assert error message
should provide nice negate error message
📝 test/unit/assert/equal_test.js
should check for equality
should check for something not to be equal
should provide nice assert error message
should provide nice negate error message
📝 test/unit/assert/include_test.js
should check for inclusion
should check !include
should provide nice assert error message
should provide nice negate error message
📝 test/unit/bdd_test.js
should parse gherkin input
should load step definitions
should contain tags
should load step definitions
should allow failed steps
should work with async functions
should execute scenarios step-by-step
should match step with params
should use shortened form for step definitions
should attach before hook for Background
should execute scenario outlines
should provide a parsed DataTable
📝 test/unit/config_test.js
should be created
should be completely reset
can be updated
should use config hooks to enhance configs
📝 test/unit/container_test.js
should create empty translation
should create russian translation
should have translations for context
should return all helper with no args
should return helper by name
should return all support objects
should support object by name
should return all plugins
should get plugin by name
should create container with helpers
should always create I
should load DI and return a reference to the module
should load I from path and execute _init
should load DI includes provided as require paths
should load DI and inject I into PO
should load DI and inject custom I into PO
should load DI includes provided as objects
should load DI includes provided as objects
should be able to add new helper
should be able to add new support object
📝 test/unit/data/dataTableArgument_test.js
should return a 2D array containing each row
should return a 2D array containing each row without the header (first one)
should return an of object where properties is the header
📝 test/unit/data/table_test.js
should take an array for creation
should allow arrays to be added
should not allow an empty array to be added
should not allow an array with more slots than the original to be added
should not allow an array with less slots than the original to be added
should filter an array
should filter an array with skips
📝 test/unit/data/ui_test.js
can add a tag to all scenarios
can add a timout to all scenarios
can add retries to all scenarios
can expect failure for all scenarios
can expect a specific error for all scenarios
can configure a helper for all scenarios
should shows object's toString() method in each scenario's name if the toString() method is overrided
should shows JSON.stringify() in each scenario's name if the toString() method isn't overrided
📝 test/unit/helper/element_not_found_test.js
should throw error
should provide default message
should use prefix for message
should use postfix for message
should stringify locator object
📝 test/unit/helper/FileSystem_test.js
should be initialized before tests
should open dirs
should see file
should check file contents
📝 test/unit/locator_test.js
should create css locator
should create xpath locator
should create fuzzy locator
should create described custom default type locator
should create id locator
should create described custom locator
should create id locator
should transform CSS to xpath
should build locator to match element by attr
should build locator to match element by text
should build locator to match element by position
should build complex locator
should select a by label
should select child element by name
should select element by siblings
should throw an error when xpath with round brackets is nested
should throw an error when locator with specific position is nested
should not select element by deep nested siblings
should select element by siblings
should translate locator to string
should be able to add custom locator strategy
should be able to add custom locator strategy
📝 test/unit/output_test.js
should allow the output level to be set
should allow the process to be set
should allow debug messages when output level >= 2
📝 test/unit/parser_test.js
should get params for normal function
should get params for async function
📝 test/unit/plugin/customLocator_test.js
add a custom locator by $ -> data-qa
add a custom locator by = -> data-test-id
add a custom locator with multple char prefix = -> data-test-id
add a custom locator with CSS
📝 test/unit/plugin/retryFailedStep_test.js
should retry failed step
should not retry within
should not retry steps with wait*
should not retry steps with amOnPage
should add custom steps to ignore
should not retry session
📝 test/unit/plugin/screenshotOnFail_test.js
should exclude the data driven in failed screenshot file name
should create screenshot on fail
should create screenshot with unique name
should create screenshot with unique name when uuid is null
📝 test/unit/recorder_test.js
should create a promise
should execute error handler on error
can be started saving previous promise chain
should add steps to promise
should not add steps when stopped
should retry failed steps when asked
should create a chain of retries
📝 test/unit/scenario_test.js
should wrap test function
should work with async func
should fire events
should fire failed event on error
should fire failed event on async error
📝 test/unit/steps_test.js
has name
should convert method names for output
should convert arguments for output
should provide nice output
should provide code output
should run step
📝 test/unit/ui_test.js
Feature should return featureConfig
should contain title
should contain tags
retries can be set
timeout can be set
helpers can be configured
Feature can be skipped
Feature can be skipped via xFeature
Feature are not skipped by default
Scenario should return scenarioConfig
should contain title
should contain tags
should dynamically inject dependencies
should inject skipInfo to opts
should contain empty description in skipInfo and empty body
should inject custom opts to opts and without callback
should inject custom opts to opts and with callback
📝 test/unit/utils_test.js
exists
not exists
fn#1
fn#2
should handle single-param arrow functions with omitted parens
should handle trailing comma
should get methods
should capitalize first letter
should beautify JS code
combines xpaths
converts string to xpath literal
returns updated object
do not replace unexisting value
replace simple value
replace simple falsy value
replace value in array of objects
replace simple value deep in object
replace object value
should normalize key (alias) to key attribute value
should normalize modifier key based on operating system
returns the joined filename for filename only
returns the given filename for absolute one