diff --git a/_config.yml b/_config.yml index e26e470390..357ff74a16 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/readme.md b/readme.md index c9f75080ca..8cd00b4068 100644 --- a/readme.md +++ b/readme.md @@ -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 diff --git a/source/_data/plugins.yml b/source/_data/plugins.yml index 471da4933c..b58b53739c 100644 --- a/source/_data/plugins.yml +++ b/source/_data/plugins.yml @@ -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. diff --git a/source/api/commands/get.md b/source/api/commands/get.md index 0b74737da9..0069eab9c5 100644 --- a/source/api/commands/get.md +++ b/source/api/commands/get.md @@ -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 %} diff --git a/source/faq/questions/dashboard-faq.md b/source/faq/questions/dashboard-faq.md index 26883e78c5..21384974ff 100644 --- a/source/faq/questions/dashboard-faq.md +++ b/source/faq/questions/dashboard-faq.md @@ -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. diff --git a/source/zh-cn/guides/overview/why-cypress.md b/source/zh-cn/guides/overview/why-cypress.md index ca832702fc..076683a247 100644 --- a/source/zh-cn/guides/overview/why-cypress.md +++ b/source/zh-cn/guides/overview/why-cypress.md @@ -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%} 可以记录你所执行的测试。 你再也不用为寻找测试失败原因而操心了! # 我们的目标 @@ -88,6 +88,6 @@ Cypress的运行速度与浏览器的渲染速度一样的快。你可以在开 ## {% fa fa-bug %} 调试测试 -可读的错误消息能够帮助你快递调试程序。你还可以访问你熟悉和喜爱的所有开发者工具。 +可读的错误消息能够帮助你快速调试程序。你还可以访问你熟悉和喜爱的所有开发者工具。 {% video local /img/snippets/debugging.mp4 %}