diff --git a/astro.config.mjs b/astro.config.mjs index eb34f4b0..2ee86390 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -508,6 +508,7 @@ export default defineConfig({ { label: 'Administration', link: '/management/company/administration' }, { label: 'Clone Project Settings', link: '/management/company/clone-project-settings' }, { label: 'Audit Log', link: '/management/company/audit-log' }, + { label: 'IP Restrictions', link: '/management/company/ip-restrictions' }, { label: 'Trials', link: '/management/company/trials' }, { label: 'Subscriptions', link: '/management/company/subscriptions' }, { label: 'Plan Features Comparison', link: '/management/company/plan-features-comparison' }, diff --git a/src/components/MarkdownContent.astro b/src/components/MarkdownContent.astro index 38ff9a0c..3e5bdb1e 100644 --- a/src/components/MarkdownContent.astro +++ b/src/components/MarkdownContent.astro @@ -1,5 +1,6 @@ --- import Default from '@astrojs/starlight/components/MarkdownContent.astro'; +import ImageZoom from 'starlight-image-zoom/components/ImageZoom.astro'; const KB = 'https://knowledge.testomat.io'; @@ -36,6 +37,7 @@ const match = categories.find(([prefix]) => id.startsWith(prefix)); const [, slug, topic] = match ?? []; --- + { diff --git a/src/content/docs/advanced/ai-powered-features/ai-requirements.md b/src/content/docs/advanced/ai-powered-features/ai-requirements.md index fb1f56e1..300ed52c 100644 --- a/src/content/docs/advanced/ai-powered-features/ai-requirements.md +++ b/src/content/docs/advanced/ai-powered-features/ai-requirements.md @@ -111,6 +111,25 @@ To unlink the requirement from the suite, follow Steps 1-3 and on **'Attached to ![Testomat.io - Unlink Requirements](./images/Unlink_Requirement_1.png) +## Convert a Linked Issue to a Requirement + +Turn a Jira issue that is linked to a suite into a requirement. You do not need to enter the issue again on the **Requirements** page. + +1. Open the suite. +2. Click **Set requirements**. +3. Open the **Linked issues** tab. +4. Click **Convert** next to the issue. + +![The Linked issues tab in Attach requirements to suite with the Convert button](./images/convert-jira-issue-to-requirement.png) + +Testomat.io creates the requirement and attaches it to the suite. You see it on the **Attached to suite** tab. From there, you can use AI to analyze the requirement and generate tests. + +:::note + +The **Linked issues** tab shows Jira issues only. + +::: + ## Jira as a Requirement Source Testomat.io not only allows you to start a new project with requirements but also to link requirements to an ongoing project at any time. diff --git a/src/content/docs/advanced/ai-powered-features/images/convert-jira-issue-to-requirement.png b/src/content/docs/advanced/ai-powered-features/images/convert-jira-issue-to-requirement.png new file mode 100644 index 00000000..e4a3a42b Binary files /dev/null and b/src/content/docs/advanced/ai-powered-features/images/convert-jira-issue-to-requirement.png differ diff --git a/src/content/docs/advanced/living-doc/images/enable-living-docs.png b/src/content/docs/advanced/living-doc/images/enable-living-docs.png new file mode 100644 index 00000000..50d6e50d Binary files /dev/null and b/src/content/docs/advanced/living-doc/images/enable-living-docs.png differ diff --git a/src/content/docs/advanced/living-doc/index.md b/src/content/docs/advanced/living-doc/index.md index 138e978b..efacd266 100644 --- a/src/content/docs/advanced/living-doc/index.md +++ b/src/content/docs/advanced/living-doc/index.md @@ -30,19 +30,41 @@ Easily include documentation in Confluence pages, sprint reports, or product spe - Make tests or suites publicly viewable, or embed internally for team access. Useful for partners, clients, or external QA vendors. -## Enable Living Documentation +## Share Living Documentation -Living Documentation can be enabled in Project Settings: +Share Living Documentation with people who do not have a Testomat.io account. You choose how long the link works, and you can protect it with a passcode. -1. Go to **Settings**. -2. Click on the **Project** tab. -3. Enable **Share Living Docs** toggle. -4. See the confirmation and generated link for **Living Documentation**. +Before you start, turn on **Living Documentation** in **Company Settings**. See [Share Options](https://docs.testomat.io/management/company/administration/#share-options). -![Enabling Living Docs](./images/enabling_living_docs.png) +1. Go to **Settings** and select **Project**. +2. In the **Sharing** section, turn on **Enable Shared Living Docs**. +3. In **Expiration Date**, select the last day of access. The default is 7 days from today. +4. Keep **Protect by passcode** selected to protect the link. +5. Click **Share**. +6. Copy the link and the passcode. The passcode shows only once. + +![The Share Living Docs window with Expiration Date and Protect by passcode](./images/enable-living-docs.png) + +Your docs are shared. The link and the expiration date show under the toggle in the **Sharing** section. + +### Open the Shared Docs + +Guests open the link and enter the 5-digit passcode. Project members open the docs without the passcode. The passcode also protects the suite, test, and embedded pages. + +### Stop Sharing + +Turn off **Enable Shared Living Docs**. The link stops working at once. + +When the expiration date passes, sharing turns off. To share again, turn on the toggle. Guests then need the new passcode. ## Embed Living Documentation +:::note + +Embedded docs stop working when the share expires. If the share has a passcode, readers of the embedded docs enter it too. + +::: + Living documentation can be embedded into your website, you have a possibility to: - Embed specific suite. diff --git a/src/content/docs/integrations/issues-management/images/linear/10-linear-resources.png b/src/content/docs/integrations/issues-management/images/linear/10-linear-resources.png new file mode 100644 index 00000000..5d2341a3 Binary files /dev/null and b/src/content/docs/integrations/issues-management/images/linear/10-linear-resources.png differ diff --git a/src/content/docs/integrations/issues-management/images/linear/11-attachment-from-testomat.png b/src/content/docs/integrations/issues-management/images/linear/11-attachment-from-testomat.png new file mode 100644 index 00000000..9d53eef8 Binary files /dev/null and b/src/content/docs/integrations/issues-management/images/linear/11-attachment-from-testomat.png differ diff --git a/src/content/docs/integrations/issues-management/images/linear/8-link-existing-issue.png b/src/content/docs/integrations/issues-management/images/linear/8-link-existing-issue.png index 44ea23f1..2d0ee758 100644 Binary files a/src/content/docs/integrations/issues-management/images/linear/8-link-existing-issue.png and b/src/content/docs/integrations/issues-management/images/linear/8-link-existing-issue.png differ diff --git a/src/content/docs/integrations/issues-management/linear.md b/src/content/docs/integrations/issues-management/linear.md index 71d1a7c5..26d53965 100644 --- a/src/content/docs/integrations/issues-management/linear.md +++ b/src/content/docs/integrations/issues-management/linear.md @@ -74,12 +74,18 @@ The lists show only the values of your connected team. If your team doesn't use ## Link an Existing Issue -1. Open a test, suite, or run, click the **⋯** button in the top-right corner, and select **Link to Issue**. -2. Open the **Link existing issue** tab. -3. Paste the Linear issue URL or its key, such as `QA-1`, into **Issue URL or ID**. -4. Click **Link Issue**. +1. Open a test, suite, or run. +2. Click the **⋯** button in the top-right corner and select **Link to Issue**. +3. Open the **Link existing issue** tab. +4. Paste the Linear issue URL or key, such as `QA-1`, into **Issue URL or ID**. +5. If the project has more than one Linear profile, select a profile in **Integration**. +6. Click **Link Issue**. + +![The Link existing issue tab with a Linear key and the Integration field](./images/linear/8-link-existing-issue.png) + +The **Integration** field shows only when two or more Linear profiles match the issue. Testomat.io links the issue with the profile you select. In Linear, the activity shows the user of that profile. -![The Link existing issue tab with a Linear key in the Issue URL or ID field](./images/linear/8-link-existing-issue.png) +If you do not select a profile, you see the message "Please select an integration for this issue". Select a profile and click **Link Issue** again. ## Raise a Defect @@ -88,7 +94,7 @@ The lists show only the values of your connected team. If your team doesn't use 3. Click **Show Optional Fields** to set Linear fields. 4. Create the defect. -To link a defect that already exists, open **Link existing defect** and paste the key. With **Tracker** set to **Detect automatically**, Testomat.io recognizes a Linear key on its own. +To link a defect that already exists, open **Link existing defect** and paste the key. With **Tracker** set to **Detect automatically**, Testomat.io recognizes a Linear key. If the project has more than one Linear profile, select a profile in **Integration**. ## Track Linear Defects @@ -100,12 +106,33 @@ To pull the latest changes from Linear right away, click the **⋯** button in t ## See Testomat.io Items in Linear -Every linked test, suite, run, plan, requirement, or defect appears on the Linear issue as an attachment, not a comment. The issue discussion stays clean, and your team opens the testing context in one click. +When you link a test, suite, run, or requirement to a Linear issue, Testomat.io adds it to the issue as an attachment. Testomat.io does not post a comment, so the discussion in the issue stays clean. + +Attachments show in the **Resources** section of the Linear issue. The title starts with the item type, such as `Suite:` or `Test:`. + +![A Suite attachment in the Resources section of a Linear issue](./images/linear/10-linear-resources.png) + +| Item | Title in Linear | Subtitle in Linear | +| --- | --- | --- | +| Test | `Test: ` | Last status, suite, labels, assignee, and last run time | +| Suite | `Suite: ` | — | +| Run | `Run: ` | Run status. Passed and failed runs also show test counts. | +| Requirement | `Requirement: ` | — | + +The status shows as `[PASSED]`, `[FAILED]`, or `[SKIPPED]`. A test with no runs shows no status. A run with no title shows as `Run: `. + +Click an attachment to see its details. To go back to the item, click **Open in Testomat**. + +![The details of a suite attachment in Linear with the description and the Open in Testomat button](./images/linear/11-attachment-from-testomat.png) + +Testomat.io updates the attachment when the test status changes. When you unlink the issue or delete the test, Testomat.io removes the attachment. ## Use Linear Issues as Requirements Add a Linear issue as a requirement to plan tests from it. Testomat.io imports the title and the description. See [Linear as a Requirement Source](https://docs.testomat.io/advanced/ai-powered-features/ai-requirements#linear-as-a-requirement-source). +Testomat.io also adds the requirement to the Linear issue as an attachment, together with the suites and tests linked to it. When you unlink or delete the requirement, Testomat.io removes these attachments. + Linear requirements refresh **once a day**. To pull the latest version right away, open the requirement, click the **⋯** menu, and select **Refresh Requirement**. ## Next Steps diff --git a/src/content/docs/management/company/administration.md b/src/content/docs/management/company/administration.md index d1ea05ec..aae315ee 100644 --- a/src/content/docs/management/company/administration.md +++ b/src/content/docs/management/company/administration.md @@ -78,12 +78,7 @@ Enables company users to create and share living documentation without requiring ![Living Documentation](images/att11_263.png) -2. Navigate to the general **'Settings'** tab in the sidebar -3. Click the **'Project'** tab -4. Enable **'Share Living Docs'** in the **'Sharing'** section -5. The link appears under the **'Share Living Docs'** button - -![Share Living Docs link](images/att5_263.png) +2. Share Living Docs from the project settings. See [Share Living Documentation](https://docs.testomat.io/advanced/living-doc/#share-living-documentation). - **Public Shared Report** diff --git a/src/content/docs/management/company/images/ip-restrictions/1-ip-restrictions-switch.png b/src/content/docs/management/company/images/ip-restrictions/1-ip-restrictions-switch.png new file mode 100644 index 00000000..8ee9968b Binary files /dev/null and b/src/content/docs/management/company/images/ip-restrictions/1-ip-restrictions-switch.png differ diff --git a/src/content/docs/management/company/ip-restrictions.md b/src/content/docs/management/company/ip-restrictions.md new file mode 100644 index 00000000..161aa25c --- /dev/null +++ b/src/content/docs/management/company/ip-restrictions.md @@ -0,0 +1,56 @@ +--- +title: IP Restrictions +description: Let people open your Testomat.io company and its projects only from the IP addresses you allow, such as your corporate VPN. +type: article +url: https://docs.testomat.io/management/company/ip-restrictions +head: + - tag: meta + attrs: + name: keywords + content: IP restrictions, allowed IP ranges, restrict access by IP, CIDR, VPN, company security, Enterprise, Testomat.io +--- + +Keep your company data inside your network. With IP restrictions, members open your company and its projects only from the IP addresses you allow, for example your corporate VPN. Members can still sign in from anywhere. + +:::note +IP Restrictions are available on the Enterprise plan. Only the company owner can change them. +::: + +## Set Allowed IP Ranges + +1. Click **Companies** in the header. +2. Click **Settings**. +3. Select **IP Restrictions** in the left menu. +4. Turn on **Enable restricting access by IP**. +5. In **Allowed IP ranges**, enter one IPv4 address or CIDR range on each line. +6. To limit the API too, select **Also restrict API tokens and test reporters**. +7. Click **Save**. + +![The IP Restrictions page with the toggle, Allowed IP ranges, and the API checkbox](./images/ip-restrictions/1-ip-restrictions-switch.png) + +Done. Members can now open your company only from the allowed ranges. The page shows your current IP address, so you can check it before you save. + +:::caution +Only IPv4 is supported. Members who connect over IPv6 are blocked. Make sure that your VPN is full tunnel and blocks IPv6. +::: + +The API option is off by default, because CI runners often use changing IP addresses. When you turn it on, your CI runners must connect from the allowed ranges. + +## Access from Other Addresses + +A member outside the allowed ranges can still sign in and open other companies. They cannot open your company or its projects. They see a message with their IP address and a hint to check the VPN. + +You can always open **Company Settings** from any address, so you cannot lock yourself out. + +## Turn Off IP Restrictions + +1. Select **IP Restrictions** in **Company Settings**. +2. Turn off **Enable restricting access by IP**. +3. Confirm the action. + +Everyone can open the company again. If you turn the restriction on again in the same browser, your ranges come back. Click **Save** to apply them. + +## Next Steps + +- [Administration](https://docs.testomat.io/management/company/administration) +- [Plan Features Comparison](https://docs.testomat.io/management/company/plan-features-comparison) diff --git a/src/content/docs/management/company/plan-features-comparison.md b/src/content/docs/management/company/plan-features-comparison.md index 4a87ff39..ea790a3a 100644 --- a/src/content/docs/management/company/plan-features-comparison.md +++ b/src/content/docs/management/company/plan-features-comparison.md @@ -219,6 +219,7 @@ Use the feature table below to explore specific capabilities in each area like t | Personal and project tokens | ✔️ | ✔️ | ✔️ | | 24/7 monitoring | ✖️ | ✔️ | ✔️ | | Single Sign-On (SSO) | ✖️ | ✖️ | ✔️ | +| IP restrictions | ✖️ | ✖️ | ✔️ | | SLA (Security Service Level Agreement) | ✖️ | ✖️ | ✔️ | | Self-hosted on-premise option | ✖️ | ✖️ | ✔️ | | Users auto-provisionning by domain | ✖️ | ✖️ | ✔️ | diff --git a/src/content/docs/project/analytics/images/13-1-issue-tracker-widget.png b/src/content/docs/project/analytics/images/13-1-issue-tracker-widget.png new file mode 100644 index 00000000..f2b453a9 Binary files /dev/null and b/src/content/docs/project/analytics/images/13-1-issue-tracker-widget.png differ diff --git a/src/content/docs/project/analytics/index.md b/src/content/docs/project/analytics/index.md index f4b374ad..adf41c9a 100644 --- a/src/content/docs/project/analytics/index.md +++ b/src/content/docs/project/analytics/index.md @@ -209,6 +209,19 @@ Visit the [Issues Management Systems](https://docs.testomat.io/integration/issue ![Testomat.io - Issues Board](./images/13-linked-items.png) +## Issue Trackers + +The **Issue Trackers** widget is a traceability matrix for trackers other than Jira, such as GitHub, GitLab, Linear, and Plane. It shows your linked issues and the tests that cover them. The **Jira** widget stays as it is. + +1. Go to **Analytics**. +2. Click the **Issue Trackers** widget. +3. Select a tracker tab. +4. Click an issue to see its linked tests. + +![The Issue Trackers widget on the Analytics dashboard](./images/13-1-issue-tracker-widget.png) + +The number on the widget shows how many issues are linked. The page shows one tracker at a time. + ## Defects Board The Defects report answers a question: which of your tests are blocked, and by what. Each row is a test case, with its defects nested underneath. Expand a test to see every defect holding it back, each with its severity, status, and a link to the tracker. Choose how defects reach a test with the data-source selector: diff --git a/src/content/docs/project/comments-notifications/comments.md b/src/content/docs/project/comments-notifications/comments.md index 28d56453..67b042bc 100644 --- a/src/content/docs/project/comments-notifications/comments.md +++ b/src/content/docs/project/comments-notifications/comments.md @@ -1,13 +1,13 @@ --- title: Comments -description: Comment on tests and suites in Testomat.io. This guide covers posting a comment, editing and deleting your own comments, and how comments behave when a suite is shared with another project. +description: Comment on tests, suites, and plans in Testomat.io. This guide covers posting a comment, editing and deleting your own comments, and how comments behave when a suite is shared with another project. type: article url: https://docs.testomat.io/project/comments-notifications/comments head: - tag: meta attrs: name: keywords - content: comments, comment on a test, comment on a suite, edit a comment, delete a comment, test case discussion, shared projects, collaboration, Testomat.io + content: comments, comment on a test, comment on a suite, comment on a plan, edit a comment, delete a comment, test case discussion, shared projects, collaboration, Testomat.io --- Comments are for your work convenience. Comments keep a discussion next to the test it is about. @@ -16,9 +16,9 @@ Everyone who opens the test later sees the context, and everyone already in the ![What comments give you: context, thread updates, editing, and project scope](./images/comments-mindmap.png) -## Comment on a test or suite +## Comment on a Test, Suite, or Plan -1. Open the test or the suite you want to discuss. +1. Open the test, the suite, or the plan you want to discuss. 2. Open the **Comments** tab. 3. Enter your comment. 4. Click **Comment**. @@ -50,6 +50,18 @@ Deleting a comment removes it from the thread for everyone. This cannot be undon ::: +## Comments in Test Plans + +Discuss a plan with your team right next to it. Plan comments work the same as comments on tests and suites: you can use Markdown and mention people with `@`. The plan header shows the number of comments. + +To close the comments panel, press **Esc** or click **X**. + +:::note + +Users with read-only access can read plan comments. They cannot add comments. + +::: + ## Comments in shared projects Comments are always project-specific. When a suite or test [is shared](https://docs.testomat.io/project/tests/sharing-tests-and-suites/#share-a-test-suite-or-folder) with another project, its comments are not transferred with the shared tests. diff --git a/src/content/docs/project/import-export/import/import-tests-from-cucumber.md b/src/content/docs/project/import-export/import/import-tests-from-cucumber.md index b7083958..29dcaf95 100644 --- a/src/content/docs/project/import-export/import/import-tests-from-cucumber.md +++ b/src/content/docs/project/import-export/import/import-tests-from-cucumber.md @@ -76,6 +76,12 @@ Refresh the page and you will see all the imported test files. ![Testomat.io - Test tree with automated tests](././images/New_zIxolwhp_2024-07-23.png) +:::note + +You can import feature files in any Gherkin language. Add the `# language:` line at the top of each file. See [Write Scenarios in Other Languages](https://docs.testomat.io/project/tests/bdd-test-case-editor/#write-scenarios-in-other-languages). + +::: + ## Import Manual BDD Tests from Source Code If you have manual tests in the repository and want to import them into Testomatio you can use `.manual.feature` extension in the feature file. Tests will be imported as well as automated tests and will be marked as `manual` in Testomatio. For instance: diff --git a/src/content/docs/project/plans/index.md b/src/content/docs/project/plans/index.md index 34594dbc..2c0de899 100644 --- a/src/content/docs/project/plans/index.md +++ b/src/content/docs/project/plans/index.md @@ -257,6 +257,10 @@ Filters allow you to dynamically **include or exclude tests in a plan** based on Efficient management of test plans is key to keeping your testing organized and transparent. In Testomat.io, you can group and organize plans using **Labels**, making it easy to filter, find, and manage multiple plans at once. +### Comment on Plans + +Discuss a plan with your team in its comments. See [Comments](https://docs.testomat.io/project/comments-notifications/comments). + ### Benefits of Using Labels for Plans By assigning labels to your plans, you can: diff --git a/src/content/docs/project/runs/images/add-tests-in-edit.png b/src/content/docs/project/runs/images/add-tests-in-edit.png new file mode 100644 index 00000000..ffc7ba95 Binary files /dev/null and b/src/content/docs/project/runs/images/add-tests-in-edit.png differ diff --git a/src/content/docs/project/runs/images/add-tests-window.png b/src/content/docs/project/runs/images/add-tests-window.png new file mode 100644 index 00000000..842fd360 Binary files /dev/null and b/src/content/docs/project/runs/images/add-tests-window.png differ diff --git a/src/content/docs/project/runs/images/combined-report-stats.png b/src/content/docs/project/runs/images/combined-report-stats.png new file mode 100644 index 00000000..657486dd Binary files /dev/null and b/src/content/docs/project/runs/images/combined-report-stats.png differ diff --git a/src/content/docs/project/runs/images/combined-report.png b/src/content/docs/project/runs/images/combined-report.png new file mode 100644 index 00000000..78cbdb52 Binary files /dev/null and b/src/content/docs/project/runs/images/combined-report.png differ diff --git a/src/content/docs/project/runs/images/edit-run-button.png b/src/content/docs/project/runs/images/edit-run-button.png new file mode 100644 index 00000000..6d291cb1 Binary files /dev/null and b/src/content/docs/project/runs/images/edit-run-button.png differ diff --git a/src/content/docs/project/runs/images/finish-pending-runs.png b/src/content/docs/project/runs/images/finish-pending-runs.png new file mode 100644 index 00000000..4d7dd1a3 Binary files /dev/null and b/src/content/docs/project/runs/images/finish-pending-runs.png differ diff --git a/src/content/docs/project/runs/images/relaunch-on-ci.png b/src/content/docs/project/runs/images/relaunch-on-ci.png new file mode 100644 index 00000000..31aa4a30 Binary files /dev/null and b/src/content/docs/project/runs/images/relaunch-on-ci.png differ diff --git a/src/content/docs/project/runs/images/select-ci-profile.png b/src/content/docs/project/runs/images/select-ci-profile.png new file mode 100644 index 00000000..7c17dc55 Binary files /dev/null and b/src/content/docs/project/runs/images/select-ci-profile.png differ diff --git a/src/content/docs/project/runs/managing-runs.md b/src/content/docs/project/runs/managing-runs.md index b6fa0ee0..c2deac7c 100644 --- a/src/content/docs/project/runs/managing-runs.md +++ b/src/content/docs/project/runs/managing-runs.md @@ -14,15 +14,10 @@ head: Testomat.io offers comprehensive features for managing test runs, catering to both manual and automated testing. Here's how to manage runs within the system: 1. **Update Test Runs:** Add new test cases directly from Test Run, **Relaunch** finished Test Runs to update tests statuses, or **Launch a copy**. Find more information in the sections below. - 2. **Filter Test Runs:** Filter runs and **share the filter parameters** with your teammates directly via URL. find more information added in the sections below. - 3. **Group Runs:** Organize your runs into **RunGroups** based on criteria like sprint, release, functional area, or any other logical grouping. Read more on the [RunGroups](https://docs.testomat.io/project/runs/rungroups) page. - 4. **Select a Merge Strategy:** Aggregate the results of the individual test runs within a RunGroup. Find more information on the [Merge Strategies](https://docs.testomat.io/project/runs/merge-strategies) page. - 5. **Archive Runs & RunGroups:** Maintain a clean and organized main board tailored to your ongoing testing priorities. Read how to archive Runs & RunGroups on the [Archive Runs & RunGroups](https://docs.testomat.io/project/runs/archive-runs-and-groups) page. - 6. **Share Run Reports:** Share test results with your teammates or stakeholders. You can find detail information about Reports on the [Run Reports](https://docs.testomat.io/project/runs/reports) page. ## How to Create a Test Case within a Run @@ -220,6 +215,26 @@ In the opened sidebar window, configure your relaunch (optional): ![The Advanced Relaunch window with Create new run, Keep values, and Keep assignees selected](./images/advanced-relaunch-keep-assignees.png) +### Relaunch on CI + +For an automated run, you can choose the CI to run the tests on. After you click **Relaunch**, the **Relaunch Run on CI** window opens. + +1. In **Select Profile**, select the CI profile. +2. Check the values in **Configuration**, such as the `ref` branch. +3. Click **Launch Run**. + +![The Relaunch Run on CI window with Select Profile and Configuration](./images/select-ci-profile.png) + +The CI starts the tests, and the results come back to the run. + +By default, **Select Profile** shows the profile of the original run. To see all values of the profile, click **See config values**. + +If the profile has no settings, you see the message "No settings for ". Check the profile in **Settings** → **Continuous integration**. + +To relaunch on the same CI without changes, open the **(⋯)** menu of the run and select **Relaunch Failed on CI** or **Relaunch All on CI**. See [Relaunch Failed Test Cases for Automated Runs](#relaunch-failed-test-cases-for-automated-runs). + +![The run ⋯ menu with Relaunch Failed on CI and Relaunch All on CI](./images/relaunch-on-ci.png) + ### Run Type Testomat.io defines the available run types from the tests you select. A relaunch always opens in a view that matches its content. diff --git a/src/content/docs/project/runs/reports.md b/src/content/docs/project/runs/reports.md index 43eebabf..91c56702 100644 --- a/src/content/docs/project/runs/reports.md +++ b/src/content/docs/project/runs/reports.md @@ -216,6 +216,26 @@ Testomat.io also allows you to export your test run results as a PDF report. Thi ![Testomat.io - export as PDF](./images/Export_7.png) +### Failed Tests Details + +The PDF report has a **Failed tests details** section. Share it with people outside Testomat.io, so they can see why each test failed. Each failed test shows these blocks, in the same order as the run report: + +| Block | What it shows | +| --- | --- | +| **Failure** | The failure message. | +| **Meta** | The meta data of the test. | +| **Stacktrace** | The first 10 and the last 10 lines. | +| **Steps** | The steps and their statuses. | +| **Artifacts** | The names of the attached files. | + +For a manual test, the report shows all preconditions and steps, and which of them are checked. The expected result of a step shows on its own line. + +:::note + +The PDF shows the file names of screenshots, not the images. Open the run in Testomat.io to see them. + +::: + **Use cases for PDF Reports:** - **Sharing results with stakeholders:** Quickly generate a portable summary of test outcomes for product owners, QA managers, or external partners who may not have access to the platform. diff --git a/src/content/docs/project/runs/rungroups.md b/src/content/docs/project/runs/rungroups.md index e7c28085..9ade1ae2 100644 --- a/src/content/docs/project/runs/rungroups.md +++ b/src/content/docs/project/runs/rungroups.md @@ -114,9 +114,10 @@ You can view RunGroup Report by clicking on its name. 2. Review **'RunGroup summary section'** with general information based on the selected [Merge Strategy](https://docs.testomat.io/project/runs/merge-strategies/). 3. View a list of test runs, their statuses with the number of Passed, Failed, Skipped tests, along with the run assignee and executed time. 4. Customize your RunGroup Report view (Read more in the [How to Customize Runs List View ](https://docs.testomat.io/project/runs/rungroups/#how-to-customize-runs-list-view) section below). -5. Check **'Combined Report'** (Read more in the [Combined Report for RunGroups](https://docs.testomat.io/project/runs/rungroups/#combined-report-for-rungroups) section below). +5. Open the [Combined Report](#combined-report-for-rungroups). 6. Add a new Manual Run to the selected RunGroup. 7. Generate a [Rungroup Statistic Report](https://docs.testomat.io/advanced/ai-powered-features/ai-powered-features/#rungroup-statistic-report)(AI-feature should be enabled on **'Company Settings'** page). +8. [Finish all pending runs](#finish-pending-runs) of the group. ![Testomat.io - RunGroup Report](./images/RunGroup_Report_1.png) @@ -187,39 +188,72 @@ The chart displays up to 50 of the latest test runs belonging to the group. If y ## Combined Report for RunGroups -Testomat.io provides a **'Combined Report'** feature for RunGroups. This report is designed to help you aggregate and analyze the results of all test runs within the RunGroup in a single view. +The **Combined Report** shows the results of all runs in a RunGroup on one page, including the runs in nested groups. Use it to see how a release went without opening each run. -You can open **'Combined Report'** for a RunGroup by clicking on **'Combined Report'** button from the RunGroup Report Basic View window. +1. Open the RunGroup. +2. Click **Combined Report** in the top-right corner. -![Testomat.io - Combined Report](./images/Combined_report.png) +![The RunGroup page with the Combined Report button](./images/combined-report.png) -The comparison of runs is based on the first (main) launch. The statuses counters on the left side are calculated based on the main run. +The report opens. The runs and their tests show on the left. The group statistics show on the right. -To change the main run, click the **'Compare To'** button. Note that the counters of loaded tests is above them. The final summary on the right side is calculated based on the loaded tests. +![The Combined Report with the runs and tests on the left and the group statistics on the right](./images/combined-report-stats.png) -![Testomat.io - Combined Report](./images/Combined_report_1.png) +### Runs and Tests -:::note +The **Rungroups, runs** list shows each run with its status, defects, assignee, and finish time. + +The **Tests** matrix shows each test in a row and each run in a column. The column number matches the run in the list above. A dash means that the test is not in that run. + +- Use the pager above the matrix to move between pages of 10 runs. +- Scroll down to load more tests. +- Click a result to open the test report. + +### Group Statistics + +The group status follows the [merge strategy](https://docs.testomat.io/project/runs/merge-strategies/) of the RunGroup. For example, "Failed based on 3 runs with realistic strategy". -The **'Combined Report'** feature for RunGroups does **not** combine test results of all runs inside one RunGroup into a single report. It only allows you **to compare** test results of all runs within this RunGroup. +| Tile | What it shows | +| --- | --- | +| **Pass rate** | The percentage of passed tests. | +| Runs | The number of runs by type, such as `3 manual`. | +| **Wall-clock** | The time from the first run start to the last run finish, and the total time of all runs. | +| **Total tests** | The number of unique tests, and how many times they ran. | +| **Tests in all runs** | Tests that are in every run of the group. | +| **Passed in all runs** | Tests that passed in all runs where they ran. | +| **Failed in all runs** | Tests that failed in all runs where they ran. | +| **Skipped in all runs** | Tests that were skipped in all runs where they ran. | +| **Flaky** | Tests that passed in some runs and failed in others. | +| **Reviewed** | Tests that failed before and passed in a later run. | +| **Degraded** | Tests that passed before and failed in a later run. | +To compare runs side by side, click **Compare Runs** in the top-right corner. See [Compare Test Runs](https://docs.testomat.io/project/runs/reports/#compare-test-runs). + +:::note +The report includes up to 100 runs. The **Combined Report** button becomes available when at least one run on the first level of the group is finished. ::: -Inside the **'Combined Report'**, you can get a quick overview of the pass/fail rates for all tests within the Group. You can also see the total number of tests present in all compared runs, as well as the total number of flaky (unstable tests that passed or failed in different runs), reviewed (previously failing that passed in next runs), and degraded (previously passed that failed in next runs) tests. +## Finish Pending Runs -Additionally, you can use filters and search features to view the data most relevant to your needs. +Close all unfinished runs of a RunGroup in one action. You do not need to open and finish each run. -![Testomat.io - Combined Report](./images/Combined_report_2.gif) +1. Open the RunGroup. +2. Click the **⋯** button in the top-right corner. +3. Select **Finish Pending Runs**. +4. Check the number of runs in the confirmation. +5. Click **Finish runs**. -**Key benefits:** +![The RunGroup ⋯ menu with Finish Pending Runs](./images/finish-pending-runs.png) -- **Analyze Trends:** By seeing the results from multiple runs in one place, you can identify trends in test performance and stability over time. +Done. You see the message "N run(s) finished", and the list of runs updates. -- **Consolidate Data:** The combined report is especially useful for "mixed runs" (runs that include both manual and automated tests), as it consolidates all results into a single, cohesive report. +The action finishes manual runs in progress, paused runs, scheduled runs that did not start, relaunched runs, and automated and mixed runs. It includes the runs in nested groups. If you start it from a subgroup, it finishes only that subgroup and its nested groups. -- **Compare Runs:** Testomat.io also has a separate **'Compare Test Runs'** feature that can be used within a RunGroup. This allows you to side-by-side compare the results of different runs to pinpoint changes, regressions, or improvements. (Go to [Compare Test Runs](https://docs.testomat.io/project/runs/reports/#compare-test-runs) section on **'Run reports'** page to read more about this feature.) +:::note +Tests without a result become **Skipped**. Passed and failed results stay as they are. +::: -This feature is a powerful tool for project managers, QA leads, and stakeholders who need to make informed decisions based on a holistic view of testing activities, without having to manually compile data from individual reports. +If the group has no pending runs, you see the message "There are no pending runs in this group". Nothing changes. ## How to Copy RunGroup diff --git a/src/content/docs/project/runs/running-tests-manually.md b/src/content/docs/project/runs/running-tests-manually.md index 318acf72..d576f84e 100644 --- a/src/content/docs/project/runs/running-tests-manually.md +++ b/src/content/docs/project/runs/running-tests-manually.md @@ -410,7 +410,7 @@ This setting applies to all new run types — manual, automated, and mixed. :::note - If you relaunch an existing run as a copy and the original run belongs to a RunGroup, the copy is placed in the same group. No manual selection is needed. +If you relaunch an existing run as a copy and the original run belongs to a RunGroup, the copy is placed in the same group. No manual selection is needed. ::: @@ -482,48 +482,51 @@ Automated tests can be run manually in two ways: ![Running Automated Tests from the Runs Page](./images/gif2_7641.gif) -## How to Make Changes in a Launched Run +Found a new case during testing? Add it to the run that is already in progress. You do not need to stop testing. -During testing, you might encounter new scenarios that need to be added immediately. Testomat.io allows you to easily add tests to a run that’s already started. This way, you can cover unexpected cases without stopping your ongoing testing process. +1. Go to **Runs**. +2. Open the unfinished run. +3. Click **Edit** in the top-right corner. -This ensures flexibility, smooth testing workflow, and that no important scenarios are missed. +![The Edit button on an unfinished manual run](./images/edit-run-button.png) -1. Go to the **Runs** page -2. Open the unfinished run you want to edit -3. Click the **Edit** button (or open the '...' menu and select **Edit**) - -![Edit button](./images/att3_7641.png) +The **Edit manual run** page opens. The run ID shows next to the title. Click the copy icon to copy it. -Once the **Edit manual run** view is opened, here’s what you can do: +| Field or button | What you can do | +| --- | --- | +| **Assign to** | Add or remove the users of the run. Use **Assign tests manually**, **Select All**, or **Remove assign users**. | +| **Title** | Change the run title. | +| **Environment** | Set the environment for the run. | +| **Description** | Change the run description. | +| **details** | See where the tests of the run come from. | +| **All tests in run** | See all tests in the run. | +| **New added tests** | See the tests you add in this edit. | +| **+ Add from plan** | Add the tests of a plan. | +| **+ Add tests** | Add tests from the test tree. | -- **Assign to** - Remove existing users or assign more to the run -- **Title** - Enter or change the run title -- **Environment** - Add or remove testing environments -- **Description** - Add or update the run description -- **details** link - Check configuration details of the run -- **Current tests** – Shows all tests currently included in the run. Remove unnecessary tests by clicking the **trash** icon -- **+ Tests** – Similar to the [Select tests](https://docs.testomat.io/project/runs/running-tests-manually/#how-to-configure-a-manual-run) tab in a new manual run. You can browse the test tree, use search or filters, or expand suites to select manual tests to add to this run -- **+ Plans** – Select tests from existing test plans. You can include one or multiple plans in the current run +### Add Tests to the Run -:::note +1. On the **Edit manual run** page, click **+ Add tests**. +2. Find the tests with the filters on the left or with **Search**. +3. Select the tests or suites to add. +4. Click **Add tests**. +5. Click **Save**. -You can add tests from plans and additional tests at the same time. For example: select one or more plans, then select specific suites or individual tests — everything will be added to the run instantly. +![The Edit manual run page with the Add tests button](./images/add-tests-in-edit.png) -::: +![The Add tests to run window with filters and tests marked Already in run](./images/add-tests-window.png) -![Edit existing run](./images/gif1-7865.gif) +That's it. The new tests show on the **New added tests** tab, and you can start testing them. Next to each suite, a counter such as `5 / 6 tests` shows how many of its tests are in the run. -### Adding Tests to an Existing Run +In the **Add tests to run** window, tests that are already in the run show at the top with the **Already in run** label. You cannot select them twice, so the run has no duplicates. -You can add the new tests to the run. When you add the new tests the old tests are marked with the **checkmark**. Also you can see how many tests are new and how many were added to the run - it is shown in the cointer. +| Option | What it does | +| --- | --- | +| **Filters** | Find tests by **States**, **Labels**, **Custom Fields**, **Tags**, **Priority**, **Assigned to**, or **Milestone**. | +| **Run Automated as Manual** | Add automated tests and run them by hand. | +| List and tree icons | Show the tests as a list with **Suites** and **Tests** columns, or as a tree. | -- A **checkmark** next to a test means the test is in the run. -- A **counter** next to a suite, like `10 of 12 in run`, tells you how many tests from that suite is included. -- The suite tree can focus on suites that already contain tests from the run. - -![Adding tests to a run](./images/17-edit-manual-run.png) - -You can also assign individual tests directly from the editor. The test list and the responsibilities are updated in one place. +The **Add tests** button becomes active after you select at least one test. You can add tests from a plan and single tests in the same edit. ## Pause a manual run @@ -554,30 +557,15 @@ You can change the status of a single result in a run that has already finished, The run updates right away. The change is recorded, not applied quietly - each edit keeps its new status, your message, and who made it, so the run shows both where it landed and how it got there. The change broadcasts live to everyone watching the project, and any linked Jira issue re-syncs in the background. -## How to Remove and Re-add a Test in a Run - -Removing a test does not delete it. You can remove a test from a running test run and bring it back later. Testomat.io marks the test as excluded and keeps it in the run configuration. - -### How to Return a Test to the Run - -If you remove a test and then add the same test again, the run holds two statuses at once, excluded and included. The excluded status has higher priority, so the test stays out of the run's test list, even though Testomat.io confirms it was added. - -If you only removed the test: - -1. Open the run and go to configuration **details**. -2. Find the removed test and cancel the deletion. -3. The test returns to the run. - -![Test configuration details](./images/574-test-config.png) - -If you removed the test and then added it again, it now shows both a removed and an added status: +## Remove and Return a Test -1. Open configuration **details** and find the test. -2. Click the `x` next to the removed status to clear the exclusion. +Removing a test from a run does not delete the test from the project. -The added status then takes effect, and the test appears in the run. +1. Open the **Edit manual run** page. +2. On **All tests in run**, click **×** next to the test or suite. +3. Click **Save**. -![Removing a deleted test from test configuration](./images/574-remove-from-test-config.png) +Changed your mind? Add the test again with **+ Add tests**, then click **Save**. The test is back in the run. ## How to Adjust Test Case Description Block diff --git a/src/content/docs/project/tests/bdd-test-case-editor.md b/src/content/docs/project/tests/bdd-test-case-editor.md index 10c26477..8b5c6ad7 100644 --- a/src/content/docs/project/tests/bdd-test-case-editor.md +++ b/src/content/docs/project/tests/bdd-test-case-editor.md @@ -61,6 +61,35 @@ You can keep an unfinished scenario as a draft. See [Drafts for unfinished scena ![Syntax error message example in the Gherkin test](./images/bdd-projects/2-gherkin-syntax-error.png) +### Write Scenarios in Other Languages + +Write your scenarios in the language your team speaks. Testomat.io supports all 80 Gherkin languages. Set the language in the feature file: + +1. Create a suite or open it in the [Feature File Editor](#feature-file-editor). +2. Add the `# language:` line with the language code as the first line: + +```gherkin +# language: fr +Fonctionnalité: Connexion + + Scénario: Connexion réussie + Soit l'utilisateur est sur la page de connexion + Quand il saisit des identifiants valides + Alors il voit le tableau de bord +``` + +Testomat.io highlights the keywords and saves the steps. Your text stays in your language. + +A suite has one language. All scenarios in the suite use it. Without the `# language:` line, Testomat.io finds the language from the first keyword, such as `Fonctionnalité:`. + +![A French feature file in the suite editor with the language line first](./images/bdd-projects/6-gherkin-francais.png) + +:::note + +The `Rule` keyword is not supported yet in any language. + +::: + ## Reuse Shared Steps The same steps, such as `Given I am on the login page`, can be reused: diff --git a/src/content/docs/project/tests/images/bdd-projects/6-gherkin-francais.png b/src/content/docs/project/tests/images/bdd-projects/6-gherkin-francais.png new file mode 100644 index 00000000..256c6e06 Binary files /dev/null and b/src/content/docs/project/tests/images/bdd-projects/6-gherkin-francais.png differ