Skip to content

Commit

Permalink
Merge pull request #17 from SoftwareAG/fix/13-use-cumulocity-iot-temp…
Browse files Browse the repository at this point in the history
…late-guidelines

Readme update to follow cumulocity-iot-template guidelines
  • Loading branch information
thomaswinkler authored Nov 3, 2023
2 parents 1eba04f + 1b94d5d commit f544cc3
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 4 deletions.
40 changes: 37 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
# Cypress commands for Cumulocity

Collection of commands and utilities to be used for automating tests for Cumulocity with Cypress. Also use the repository to discuss questions and issues with Cypress tests for Cumulocity.
Collection of commands and utilities to be used for automating tests for [Cumulocity IoT](https://www.cumulocity.com) with [Cypress](https://www.cypress.io). Also use the repository to discuss questions and issues when testing your Cumulocity IoT applications with Cypress.

Contribute by raising pull requests. All commands must be documented and, if possible, tested using test suite in this repository.

# Commands
# Content

- [Cypress commands for Cumulocity](#cypress-commands-for-cumulocity)
- [Content](#content)
- [Overview of commands](#overview-of-commands)
- [Installation and setup](#installation-and-setup)
- [Additional frameworks](#additional-frameworks)
- [Concepts](#concepts)
- [Authentication and credentials](#authentication-and-credentials)
- [Authentication via getAuth and useAuth commands](#authentication-via-getauth-and-useauth-commands)
- [Authentication via test case annotations](#authentication-via-test-case-annotations)
- [Authentication via environment variables](#authentication-via-environment-variables)
- [Passing authentication to cy.request](#passing-authentication-to-cyrequest)
- [Chaining of commands](#chaining-of-commands)
- [c8y/client and Web SDK types](#c8yclient-and-web-sdk-types)
- [c8yclient command](#c8yclient-command)
- [Development](#development)
- [Debugging](#debugging)
- [Console log debugging](#console-log-debugging)
- [Debugging in Visual Studio Code](#debugging-in-visual-studio-code)
- [Testing](#testing)
- [Test access of DOM elements](#test-access-of-dom-elements)
- [Test requests](#test-requests)
- [Test interceptions](#test-interceptions)

# Overview of commands

Current set of commands include

Expand All @@ -19,7 +44,7 @@ Current set of commands include
- `c8yclient`
- `createUser` and `deleteUser`

# Install
# Installation and setup

There is different ways to install and use the Cumulocity commands in your repository. Simplest way is to add npm package dependency.

Expand Down Expand Up @@ -85,6 +110,7 @@ Other frameworks that might help improve efficiency, quality and reliability of
- [cypress-commands](https://github.com/Lakitna/cypress-commands)
- [cypress-map](https://github.com/bahmutov/cypress-map)
- [cypress-recurse](https://github.com/bahmutov/cypress-recurse)
- [cypress-file-upload](https://github.com/abramenal/cypress-file-upload)

# Concepts

Expand Down Expand Up @@ -453,3 +479,11 @@ cy.disableGainsight()
})
.wait("@interception");
```

-----------

These tools are provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.

For more information you can Ask a Question in the [TECH Community Forums](https://tech.forums.softwareag.com/tag/Cumulocity-IoT).

Contact us at [TECHcommunity](mailto:Communities@softwareag.com) if you have any questions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"cypress"
],
"author": "Thomas Winkler",
"license": "ISC",
"license": "Apache-2.0",
"dependencies": {
"@c8y/client": "^1015.0.295",
"date-fns": "^2.30.0",
Expand Down

0 comments on commit f544cc3

Please sign in to comment.