Skip to content

Commit

Permalink
test: resolve cypress issues (ory#3531)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas authored Sep 25, 2023
1 parent bee0341 commit 4206d26
Show file tree
Hide file tree
Showing 9 changed files with 446 additions and 3,148 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ jobs:
skip-pkg-cache: true
- name: Build Kratos
run: make install
- name: Run documentation tests
run: make test-docs
- name: Run go-acc (tests)
run: make test-coverage
- name: Submit to Codecov
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@ format: .bin/goimports .bin/ory node_modules
docker:
DOCKER_BUILDKIT=1 DOCKER_CONTENT_TRUST=1 docker build -f .docker/Dockerfile-build --build-arg=COMMIT=$(VCS_REF) --build-arg=BUILD_DATE=$(BUILD_DATE) -t oryd/kratos:${IMAGE_TAG} .

# Runs the documentation tests
.PHONY: test-docs
test-docs: node_modules
npm run text-run

.PHONY: test-e2e
test-e2e: node_modules test-resetdb
source script/test-envs.sh
Expand Down
18 changes: 5 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ today!

Ory offers a support plan for Ory Network Hybrid, including Ory on private cloud
deployments. If you have a self-hosted solution and would like help, consider a
support plan!
The team at Ory has years of experience in cloud computing. Ory's offering is
the only official program for qualified support from the maintainers.
For more information see the **[website](https://www.ory.sh/support/)** or
support plan! The team at Ory has years of experience in cloud computing. Ory's
offering is the only official program for qualified support from the
maintainers. For more information see the
**[website](https://www.ory.sh/support/)** or
**[book a meeting](https://www.ory.sh/contact/)**!

### Quickstart
Expand Down Expand Up @@ -554,7 +554,7 @@ that your company deserves a spot here, reach out to
</picture>
</td>
<td><a href="https://pinniped.dev/">pinniped.dev</a></td>
</tr>
</tr>
<tr>
<td>Adopter *</td>
<td>Pvotal</td>
Expand Down Expand Up @@ -845,14 +845,6 @@ You can build a development Docker Image using:
make docker
</pre>

#### Documentation Tests

To prepare documentation tests, run `npm i` to install
[Text-Runner](https://github.com/kevgo/text-runner).

- test all documentation: <code type="make/command">make test-docs</code>
- test an individual file: <code type="npm/installed-executable">text-run</code>

#### Preview API documentation

- update the SDK including the OpenAPI specification:
Expand Down
Loading

0 comments on commit 4206d26

Please sign in to comment.