1.5.2 • Published 2 years ago

concordialang-codeceptjs-core v1.5.2

Weekly downloads
3
License
AGPL-3.0
Repository
github
Last release
2 years ago

Build Status npm version GitHub last commit

concordialang-codeceptjs-core

Concordia compiler plug-in core for CodeceptJS

This is not a plug-in, but a plug-in core.

Installation

npm i --save concordialang-codeceptjs-core

Documentation

Integration with CodeceptJS

Test Events

Concordia declarationCodeceptJS support (method/other)
Before AllManually, through hooks. See hooks.
After AllManually, through hooks. See hooks.
Before FeatureBeforeSuite
After FeatureAfterSuite
Before Each ScenarioBefore or Background
After Each ScenarioAfter

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 actionCodeceptJS command
-_locate
-_locateCheckable
-_locateClickable
-_locateFields
accept + ( alert OR confirm OR popup OR prompt )acceptPopup ✓
amOnamOnPage ✓
appendappendField ✓
attachFileattachFile ✓
cancel + ( alert OR confirm OR popup OR prompt )cancelPopup ✓
checkcheckOption ✓
clear + cookieclearCookie ✓
clearclearField ✓
clickclick ✓
close + appcloseApp ✓ (Appium only)
close + currentTabcloseCurrentTab ✓
close + otherTabscloseOtherTabs ✓
connect + databaseN/A - supported via dbhelper
-defineTimeout
disconnect + databaseN/A - supported via dbhelper
not + seedontSee ✓
not + see + checkboxdontSeeCheckboxIsChecked ✓
not + see + cookiedontSeeCookie ✓
not + see + urldontSeeCurrentUrlEquals ✓
not + see + ( uielement OR uiliteral )dontSeeElement ✓
-dontSeeElementInDOM
not + see + ( inside OR with ) + urldontSeeInCurrentUrl ✓
not + see + ( textbox OR textarea )dontSeeInField ✓
-dontSeeInSource
not + see + titledontSeeInTitle ✓
doubleClickdoubleClick ✓
dragdragAndDrop ✓
-executeAsyncScript
-executeScript
fillfillField ✓
-grabAttributeFrom
-grabBrowserLogs
-grabCookie
-grabCssPropertyFrom
-grabCurrentUrl
-grabHTMLFrom
-grabNumberOfOpenTabs
-grabNumberOfVisibleElements
-grabPageScrollPosition
-grabPopupText
-grabSource
-grabTextFrom
-grabTitle
-grabValueFrom
hide + keyboardhideDeviceKeyboard ✓ (Appium only)
install + appinstallApp ✓ (Appium only)
-locator
maximize + windowresizeWindow( 'maximize' ) ✓
move + cursormoveCursorTo ✓
mouseOut-
mouseOver-
open + new tabopenNewTab
open + notificationsopenNotifications ✓ (Appium only)
presspressKey ✓
pull + filepullFile ✓ (Appium only)
refresh + currentPagerefreshPage ✓
refresh + url
remove + appremoveApp ✓ (Appium only)
resize + windowresizeWindow ✓
rightClickrightClick ✓
run + commandN/A - supported via cmdhelper
run + scriptN/A - supported via dbhelper
-runInWeb
-runOnAndroid
-runOnIOS
saveScreenshotsaveScreenshot ✓
-scrollTo
seesee ✓
see + app + installedseeAppIsInstalled ✓ (Appium only)
see + app + installed + notseeAppIsNotInstalled ✓ (Appium only)
-seeAttributesOnElements
see + checkboxseeCheckboxIsChecked ✓
see + cookieseeCookie ✓
-seeCssPropertiesOnElements
see + currentActivity + valueseeCurrentActivityIs ✓ (Appium only)
see + device + lockedseeDeviceIsLocked ✓ (Appium only)
see + device + unlockedseeDeviceIsUnlocked ✓ (Appium only)
see + ( with OR inside ) + urlseeCurrentUrlEquals ✓
see + ( uielement OR uiliteral )seeElement ✓
-seeElementInDOM
see + inside + urlseeInCurrentUrl ✓
see + ( textbox OR textarea )seeInField ✓
-seeInPopup
-seeInSource
see + titleseeInTitle ✓
-seeNumberOfElements
-seeNumberOfVisibleElements
see + orientation + landscapeseeOrientationIs("LANDSCAPE") ✓ (Appium only)
see + orientation + portraitseeOrientationIs("PORTRAIT") ✓ (Appium only)
-seeTextEquals
-seeTitleEquals
selectselectOption ✓
-setCookie
shakeshakeDevice ✓ (Appium only)
show-
swipe + valuesswipe ✓ (Appium only)
swipe + downswipeDown ✓ (Appium only)
swipe + leftswipeLeft ✓ (Appium only)
swipe + rightswipeRight ✓ (Appium only)
swipe + upswipeUp ✓ (Appium only)
swipe + targetsswipeTo ✓ (Appium only)
switch + nativeswitchToNative ✓ (Appium only)
switch + webswitchToWeb ✓ (Appium only)
switch + tab + numberswitchToNextTab ✓
switch + next + tabswitchToNextTab ✓
switch + previous + tabswitchToPreviousTab ✓
taptap ✓ (Appium only)
uncheckuncheckOption ✓
wait + numberwait ✓
-waitForDetached
wait + uielementwaitForElement ✓
wait + enabled + ( uielement OR uiliteral )waitForEnabled ✓
wait + invisible + ( uielement OR uiliteral )waitForInvisible ✓
wait + text + valuewaitForText ✓
wait + option value + valuewaitForValue ✓
wait + visible + ( uielement OR uiliteral )waitForVisible ✓
-waitInUrl
-waitNumberOfVisibleElements ✓
wait + hide + ( uielement OR uiliteral )waitToHide ✓
-waitUntil
wait + url + valuewaitUrlEquals ✓

See Also

License

AGPL © Thiago Delgado Pinto

GNU Affero General Public License version 3