Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thiagodp/concordialang-codeceptjs-core
🔌 Concordia Compiler Plug-in Core for CodeceptJS
https://github.com/thiagodp/concordialang-codeceptjs-core
android app codecept codeceptjs concordia concordia-lang concordialang core e2e functional ios plug-in plugin test testing web windows
Last synced: about 2 months ago
JSON representation
🔌 Concordia Compiler Plug-in Core for CodeceptJS
- Host: GitHub
- URL: https://github.com/thiagodp/concordialang-codeceptjs-core
- Owner: thiagodp
- License: lgpl-3.0
- Created: 2019-06-13T21:54:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-22T14:32:27.000Z (over 2 years ago)
- Last Synced: 2024-09-18T10:14:57.348Z (3 months ago)
- Topics: android, app, codecept, codeceptjs, concordia, concordia-lang, concordialang, core, e2e, functional, ios, plug-in, plugin, test, testing, web, windows
- Language: TypeScript
- Homepage:
- Size: 1.37 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://img.shields.io/github/workflow/status/thiagodp/concordialang-codeceptjs-core/Test?style=for-the-badge)](https://github.com/thiagodp/concordialang-codeceptjs-core/actions)
[![npm version](https://img.shields.io/npm/v/concordialang-codeceptjs-core.svg?style=for-the-badge&color=green&label=NPM)](https://badge.fury.io/js/concordialang-codeceptjs-core)
[![GitHub last commit](https://img.shields.io/github/last-commit/thiagodp/concordialang-codeceptjs-core.svg?style=for-the-badge)](https://github.com/thiagodp/concordialang-codeceptjs-core/releases)# concordialang-codeceptjs-core
> Core modules of a Concordia Compiler plug-in for CodeceptJS
## [What's New](https://github.com/thiagodp/concordialang-codeceptjs-core/releases)
## Installation
```bash
npm i concordialang-codeceptjs-core
```
## Related- [concordialang-codeceptjs-playwright](https://github.com/thiagodp/concordialang-codeceptjs-playwright)
- [concordialang-codeceptjs-testcafe](https://github.com/thiagodp/concordialang-codeceptjs-testcafe)
- [concordialang-codeceptjs-webdriverio](https://github.com/thiagodp/concordialang-codeceptjs-webdriverio)
- [concordialang-codeceptjs-appium](https://github.com/thiagodp/concordialang-codeceptjs-appium)## Compatibility with Concordia Compiler
- Version `1.x` is compatible with **[Concordia Compiler](https://concordialang.org) `2.x`**
- Version `0.x` is compatible with **[Concordia Compiler](https://concordialang.org) `1.x`**## Integration with CodeceptJS
#### Test Events
| Concordia declaration | CodeceptJS support (method/other) |
| ---------------------- | ----------------------------------------------------------------- |
| `Before All` | Manually, through hooks. See [hooks](https://codecept.io/hooks/). |
| `After All` | Manually, through hooks. See [hooks](https://codecept.io/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](https://github.com/thiagodp/concordialang/). **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](https://github.com/thiagodp/codeceptjs-dbhelper) |
| - | defineTimeout |
| disconnect + database | N/A - supported via [dbhelper](https://github.com/thiagodp/codeceptjs-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](https://github.com/thiagodp/codeceptjs-cmdhelper) |
| run + script | N/A - supported via [dbhelper](https://github.com/thiagodp/codeceptjs-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](https://www.gnu.org/graphics/agplv3-88x31.png) © [Thiago Delgado Pinto](https://github.com/thiagodp)
[GNU Affero General Public License version 3](LICENSE.txt)