Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ alias:

# obsolete content
dashboard/overview/runs-dashboard.html: guides/dashboard/runs.html
guides/core-concepts/launching-browsers.html: guides/guides/launching-browsers.html


# Include/Exclude Files/Folders
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The code for Cypress Documentation including Guides, API, Examples, Dashboard & FAQ found at https://docs.cypress.io.

![Cypress Documentation Preview](https://user-images.githubusercontent.com/1271364/32280553-aa89695e-bef2-11e7-9cea-c2e99406eed0.png)
![Cypress Documentation Preview](https://user-images.githubusercontent.com/5605406/69174503-f6012680-0acf-11ea-933e-6fc2d3a5841c.png)

## CI status

Expand Down
5 changes: 5 additions & 0 deletions source/_data/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@
description: Ruby gem to run Cypress against Rails apps, replacing Capybara in system tests
link: https://github.com/testdouble/cypress-rails
keywords: [ruby, rails]

- name: cypress-laravel
description: Add commands and hooks to test Laravel applications
link: https://github.com/noeldemartin/cypress-laravel
keywords: [php, laravel]

- name: Component Testing
description: ⚠️ Loading and mounting components from various frameworks is highly experimental and might change in the future.
Expand Down
2 changes: 1 addition & 1 deletion source/api/commands/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Pass in an options object to change the default behavior of `cy.get()`.
| --------- | -------------------------------------------------------- | ---------------------------------- |
| `log` | `true` | {% usage_options log %} |
| `timeout` | {% url `defaultCommandTimeout` configuration#Timeouts %} | {% usage_options timeout cy.get %} |
| 'withinSubject' | null | {% usage_options withinSubject %} |
| `withinSubject` | null | {% usage_options withinSubject %} |

## Yields {% helper_icon yields %}

Expand Down
10 changes: 10 additions & 0 deletions source/faq/questions/dashboard-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ After recording your tests, you will see them in the {% url 'Dashboard' https://

Please see our {% url 'Pricing Page' https://www.cypress.io/pricing %} for more details.

## {% fa fa-angle-right %} What counts as a test recording?

Which {% url 'pricing tier' https://www.cypress.io/pricing %} is best for you depends on the number of test you record each month in your organization.

Tests are recorded when {% url "`cypress run`" command-line#cypress-run %} is called with the `--record` flag while supplying the record `--key`. This means your {% url "test run data" runs %} is being "recorded" to the Dashboard.

We consider each time the `it()` function is called to be a single test. So you will generally have several tests recorded within each spec file and likely several spec files within a single run.

You can always see how many tests you've recorded from your organization's {% url "Billing & Usage" organizations#Billing-amp-Usage %} page within the Dashboard.

## {% fa fa-angle-right %} What is the difference between public and private projects?

**A public project** means that anyone can see the recorded runs for it. It's similar to how public projects on Github, Travis, or Circle are handled. Anyone who knows your `projectId` will be able to see the recorded runs, screenshots, and videos for public projects.
Expand Down
4 changes: 2 additions & 2 deletions source/zh-cn/guides/overview/why-cypress.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Cypress可以测试任何在浏览器中运行的内容。
Cypress包含免费的, {% url "开源的" https://github.com/cypress-io/cypress %}, {% url "可本地安装的" installing-cypress %} Test Runner **和** 能够 {% url '记录你测试' dashboard-introduction%} 的控制面板服务.

- ***首先:*** Cypress可以让你每天在本地构建应用程序时很轻松的设置和开始编写测试代码。*TDD是最好的*
- ***然后:*** 在建立了一套测试代码和整合了CI来做 {% url "集成测试" continuous-integration %} 后, 我们的 {% url '控制面板服务' dashboard-introduction%} 可以记录你所执行的测试。 你永远不会想知道:*为什么这会失败?*
- ***然后:*** 在建立了一套测试代码和整合了CI来做 {% url "集成测试" continuous-integration %} 后, 我们的 {% url '控制面板服务' dashboard-introduction%} 可以记录你所执行的测试。 你再也不用为寻找测试失败原因而操心了!

# 我们的目标

Expand Down Expand Up @@ -88,6 +88,6 @@ Cypress的运行速度与浏览器的渲染速度一样的快。你可以在开

## {% fa fa-bug %} 调试测试

可读的错误消息能够帮助你快递调试程序。你还可以访问你熟悉和喜爱的所有开发者工具。
可读的错误消息能够帮助你快速调试程序。你还可以访问你熟悉和喜爱的所有开发者工具。

{% video local /img/snippets/debugging.mp4 %}