concordialang-codeceptjs-core
TypeScript icon, indicating that this package has built-in type declarations

1.5.2 • Public • Published

Build Status npm version GitHub last commit

concordialang-codeceptjs-core

Core modules of a Concordia Compiler plug-in for CodeceptJS

What's New

Installation

npm i concordialang-codeceptjs-core

Related

Compatibility with Concordia Compiler

Integration with CodeceptJS

Test Events

Concordia declaration CodeceptJS support (method/other)
Before All Manually, through hooks. See hooks.
After All Manually, through hooks. See hooks.
Before Feature BeforeSuite
After Feature AfterSuite
Before Each Scenario Before or Background
After Each Scenario After

Concordia Actions

The following table lists the support to the Concordia Language Actions. The corresponding CodeceptJS commands work with both WebDriverIO and Appium.

Note: A tick (✓) means "checked with a unit test".

Concordia action CodeceptJS command
- _locate
- _locateCheckable
- _locateClickable
- _locateFields
accept + ( alert OR confirm OR popup OR prompt ) acceptPopup ✓
amOn amOnPage ✓
append appendField ✓
attachFile attachFile ✓
cancel + ( alert OR confirm OR popup OR prompt ) cancelPopup ✓
check checkOption ✓
clear + cookie clearCookie ✓
clear clearField ✓
click click ✓
close + app closeApp ✓ (Appium only)
close + currentTab closeCurrentTab ✓
close + otherTabs closeOtherTabs ✓
connect + database N/A - supported via dbhelper
- defineTimeout
disconnect + database N/A - supported via dbhelper
not + see dontSee ✓
not + see + checkbox dontSeeCheckboxIsChecked ✓
not + see + cookie dontSeeCookie ✓
not + see + url dontSeeCurrentUrlEquals ✓
not + see + ( uielement OR uiliteral ) dontSeeElement ✓
- dontSeeElementInDOM
not + see + ( inside OR with ) + url dontSeeInCurrentUrl ✓
not + see + ( textbox OR textarea ) dontSeeInField ✓
- dontSeeInSource
not + see + title dontSeeInTitle ✓
doubleClick doubleClick ✓
drag dragAndDrop ✓
- executeAsyncScript
- executeScript
fill fillField ✓
- grabAttributeFrom
- grabBrowserLogs
- grabCookie
- grabCssPropertyFrom
- grabCurrentUrl
- grabHTMLFrom
- grabNumberOfOpenTabs
- grabNumberOfVisibleElements
- grabPageScrollPosition
- grabPopupText
- grabSource
- grabTextFrom
- grabTitle
- grabValueFrom
hide + keyboard hideDeviceKeyboard ✓ (Appium only)
install + app installApp ✓ (Appium only)
- locator
maximize + window resizeWindow( 'maximize' ) ✓
move + cursor moveCursorTo ✓
mouseOut -
mouseOver -
open + new tab openNewTab
open + notifications openNotifications ✓ (Appium only)
press pressKey ✓
pull + file pullFile ✓ (Appium only)
refresh + currentPage refreshPage ✓
refresh + url
remove + app removeApp ✓ (Appium only)
resize + window resizeWindow ✓
rightClick rightClick ✓
run + command N/A - supported via cmdhelper
run + script N/A - supported via dbhelper
- runInWeb
- runOnAndroid
- runOnIOS
saveScreenshot saveScreenshot ✓
- scrollTo
see see ✓
see + app + installed seeAppIsInstalled ✓ (Appium only)
see + app + installed + not seeAppIsNotInstalled ✓ (Appium only)
see + ( uielement OR uiliteral ) + attribute + value seeAttributesOnElements ✓
see + ( uielement OR uiliteral ) + class + value (same as above)
see + ( uielement OR uiliteral ) + style + value (same as above)
see + checkbox seeCheckboxIsChecked ✓
see + cookie seeCookie ✓
- seeCssPropertiesOnElements
see + currentActivity + value seeCurrentActivityIs ✓ (Appium only)
see + device + locked seeDeviceIsLocked ✓ (Appium only)
see + device + unlocked seeDeviceIsUnlocked ✓ (Appium only)
see + ( with OR inside ) + url seeCurrentUrlEquals ✓
see + ( uielement OR uiliteral ) seeElement ✓
- seeElementInDOM
see + inside + url seeInCurrentUrl ✓
see + ( textbox OR textarea ) seeInField ✓
- seeInPopup
- seeInSource
see + title seeInTitle ✓
- seeNumberOfElements
- seeNumberOfVisibleElements
see + orientation + landscape seeOrientationIs("LANDSCAPE") ✓ (Appium only)
see + orientation + portrait seeOrientationIs("PORTRAIT") ✓ (Appium only)
- seeTextEquals
- seeTitleEquals
select selectOption ✓
- setCookie
shake shakeDevice ✓ (Appium only)
show -
swipe + values swipe ✓ (Appium only)
swipe + down swipeDown ✓ (Appium only)
swipe + left swipeLeft ✓ (Appium only)
swipe + right swipeRight ✓ (Appium only)
swipe + up swipeUp ✓ (Appium only)
swipe + targets swipeTo ✓ (Appium only)
switch + frame switchTo('iframe') ✓
switch + locator switchTo ✓
switch + native switchToNative ✓ (Appium only)
switch + web switchToWeb ✓ (Appium only)
switch + tab + number switchToNextTab ✓
switch + next + tab switchToNextTab ✓
switch + previous + tab switchToPreviousTab ✓
tap tap ✓ (Appium only)
uncheck uncheckOption ✓
wait + number wait ✓
- waitForDetached
wait + uielement waitForElement ✓
wait + enabled + ( uielement OR uiliteral ) waitForEnabled ✓
wait + invisible + ( uielement OR uiliteral ) waitForInvisible ✓
wait + text + value waitForText ✓
wait + option value + value waitForValue ✓
wait + visible + ( uielement OR uiliteral ) waitForVisible ✓
- waitInUrl
- waitNumberOfVisibleElements ✓
wait + hide + ( uielement OR uiliteral ) waitToHide ✓
- waitUntil
wait + url + value waitUrlEquals ✓

License

AGPL © Thiago Delgado Pinto

GNU Affero General Public License version 3

Package Sidebar

Install

npm i concordialang-codeceptjs-core

Weekly Downloads

4

Version

1.5.2

License

AGPL-3.0

Unpacked Size

181 kB

Total Files

32

Last publish

Collaborators

  • thiagodp