Skip to content

Commit

Permalink
fix: Update canary with master (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
loweisz authored Jul 23, 2021
1 parent bd9684f commit 9c1c84d
Show file tree
Hide file tree
Showing 10 changed files with 1,294 additions and 2,612 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,13 @@
* more explicit space api types ([#711](https://github.com/contentful/ui-extensions-sdk/issues/711)) ([42d63de](https://github.com/contentful/ui-extensions-sdk/commit/42d63dea5fd9a313918a9591311d716c3374ac60))


# [3.39.0](https://github.com/contentful/ui-extensions-sdk/compare/v3.38.0...v3.39.0) (2021-07-20)


### Features

* Add typings and expose metadata methods ([#865](https://github.com/contentful/ui-extensions-sdk/issues/865)) ([b0bbaad](https://github.com/contentful/ui-extensions-sdk/commit/b0bbaad477114f7929d974b8bce8c3c03f05f4bf))

# [3.38.0](https://github.com/contentful/ui-extensions-sdk/compare/v3.37.0...v3.38.0) (2021-06-30)


Expand Down
12 changes: 8 additions & 4 deletions docs/run-integration-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

## Writing tests and running them locally

1. Create `.env` file at the root of the repository with the following variables:
1. Create a test environment in our testing space. This environment should be a copy of `test-base`.

Environments without the word `test` in their name are automatically deleted after two hours. So, choose a name like `<firstname>-test`.

2. Create `.env` file at the root of the repository with the following variables:

```bash
# Generate PAT token here: https://www.contentful.com/r/knowledgebase/personal-access-tokens/
Expand All @@ -19,7 +23,7 @@ TEST_LOCAL_SDK=true
CONTENTFUL_LOCAL_TESTING_ENV=<envinonment-name-that-you-will-use-for-testing>
```

2. Run the following commands
3. Run the following commands

```bash
# install all build dependencies
Expand All @@ -30,12 +34,12 @@ npm run build
npm run integration:local
```

3. Open Cypress in development mode
4. Open Cypress in development mode

```bash
npm run cypress:open
```

4. Edit cypress tests
5. Edit cypress tests

Edit exising tests or create a new one in `test/cypress/integration` folder.
Loading

0 comments on commit 9c1c84d

Please sign in to comment.