Skip to content

Commit 04e6cf1

Browse files
authored
Merge pull request LambdaTest#1616 from Manuraj-7/stage
updates in Modules Doc pr
2 parents f02e207 + 920ed31 commit 04e6cf1

File tree

5 files changed

+49
-27
lines changed

5 files changed

+49
-27
lines changed
53.2 KB
Loading
49.7 KB
Loading
-41.7 KB
Binary file not shown.

docs/create-modules.md

Lines changed: 39 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,49 +43,76 @@ slug: create-modules/
4343
***
4444
Tired of recreating the same test steps for repetitive testing flows? With Modules in LambdaTest Test Manager you can streamline your workflow by reusing pre-existing test steps across multiple test cases. This powerful feature enables you to encapsulate redundant testing flows into modular, reusable components, saving time and ensuring consistency across your projects.
4545

46-
Modules can be managed from the Modules central repository. For this walkthrough we will see how modules are managed from [Modules page](https://test-manager.lambdatest.com/module).
46+
## 1.1 Module Creation from existing Test Steps
4747

48-
## Create Module
48+
To export test steps as a module,
49+
- Navigate to the Test Steps page of your desired Test Case.
50+
- Select the test steps you wish to include in the module and click the `Create a module` button.
51+
52+
:::note
53+
Only **sequential** steps can be clubbed to create a module.
54+
:::
55+
56+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/select_manual_steps_to_create_module.png').default} alt="select-test-steps" className="doc_img"/>
57+
58+
- Clearly define your new module by entering a concise name and a detailed description. This will help you easily identify and understand its purpose later on.
59+
60+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/create_module_from_manual_teststeps.png').default} alt="create-modules-from-test-steps" className="doc_img"/>
61+
62+
## 1.2 Create Module from Modules section
4963

5064
### Step 1: Go to Modules page
5165

52-
You can create or duplicate modules directly from [Modules section](https://test-manager.lambdatest.com/module):
66+
- Click on `Modules` button in the navbar to go to the [Modules listing page](https://test-manager.lambdatest.com/module).
67+
- Click on `Create a Module`.
5368

54-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_listing_page.png').default} alt="automation-dashboard" className="doc_img"/>
69+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules-listing-page.png').default} alt="automation-dashboard" className="doc_img"/>
5570

5671
:::tip
5772
When you duplicate a module, its steps, description, and linked projects will also be duplicated.
5873
:::
5974

6075
### Step 2: Create New Module
6176

62-
Click on the `Create a Module` button. Then, define your module and outline the steps you want to include.
77+
- Click on the `Create a Module` button.
78+
- Define your module and outline the steps you want to include.
6379

6480
Don't worry if you don't have all the details now; you can always edit or add them later.
6581

82+
:::note
83+
You must provide **Module name** & create at **least one test step** to be able to create a new module.
84+
:::
85+
6686
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_creation_page.png').default} alt="modules-listing-page" className="doc_img"/>
6787

6888
:::note
69-
You must create at least one test step and provide a module name to create a new module.
89+
Keep in mind Modules can't be deleted but only updated after creation.
7090
:::
7191

72-
## Update Module
73-
Modules support both editing and versioning, but only specific fields trigger a new version update.
74-
75-
:::tip
92+
## 2. Update Module
93+
Modules support duplication, editing and versioning, but only specific fields trigger a new version update.
94+
- Add a step by clicking on `Add Step` or update a step through edit icon.
95+
- Click on `update` on top right to save changes.
96+
:::note
7697
Only **Test Step** or **Expected Outcome** updation will create a new version of the module.
7798
:::
7899

79100
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_page.png').default} alt="module-page" className="doc_img"/>
80101

81-
## Module Versions
102+
## 3. Module Versions
82103

83-
You can easily compare different versions of your module and revert to any previous version. Reverting to a previous version will create a new version in your module's history, ensuring a clear audit trail of all changes.
104+
### Revert to previous Version
105+
- Click on `revert` to revert your module to that version. Reverting to a previous version will create a new version in your module's history, ensuring a clear audit trail of all changes.
84106

85107
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_history.png').default} alt="modules-version-history" className="doc_img"/>
86108

109+
### Compare Versions
87110
Compare your version history side-by-side to easily identify differences and track changes between various iterations of your module.
88111

112+
- Click on `Compare` & select the version to compare with.
113+
114+
You will be redirected to the Version Comparision page where you can track changes:
115+
89116
<img loading="lazy" src={require('../assets/images/mobile-app-testing/modules_version_comparision.png').default} alt="modules-version-comparision" className="doc_img"/>
90117

91118
:::note

docs/modules-in-manual-testcases.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: modules-in-manual-testcases
33
title: Modules in Manual Testcases
44
hide_title: true
5-
sidebar_label: Link Modules With Manual Testcases
5+
sidebar_label: Importing Modules into Testcases
66
description: Guide for linking Modules with Manul Testcases in Test Manger.
77
keywords:
88
- module creation
@@ -39,32 +39,27 @@ slug: modules-in-manual-testcases/
3939
}}
4040
></script>
4141

42-
# Link Modules With Manual Test Cases
42+
# Importing modules into Test Steps
4343
***
44-
Here's how to link and manage modules within your manual test cases:
45-
46-
## 1. Module Creation from existing Test Steps
47-
To export test steps as a module, first navigate to the Test Steps page of your desired Test Case. Then, select the **sequential** test steps you wish to include in the module and click the `Create a module` button.
48-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/select_manual_steps_to_create_module.png').default} alt="select-test-steps" className="doc_img"/>
44+
45+
To incorporate existing modules into your test steps, simply click on the Modules Icon.
4946

50-
Clearly define your new module by entering a concise name and a detailed description. This will help you easily identify and understand its purpose later on.
47+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/module_button.png').default} alt="import-module" className="doc_img"/>
5148

52-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/create_module_from_manual_teststeps.png').default} alt="create-modules-from-test-steps" className="doc_img"/>
53-
54-
## 2. Import Module into Test Steps
55-
56-
To incorporate existing modules into your test steps, simply click on the Modules Icon. From there, you'll be able to select and import the specific module you need.
49+
From there, you'll be able to select and import the specific module you need.
5750

5851
:::note
5952
Keep in mind that only modules already linked with your project will be available for import.
6053
:::
6154

6255
<img loading="lazy" src={require('../assets/images/mobile-app-testing/import_module_in_manual_testcases.png').default} alt="import-module" className="doc_img"/>
6356

64-
Notice that imported modules will appear visually distinct from other individual steps within your test case, making them easy to identify. You also have the flexibility to edit or delete these modules directly from this view. However, be aware that making changes will create a new version of that module.
57+
Notice that imported modules will appear visually distinct from other individual steps within your test case, making them easy to identify.
58+
59+
You also have the flexibility to edit or delete these modules directly from this view. However, be aware that making changes will create a new version of that module.
6560

6661
:::note
6762
Please note that when a module is updated to a new version, its existing occurrences within your test cases will not be affected. They will remain linked to the previous version. To utilize the latest version of a module, you'll need to manually sync it by clicking the `Sync to latest` button. This allows you to review and confirm changes before they impact your test cases.
6863
:::
6964

70-
<img loading="lazy" src={require('../assets/images/mobile-app-testing/sync_module_version.png').default} alt="sync-module" className="doc_img"/>
65+
<img loading="lazy" src={require('../assets/images/mobile-app-testing/sync_module_version.png').default} alt="sync-module" className="doc_img"/>

0 commit comments

Comments
 (0)